summaryrefslogtreecommitdiffstats
path: root/src/translator_tw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_tw.h')
-rw-r--r--src/translator_tw.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/translator_tw.h b/src/translator_tw.h
index 77627bf..9e9092d 100644
--- a/src/translator_tw.h
+++ b/src/translator_tw.h
@@ -72,8 +72,20 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_15
*/
virtual QCString latexLanguageSupportCommand()
{
+ return "\\usepackage{CJKutf8}\n";
+ }
+ virtual QCString latexFontenc()
+ {
return "";
}
+ virtual QCString latexDocumentPre()
+ {
+ return "\\begin{CJK}{UTF8}{min}\n";
+ }
+ virtual QCString latexDocumentPost()
+ {
+ return "\\end{CJK}\n";
+ }
// --- Language translation methods -------------------