Recently, I was trying to use Greek and English text in combination in Latex. The available options for doing so can be found here: http://www.eelvex.net/latex/greek-in-latex/. However, using Babel, Babel + inputenc and auto-greek options was not straightforward using pdflatex with my Mactex/Mac Os X Lion 10.8.1 setup, since I had some annoying encoding issues (like other users too, check url).

After some search I ended up to a very simple option that makes use of Xelatex and a normal UTF-8 encoding for the tex file. So, here it is a working example (I assume that you have installed Mactex):

## Example

Create a filename that contains the following named greek_en.tex (or whatever else name you prefer).

greek_en.tex

%!TEX TS-program = xelatex%!TEX encoding = UTF-8 Unicode\documentclass[10pt]{article}\usepackage{fontspec} \setromanfont{Lucida Grande}\title{Ελληνικό και Αγγλικό κείμενο σε \LaTeX}\date{24 Μαρτίου, 2013}\begin{document}\maketitle \section{Εισαγωγη (Introduction)} Αυτό το παράδειγμα παρουσιάζει την χρήση Ελληνικών και Αγγλικών στο Xelatex. \end{document}

Compile it using xelatex and view the PDF output:

$xelatex greek_en.tex$ open greek_en.pdf
Share →
This site is protected by Comment SPAM Wiper.