WIP: Small fix for polyglossia
This commit is contained in:
parent
b10845bf74
commit
1261ff9bf8
@ -180,13 +180,13 @@
|
|||||||
% PDFLaTeX fonts
|
% PDFLaTeX fonts
|
||||||
\else
|
\else
|
||||||
% \setmainfont{CMU-Serif-Roman.ttf}[%
|
% \setmainfont{CMU-Serif-Roman.ttf}[%
|
||||||
% Path=cmu/,
|
% Path=./cmu/,
|
||||||
% ItalicFont = CMU-Serif-Italic.ttf,
|
% ItalicFont = CMU-Serif-Italic.ttf,
|
||||||
% BoldFont = CMU-Serif-Bold.ttf,
|
% BoldFont = CMU-Serif-Bold.ttf,
|
||||||
% BoldItalicFont= CMU-Serif-BoldItalic.ttf
|
% BoldItalicFont= CMU-Serif-BoldItalic.ttf
|
||||||
% ]
|
% ]
|
||||||
% \setsansfont{CMU-Sans-Medium.ttf}[%
|
% \setsansfont{CMU-Sans-Medium.ttf}[%
|
||||||
% Path=cmu/,
|
% Path=./cmu/,
|
||||||
% ItalicFont = CMU-Sans-Oblique.ttf,
|
% ItalicFont = CMU-Sans-Oblique.ttf,
|
||||||
% BoldFont = CMU-Sans-Bold.ttf,
|
% BoldFont = CMU-Sans-Bold.ttf,
|
||||||
% BoldItalicFont= CMU-Sans-BoldOblique.ttf
|
% BoldItalicFont= CMU-Sans-BoldOblique.ttf
|
||||||
@ -198,14 +198,16 @@
|
|||||||
% % BoldItalicFont= CMU-Concrete-BoldItalic.ttf
|
% % BoldItalicFont= CMU-Concrete-BoldItalic.ttf
|
||||||
% %]
|
% %]
|
||||||
% \setmonofont{CMU-Typewriter-Regular.ttf}[%
|
% \setmonofont{CMU-Typewriter-Regular.ttf}[%
|
||||||
% Path=cmu/,
|
% Path=./cmu/,
|
||||||
% ItalicFont = CMU-Typewriter-Oblique.ttf,
|
% ItalicFont = CMU-Typewriter-Oblique.ttf,
|
||||||
% BoldFont = CMU-Typewriter-Bold.ttf,
|
% BoldFont = CMU-Typewriter-Bold.ttf,
|
||||||
% BoldItalicFont= CMU-Typewriter-Oblique.ttf
|
% BoldItalicFont= CMU-Typewriter-Oblique.ttf
|
||||||
% ]
|
% ]
|
||||||
\typeout{[DEBUG] set fonts}
|
% \typeout{[DEBUG] set fonts}
|
||||||
\setmainfont{CMU Serif}
|
\setmainfont{CMU Serif}
|
||||||
\setsansfont{CMU Sans Serif}
|
\setsansfont{CMU Sans Serif}
|
||||||
|
\setmonofont{CMU Typewriter Text}
|
||||||
|
% \setmonofont{Courier New}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -294,10 +296,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
\AtBeginDocument{%
|
\AtBeginDocument{%
|
||||||
% % Language
|
|
||||||
% \authSetupLanguageEnv
|
|
||||||
% Fonts
|
% Fonts
|
||||||
\authSetupFontEnv
|
\authSetupFontEnv
|
||||||
|
% Language
|
||||||
|
\authSetupLanguageEnv % After fonts
|
||||||
|
|
||||||
% Page layout (check above for the geometry setup)
|
% Page layout (check above for the geometry setup)
|
||||||
\authSetPageLayout
|
\authSetPageLayout
|
||||||
|
|||||||
@ -12,8 +12,6 @@
|
|||||||
\authSetMainLanguage{greek}
|
\authSetMainLanguage{greek}
|
||||||
\authSetLanguages{english}
|
\authSetLanguages{english}
|
||||||
|
|
||||||
\authSetupLanguageEnv
|
|
||||||
|
|
||||||
\AuthorName{Όνομα Επίθετο}
|
\AuthorName{Όνομα Επίθετο}
|
||||||
\AuthorAEM{1234}
|
\AuthorAEM{1234}
|
||||||
\AuthorMail{xxx@ece.auth.gr}
|
\AuthorMail{xxx@ece.auth.gr}
|
||||||
@ -39,7 +37,7 @@
|
|||||||
\CurrentDate{\today}
|
\CurrentDate{\today}
|
||||||
|
|
||||||
|
|
||||||
\usepackage{lipsum}
|
%\usepackage{lipsum}
|
||||||
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
@ -48,10 +46,10 @@
|
|||||||
|
|
||||||
\section{Εισαγωγή}
|
\section{Εισαγωγή}
|
||||||
|
|
||||||
\lipsum[1]
|
%\lipsum[1]
|
||||||
|
|
||||||
\setEnglish
|
\setEnglish
|
||||||
\lipsum[1]
|
%\lipsum[1]
|
||||||
\setGreek
|
\setGreek
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|||||||
@ -54,4 +54,6 @@
|
|||||||
\lipsum[1]
|
\lipsum[1]
|
||||||
\setEnglish % Only for LaTex, dont use it in XeLaTeX
|
\setEnglish % Only for LaTex, dont use it in XeLaTeX
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user