From 1c52895b126efe2e0b715608978a76a779d4ecf9 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sun, 5 Dec 2010 23:13:29 +0100 Subject: Inline math 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 93b1716..940e734 100644 --- a/src/generators/latex/text_g.cpp +++ b/src/generators/latex/text_g.cpp @@ -26,7 +26,8 @@ latex::text_g::text_g() : text_g::base_type(text_) { | &uint_(VSEMPH) << L"\\texttt{\\textit{\\emph{" << +text_ << L"}}}" | &uint_(ALT) << L"\\texttt{" << +text_ << '}' | &uint_(SALT) << L"\\texttt{\\textbf{" << +text_ << L"}}" - | &uint_(CODE) << L"\\texttt{" << +text_ << '}'; + | &uint_(CODE) << L"\\texttt{" << +text_ << '}' + | &uint_(MATH) << L"$" << +text_ << '$'; ptext_ = +char_; } -- cgit v1.2.3-70-g09d2