summaryrefslogtreecommitdiff
path: root/src/generators/latex
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@fastmail.net>2010-12-04 22:04:54 +0100
committerGrégoire Duchêne <gduchene@fastmail.net>2010-12-04 22:04:54 +0100
commit753d309d6b51ef2f3dc13f93dbc8942ce80df57a (patch)
treeb046684700fcaf40ce5558101f45436f1c9d0eba /src/generators/latex
parent7d8e1295ff6bd4a768a658690b850d58aba01b0b (diff)
Alternate style text support added.
Diffstat (limited to 'src/generators/latex')
-rw-r--r--src/generators/latex/text_g.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/generators/latex/text_g.cpp b/src/generators/latex/text_g.cpp
index aeaffc0..0cc64cb 100644
--- a/src/generators/latex/text_g.cpp
+++ b/src/generators/latex/text_g.cpp
@@ -23,7 +23,9 @@ latex::text_g::text_g() : text_g::base_type(text_) {
stext_ = &uint_(EMPH) << L"\\emph{" << +text_ << '}'
| &uint_(SEMPH) << L"\\textit{\\emph{" << +text_ << L"}}"
- | &uint_(VSEMPH) << L"\\texttt{\\textit{\\emph{" << +text_ << L"}}}";
+ | &uint_(VSEMPH) << L"\\texttt{\\textit{\\emph{" << +text_ << L"}}}"
+ | &uint_(ALT) << L"\\texttt{" << +text_ << '}'
+ | &uint_(SALT) << L"\\texttt{\\textbf{" << +text_ << L"}}";
ptext_ = +char_;
}