From 8b189b14c897058dd9ef4d67f42c04d23bdee84f Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sun, 5 Dec 2010 23:18:16 +0100 Subject: 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. --- src/generators/latex/text_g.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/generators') 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_ << '$'; -- cgit v1.2.3-70-g09d2