xetex

XeTeX (via TexShop) font rendering partially broken on Snow Leopard

Certain elements (such as grqq{} quotes or decimals from the dcolumn package) are missing when rendering with TexShop and XeTeX on Mac OS X 10.6.1 (Snow Leopard). Switching to the dvipdfmx engine did not help, it only misses other characters. My TexShop version is 2.26 (latest atm. I believe). The problem persists for the couple of font...

TeX Font Mapping

I am using a package written on top of XeLaTeX. This package uses fontspec to specify fonts for different parts of your text: latin, non-latin, math mode, ... The package comes with several sample files. I was able to xelatex most of them that depend on regular ttf or otf files. However, one of them tries to set the font of digits in ma...

Do you use XeTeX or pdfTeX?

As far as I understand it (a few days of research here and there), there are two major TeX engines: pdfTeX and XeTeX. pdfTeX is the "standard", having been around since the early 1990s, renders straight to PDF, and improves on some minor formatting issues with original TeX. XeTeX, on the other hand, also outputs PDF, can use any system ...

Can I use XeTeX to produce a PDF/Xn file?

I am using the XeTex typesetting system on a Macintosh running Snow Leopard. I would like it to produce a PDF/X file. Is this possible? I am mainly concerned with ensuring the fonts are embedded. ...

xelatex Invalid fontname

I want to use the openoffice chinese fonts, eg AR PL SungtiL GB, but the xelatex tells me that it is an invalid name (as shown below). It seems like the font name has spaces and so it doesn't recognize it? How should I get around this? (/usr/share/texmf-texlive/tex/latex/base/syntonly.sty)kpathsea: Invalid fontname `AR PL SungtiL GB', ...

Line spacing problem with \LaTeX{}

When I use \LaTeX{} to show the LaTeX logo, the following line of text is pushed down in order to accommodate the subscript 'E' in LaTeX. How do I override this? Is there an option I can pass to \LaTeX{} ? EDIT: Problem was due to horizontal space, not vertical space, and was caused by normal text as well as the \LaTeX{} command. ...

Conditionally execute a macro depending on the font used

I’m a big fan of ampersands – so much that I heed SimpleBits’ advice to “use the best available ampersand” quite religiously. For that purpose, I’ve defined the following shortcut in LaTeX: \let\amp\& \renewcommand\&{{\scalebox{1.2}{\textnormal{\fontspec{Baskerville}\itshape\amp}}}} In brief, this changes all uses of the “normal” amp...

XeTeX - Detect when re-run is needed

Hello everyone. I'm trying to determine when a re-run of Xe(La)TeX is required because of undefined references. I've posted a related question on the SCons mailing list, and the problem is as follows: Page counts and other references that require multiple runs of XeLaTeX are sometimes not at present detected by SCons and other build s...

What is the proper way to enable character protrusion in xelatex?

Hello, I am using XeTeX 3.1415926-2.2-0.9997.4 (part of TeX Live 2010). One of its new features is character protrusion, and I would like to use it in my documents. The problem is that I cannot make it work. XeTeX sample from xetex.tk wiki compiles correctly and displays protruded characters. Although XeLaTeX file that I created does n...