summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@fastmail.net>2010-12-05 23:18:16 +0100
committerGrégoire Duchêne <gduchene@fastmail.net>2010-12-05 23:18:16 +0100
commit8b189b14c897058dd9ef4d67f42c04d23bdee84f (patch)
tree9ffabb8e6628ccdb9877ba86819e8bb62555636f
parent1c52895b126efe2e0b715608978a76a779d4ecf9 (diff)
latex::text_g generator rendering error fixed.
Alternate and strong alternate styles are usually rendered in LaTeX using the italic style. Therefore, using the typewriter style was wrong.
-rw-r--r--src/generators/latex/text_g.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generators/latex/text_g.cpp b/src/generators/latex/text_g.cpp
index 940e734..c7cc2a0 100644
--- a/src/generators/latex/text_g.cpp
+++ b/src/generators/latex/text_g.cpp
@@ -24,8 +24,8 @@ 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_(ALT) << L"\\texttt{" << +text_ << '}'
- | &uint_(SALT) << L"\\texttt{\\textbf{" << +text_ << L"}}"
+ | &uint_(ALT) << L"\\textit{" << +text_ << '}'
+ | &uint_(SALT) << L"\\textit{\\textbf{" << +text_ << L"}}"
| &uint_(CODE) << L"\\texttt{" << +text_ << '}'
| &uint_(MATH) << L"$" << +text_ << '$';