[OS X TeX] Fwd: XeLaTeX: equation falsch dargestellt
Jonathan Kew
jonathan_kew at sil.org
Fri Jun 29 03:25:27 EDT 2007
Hi Joanna!
I believe you're seeing an incompatibility between how fontspec sets
up the LM fonts by default, and the xdv2pdf output driver. (A future
release will probably change the defaults so as to avoid this problem.)
There are two solutions available:
On 28 Jun 2007, at 11:13 pm, Tobias Sebastian Kuhn wrote:
> Hi!
>
> I'm forwarding/crossposting this just to help out as I'm not in
> Mathematics...
> I can forward it back to the TEX-D-L-list.
>
> Anfang der weitergeleiteten E-Mail:
>
>> Von: Joanna Ludmiła Ryćko <rycko at INFORMATIK.HU-BERLIN.DE>
>> Datum: 28. Juni 2007 21:14:36 MESZ
>> An: TEX-D-L at LISTSERV.DFN.DE
>> Betreff: XeLaTeX: equation falsch dargestellt
>> Antwort an: German Language TeX Users Group Communication List
>> <TEX-D-L at LISTSERV.DFN.DE>
>>
>> Hallo,
>>
>> hat sich jemand von Euch vielleicht schon mit Mathematik in
>> XeLaTeX beschäftigt?
>>
>> Im folgenden Minimalbeispiel:
>>
>> %!TEX encoding = UTF-8 Unicode
>> %!TEX TS-program = xelatex
If you run xelatex with the xdvipdfmx driver, it should work better.
You can do this via TeXShop's xelatex-xdvipdfmx engine; if you don't
have this engine, just create a copy of the XeLaTeX.engine file and
add the option
-output-driver="xdvipdfmx -q -E"
to the xelatex command line.
>> \documentclass{scrreprt}
>> \usepackage{fontspec}
Alternatively, try \usepackage[cm-default]{fontspec} here; I think
this will avoid the problems configuring the math fonts.
Grüße,
Jonathan
>> \usepackage{xunicode}% provides unicode character macros
>> \usepackage{xltxtra} % provides some fixes/extras
>> \usepackage{amsmath}
>> \setromanfont{Hoefler Text}
>> \setmathrm{Hoefler Text}
>> %\setmathsf{Gill Sans}
>> %\setmathtt{Monaco}
>> \begin{document}
>> \begin{equation}
>> \text{Maßzahl} Q = \frac{A(L)-A(WL)}{A(L)}\cdot 100\%
>> \end{equation}
>> \end{document}
>>
>> werden nur das Wort Maßzahl, die Formelnummer und die Seitenzahl
>> korrekt dargestellt. Die Formel sieht sehr schlecht aus. Ist gar
>> nicht lesbar: siehe das Screenshot http://typoagrafka.eu/temp/
>> masszahl.png
>>
>> Woran kann das Problem liegen?
>>
>> Grüße,
>>
>> Joanna
>>
>> --
>> http://typoagrafka.eu
>>
>> --
>> FAQ: http://www.dante.de/faq/de-tex-faq/
>> Durchsuchbares Archiv: http://tinyurl.com/cdcb6
>> Unsubscribe/Verwaltung: http://tinyurl.com/b9tod
>
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list