[OS X TeX] how to add Greek character

Michael Sharpe msharpe at ucsd.edu
Sun Oct 11 18:40:20 EDT 2015


> 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


More information about the MacOSX-TeX mailing list