Skip to content

Instantly share code, notes, and snippets.

@gpolitis
Created December 3, 2012 22:34
Show Gist options
  • Save gpolitis/4198759 to your computer and use it in GitHub Desktop.
Save gpolitis/4198759 to your computer and use it in GitHub Desktop.
XeTeX with polyglossia template (for greek, french and english)
\documentclass{article}
\usepackage{fontspec, polyglossia}
\setmainlanguage{french}
\setotherlanguages{english, greek}
\newfontfamily\greekfont{Times New Roman}
\begin{document}
\textgreek{Καλημέρα κόσμε!}
\textenglish{Hello world!}
\textfrench{Bonjour tout le monde!}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment