summaryrefslogtreecommitdiffstats
path: root/src/translator_jp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_jp.h')
-rw-r--r--src/translator_jp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/translator_jp.h b/src/translator_jp.h
index c4f92c2..43c5dc2 100644
--- a/src/translator_jp.h
+++ b/src/translator_jp.h
@@ -77,8 +77,20 @@ class TranslatorJapanese : public Translator
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";
+ }
/*! used in the compound documentation before a list of related functions. */
virtual QCString trRelatedFunctions()