diff options
| author | Grégoire Duchêne <gduchene@fastmail.net> | 2010-12-05 23:13:29 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@fastmail.net> | 2010-12-05 23:13:29 +0100 |
| commit | 1c52895b126efe2e0b715608978a76a779d4ecf9 (patch) | |
| tree | 96c0fa06639e9a68c75b6c30ed5639ad1d5ddd7b /src/generators/latex | |
| parent | f7d1468cc0fe4237b702252f9bbaae5ba61b6bfd (diff) | |
Inline math text support added.
Diffstat (limited to 'src/generators/latex')
| -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 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_; } |
