diff options
| author | Grégoire Duchêne <gduchene@fastmail.net> | 2010-12-06 08:04:58 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@fastmail.net> | 2010-12-06 08:04:58 +0100 |
| commit | 52abe044a7b6b8be364f91be4ab52d4972431163 (patch) | |
| tree | 0162ea42d13efd495831ec28da93d57f1eda39b1 /src/generators | |
| parent | 8b189b14c897058dd9ef4d67f42c04d23bdee84f (diff) | |
Superscript text support added.
Diffstat (limited to 'src/generators')
| -rw-r--r-- | src/generators/latex/text_g.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generators/latex/text_g.cpp b/src/generators/latex/text_g.cpp index c7cc2a0..3a4d066 100644 --- a/src/generators/latex/text_g.cpp +++ b/src/generators/latex/text_g.cpp @@ -27,7 +27,8 @@ latex::text_g::text_g() : text_g::base_type(text_) { | &uint_(ALT) << L"\\textit{" << +text_ << '}' | &uint_(SALT) << L"\\textit{\\textbf{" << +text_ << L"}}" | &uint_(CODE) << L"\\texttt{" << +text_ << '}' - | &uint_(MATH) << L"$" << +text_ << '$'; + | &uint_(MATH) << L"$" << +text_ << '$' + | &uint_(SUPER) << L"^{" << +text_ << '}'; ptext_ = +char_; } |
