summaryrefslogtreecommitdiffstats
path: root/src/translator.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-06-13 12:54:25 (GMT)
committerGitHub <noreply@github.com>2020-06-13 12:54:25 (GMT)
commite7637f9dd977e9821394e7bed4dec02aec41ab9e (patch)
treeec82dd17918d8b27cba803c62e7eaed6f836127d /src/translator.h
parent4aabbf52e57692ebea122f50c8e8a75832db7f86 (diff)
downloadDoxygen-e7637f9dd977e9821394e7bed4dec02aec41ab9e.zip
Doxygen-e7637f9dd977e9821394e7bed4dec02aec41ab9e.tar.gz
Doxygen-e7637f9dd977e9821394e7bed4dec02aec41ab9e.tar.bz2
Number of translatable terms (like Chapter) are in English instead of Greek (#7841)
* Number of translatable terms (like Chapter) are in English instead of Greek When running tests in Greek OUTPUT_LANGUAGE mode for LaTeX a number of terms like Chapter were still in English instead of Greek. Some used references: https://tex.stackexchange.com/questions/548584/ascii-text-set-in-greek-script-when-using-usepackagegreekbabel https://tex.stackexchange.com/questions/548761/missing-characters-in-output-due-to-renewcommand-familydefault-sfdefault https://tex.stackexchange.com/questions/58624/variables-for-hiding-or-showing-text-in-latex * Number of translatable terms (like Chapter) are in English instead of Greek - adding the possibilities for mono spaced font (for code parts) - creating a more flexible way to change fonts for different languages See also discussion at https://tex.stackexchange.com/questions/548901/missing-characters-in-greek-output-due-to-ttfamily
Diffstat (limited to 'src/translator.h')
-rw-r--r--src/translator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/translator.h b/src/translator.h
index 188b775..991e637 100644
--- a/src/translator.h
+++ b/src/translator.h
@@ -50,6 +50,11 @@ class Translator
* can be returned.
*/
virtual QCString latexFontenc() { return "T1"; }
+ virtual QCString latexFont() {
+ return "\\usepackage[scaled=.90]{helvet}\n"
+ "\\usepackage{courier}\n"
+ "\\renewcommand{\\familydefault}{\\sfdefault}\n";
+ }
/*!
* Sets the commands to be inserted directly after the `\\begin{document}`
* in the LaTeX document.