[XeTeX] Euler and xetex

Jonathan Kew jonathan_kew at sil.org
Wed Feb 7 20:52:52 CET 2007


On 7 Feb 2007, at 7:23 pm, Stephen Moye wrote:

>  If I run:
>
> %%=====8><-----%%
>
> %!TEX TS-program = xelatex
>
> \documentclass{article}
> %
> \usepackage{euler}
> \usepackage{xunicode,fontspec}
>
> %\setromanfont{Hoefler Text}
>
> \begin{document}
>
> This is $x^2$ kinds of fun.
>
> \end{document}
>
> %%=====8><-----%%
>
> then the euler font is rendered in Helvetica.

Helvetica? In that case, is it also red, and do you get a message  
about it from xdv2pdf?

Try loading fontspec with the [cm-default] option (even if you're  
planning to subsequently change the font with \setromanfont etc), thus:

	\usepackage{euler}
	\usepackage[cm-default]{fontspec}
	\usepackage{xunicode}

It then works for me.

Looks like something is broken between euler and fontspec's (fairly  
new) habit of defaulting to LM fonts. Will, can you help us out?

JK



More information about the XeTeX mailing list