[OS X TeX] how to add Greek character
David Derbes
loki at uchicago.edu
Sun Oct 11 18:45:38 EDT 2015
Thanks, Michael!
I like this a lot. I was pretty sure someone knew the answer. No surprise it comes from you!
Best wishes,
David
On Oct 11, 2015, at 17:40, Michael Sharpe <msharpe at ucsd.edu> wrote:
>
>> On Oct 11, 2015, at 11:53 AM, David Derbes <loki at uchicago.edu> wrote:
>>
>> Probably there is a way to use Greek natively, but I haven’t found a good solution with the gfsporson package, and I really like the Porson font.
>
>
> If you use a slightly different preamble, you can use Greek natively.
>
> \documentclass[10 pt]{article}
> \usepackage[LGR,T2A,T1]{fontenc}
> \usepackage[utf8]{inputenc}
> \usepackage{substitutefont}
> \usepackage[greek,russian,english]{babel} %default is English
> \languageattribute{greek}{polutoniko} %for accents
> \substitutefont{LGR}{\rmdefault}{porson}
> \thispagestyle{empty}
>
> \begin{document}
> English:
>
> Greek: \foreignlanguage{greek}{νηπιαας καραβι σαγανακι καιαδας}
> \end{document}
>
> Michael
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
> https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the MacOSX-TeX
mailing list