XeTeX ⇒ Greek letters in different font
-
- Posts: 132
- Joined: Wed Feb 11, 2009 11:38 pm
Greek letters in different font
(In XeLaTeX) I use a roman font which does not have greek letters. Can I fix it so that when I write something in Greek, I do not manually have to change font each time? This is especially desireable, because I think it would be preferable to use one single set of interpunction marks. I am currently using a simple \gr{} command, but even this is cumbersome. Thanks in advance!
NEW: TikZ book now 40% off at Amazon.com for a short time.
Greek letters in different font
There should be a function in the fontspec package that allows you to define fonts according to the language/script in use.
I'm going to read up on this so that I can provide you with more accurate information.
I'm going to read up on this so that I can provide you with more accurate information.
Greek letters in different font
You've got to use the Polyglossia package. Then write this code to your prologue:
Hope it'll help.
Code: Select all
\newfontfamily\greekfont[Script=Greek]{Type here your font}