[Tex/LaTex] Greek to ShareLaTeX and moderncv

greeksharelatex

I tried to use the ShareLaTeX for my resume using monderncv but the tried and could not write Greek. There is a solution, someone has managed to load the Greek in this program?

Best Answer

As Marco Daniel mentioned, configure XeLaTeX in Settings>Compiler of sharelatex.

To use XeLaTeX, as egreg states, remove:

\usepackage[english, greek]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[utf8]{inputenc}

And then add:

\usepackage{fontspec}
\setmainfont{DejaVu Serif}

Your document then should look like this, which displays greek properly: https://www.sharelatex.com/project/52e6de976f94a9d318000b23

Related Question