From 52abe044a7b6b8be364f91be4ab52d4972431163 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Mon, 6 Dec 2010 08:04:58 +0100 Subject: Superscript text support added. --- src/generators/latex/text_g.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/generators/latex/text_g.cpp') 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_; } -- cgit v1.2.3-70-g09d2