summaryrefslogtreecommitdiff
path: root/src/generators/latex/text_g.cpp
diff options
context:
space:
mode:
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_;
}