TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is a follow-up question to Setting English font size in non-English documents in XeLatex

Well, I'm new here and this is my first question.

I've compiled the following code with xelatex but in the result the englishfont is identical with the italianfont (mainfont). (I tried other font combinations: the englishfont is always identical with the mainfont.)


\setmainfont{Times New Roman}
\newfontfamily{\englishfont}{DejaVu Sans}


Testo in italiano.

Text in English.
share|improve this question

closed as too localized by doncherry, lockstep, Andrew Swann, Kurt, Thorsten Dec 6 '12 at 16:26

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! Neat MWE, especially for a rookie. The only problem: I can't reproduce your problem; your code gives me i.stack.imgur.com/JOnnO.png. I'm using MiKTeX 2.9. Have you made sure all your packages are up-to-date? – doncherry Dec 5 '12 at 20:09
Thanks a lot. You're right - my texlive distribution was from 2009. Now it (distribution of 2012) works. – steffan Dec 6 '12 at 11:53
Glad your problem was solved. Since it was pretty specific to your configuration and, in a way, your individual point in time, we closed it as too localized. – doncherry Dec 6 '12 at 18:29