summaryrefslogtreecommitdiff
path: root/src/generators/latex/text_g.cpp
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@fastmail.net>2010-12-05 23:13:29 +0100
committerGrégoire Duchêne <gduchene@fastmail.net>2010-12-05 23:13:29 +0100
commit1c52895b126efe2e0b715608978a76a779d4ecf9 (patch)
tree96c0fa06639e9a68c75b6c30ed5639ad1d5ddd7b /src/generators/latex/text_g.cpp
parentf7d1468cc0fe4237b702252f9bbaae5ba61b6bfd (diff)
Inline math text support added.
Diffstat (limited to 'src/generators/latex/text_g.cpp')
-rw-r--r--src/generators/latex/text_g.cpp3
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_;
}