XeTeX is a Unicode-capable variant of the TeX engine. Use this tag if your question is about Xe(La)TeX specific problems and is not related to standard (La)TeX.

learn more… | top users | synonyms (1)

7
votes
1answer
354 views

Getting xetex to complain when a character is missing

Consider the following minimal document: \documentclass{article} \begin{document} tām आ ṁ \end{document} If you compile it with xelatex se.tex, you get something normal and innocuous, like: This ...
2
votes
1answer
411 views

Forcing smaller line spacing (risking that text overlaps) in XeTeX

I am writing some XeTeX code to display Chinese text with ruby (tone marks, translation or pronunciation) above and below the characters. If on any one line, I have ruby below, and then on the next ...
6
votes
2answers
826 views

! Bad space factor (0)

When trying to compile my .tex file using the latexmk -latex=xelatex command, I receive the following error: ! Bad space factor (0). <recently read> \@savsf l.39 \end{seriate} ? Then, if ...
7
votes
1answer
1k views

Getting (Xe)LaTeX to display accents and characters not included with the font

The font I'm using (Adobe Garamond Premier Pro) does have certain precomposed glyphs with diacritics, so I'm having (Xe)LaTeX add them in. I found this post and used the method described there for ...
0
votes
2answers
275 views

Prevent overlapping of elements on page

Is there a command one can use in XeLaTeX and the rest of the TeX family to completely prevent any overlapping from occurring? Perhaps it could break the compilation with an error to alert you? I have ...
7
votes
1answer
726 views

\pdfpageheight does not work in XeTeX?

The XeTeX reference manual says that this engine understands \pdfpageheight and \pdfpagewidth. However, is seems to ignore the requests to change paper size in the middle of the document. Consider ...
4
votes
3answers
1k views

Problem displaying degrees celsius with siunitx and xelatex

I'm trying to discuss a temperature in a document where I'm using xelatex and siunitx. The temperature was further increased to \SI{200}{\degreeCelsius}. When using xelatex this causes a ...
3
votes
2answers
240 views

How to adjust the font in a \newcommand math expression to the environment

I'm writing my thesis about the gas NO2. The correct way to write this is $NO_2$. Currently, I have a macro defined to make typing easier: \newcommand{\notwo}[0]{\chem{NO_2}\xspace} \chem is a macro ...
19
votes
2answers
944 views

Placement of subscripts using unicode-math. Is it XeTeX bug?

I don't like placement of subsripts when using unicode math fonts under XeLaTeX. In contrast to CM fonts the subscripts are placed at different vertical positions obviously depending on the depth of ...
6
votes
2answers
12k views

How to fix “Package hyperref Error: Wrong DVI mode driver option `dvips'”?

I'm having this Error when I try to compile my .tex file with xelatex: ! Package hyperref Error: Wrong DVI mode driver option `dvips', (hyperref) because XeTeX is running. See the ...
3
votes
2answers
657 views

XeTeX hebrew problem with LyX

I am using LyX and trying to write in Hebrew using XeTeX. I get the following error messages: undefined control sequence Package polyglossia error Is this a package I should get manually? I would ...
6
votes
1answer
679 views

latexmk -pvc doesn't recompile if included files change

My current project layout looks like this: Mainfile.tex with \begin{document} including preamble (\documentclass, packages, newcommands, etc) and chapters, split into separate subfiles. I'm using ...
9
votes
2answers
509 views

How can I get my ellipses formatted correctly in XeTeX?

I've been using \dots and \ldots to try to get ellipses happening. Ellipses should look like this: Some text . . . and then some more text. But instead they look like this: Some text ...and some ...
2
votes
0answers
269 views

xelatexmk and emacs [closed]

For technical reason, I had to set for using emacs as my working environment, as I am able to type directly some Unicode signs that otherwise I cannot code in with Texworks or TeXmaker. At this point, ...
5
votes
1answer
2k views

Invisible character equal to the height of capital letters [duplicate]

Possible Duplicate: How do I create an invisible character? How can I insert an invisible character (similar to \strut) which has a width of zero (won't impact word or letter spacing) and ...
4
votes
0answers
410 views

Bibliography tooltips with XeLaTeX and automated workflow [closed]

I would like to make bibliographic entries appear in a popup tooltips (in a supporting PDF viewer) when you hover over the citation key. An approach to realise this was discussed here: Showing the ...
3
votes
1answer
1k views

Error when using both minted and TikZ externalize with xelatex

See the following MWE. \documentclass{article} \usepackage{minted, tikz} \usepackage{fontspec} \setmainfont{Arial} \usetikzlibrary{external} \tikzset{external/system call={% xelatex ...
3
votes
1answer
1k views

Undefined color error for URL, when compiling with XeLaTeX

I've defined a different color for hyperlink using \hypersetup command with urlcolor. When I am compiling it with XeLaTeX I am getting undefined color error for the URL link, but it works fine when I ...
4
votes
1answer
3k views

Landscape, A3/A4 paper with XeTeX

With pdflatex, it seems easy to get a landscape document, on A3 paper. One only needs to add [landscape,a3paper] or [landscape,a4paper] to the document class options. With xelatex, however, these ...
7
votes
1answer
521 views

Punctuation marks in math mode in xetex/mathspec

I am using XeTeX and have the following short document: \documentclass[a4paper,12pt]{article} \usepackage{amsmath,amsthm} \usepackage[MnSymbol]{mathspec} \usepackage[no-sscript]{xltxtra} ...
18
votes
3answers
2k views

Using unicode Roman numerals in XeTeX

As mentioned in How can I get Roman numerals in text?, there are several ways in which one can add Roman numerals to text in TeX. However, these solutions all seem to use three I's to make a roman ...
4
votes
1answer
346 views

Font issue when including EPS from Metapost into XeLaTeX

I've run into strange problems with fonts in figures included in XeLaTeX document. I have figures generated from Metapost sources with rotated math labels. When I include resulting EPS into document ...
2
votes
0answers
627 views

XeLaTeX, hyperref and page breaking [closed]

Using XeLaTeX, loading the hyperref package apparently changes the way in which (reconfigured) widow and orphan penalties work — so they reappear, just as if I had not altered the values for the ...
8
votes
3answers
2k views

Rotating text by -90 degrees

Using lscape from the graphics package, one can rotate all of the text within \begin{landscape} and \end{landscape} by 90 degrees, while permitting the text to break across pages. Is there a way to ...
8
votes
1answer
1k views

Vertical Chinese text with XeTeX

How can I place vertical Chinese text for some of the text in a document? I think the CJK package can do this, but with XeTeX one generally uses xeCJK. I could not find these options in the ...
4
votes
1answer
111 views

Accessing metadata for specific letters

Do any font types store metadata about each letter? Or does Unicode provide any linguistic information about each symbol? Can this metadata be accessed in XeTeX?
11
votes
4answers
1k views

Displaying pinyin over Chinese characters, without impacting word spacing

I want to display pinyin (romanized form) over Chinese characters. However, the two methods I know (using stackrel or tabular both change the spacing between characters. This demonstrates the problem: ...
2
votes
1answer
496 views

a xe(la)texify script for WinEdt 6

I like how WinEdt has a PDFTeXify script, with an associated button, which re-runs everything necessary until you get a PDF, and also opens the PDF in a viewer. I want the same thing for XeTeX, but ...
6
votes
1answer
223 views

Temporarily changing the spacing between Chinese text and numerals

When mixing Chinese text and non-math mode numbers together within a sentence, narrow numbers are given the same amount of space as characters: \documentclass{article} \usepackage{ctexcap} ...
14
votes
3answers
716 views

How do I wrap text that doesn't use SPACE character to segment word

As you know, there are many languages out there that don't use a SPACE character for word segmentation. For such language, special non-printable characters are used, such ZERO WIDTH NON JOINER or ZERO ...
5
votes
2answers
1k views

Dot below letter [duplicate]

Possible Duplicate: TeX accents do not seem to work with fontspec and xe/lua/latex Very frequently I need to write letters with dots below (like ḥ or ṭ) for transliteration. It's ok when ...
15
votes
2answers
865 views

Using simple quotes “” instead of \text{}

Is there a way to use newcommand or some other nice technique to transform any occurence of "bla" in math mode into \text{bla} The reason I ask is because it is easy, and doesn't interrupt the ...
9
votes
2answers
634 views

PSTricks transparency does not work with MikTeX's XeLaTeX

I use MikTeX and have updated all packages several minutes ago. The problem is that XeLaTeX produces a weird result where the transparency parts become opaque. It is not caused by preview as ...
3
votes
1answer
445 views

How can I make XeLaTeX use “display”, “subhead”, and “caption” varieties of a font when appropriate?

I am using Adobe's Garamond Premier Pro and it has various varities for use with larger and smaller forms of text (see http://www.adobe.com/type/topics/opticalsize.html). Is there a good way to make ...
2
votes
1answer
946 views

Want a big table in top-center of a two-column article page

\documentclass[11pt, twocolumn]{article} \usepackage{fontspec} %%Should compile with XeLatex \defaultfontfeatures{Mapping=tex-text} \setmainfont[SmallCapsFont = Delicious SmallCaps]{Delicious-Roman} ...
3
votes
1answer
352 views

Loading a math font with stylistic set in plain XeTeX

How does one activate a stylistic set in plain XeTeX? I have tried: \font\test="XITS Math:+ss01" % for calligraphic \textfont2=\test $ \fam2 A $ \bye but with no luck.
17
votes
1answer
2k views

fontspec with Helvetica breaks quotes

The usual quoting with `` and '' doesn't work anymore after including this (which also changes the engine to XeTeX): \usepackage{fontspec} \setmainfont{Helvetica} They are just printed verbatim in ...
8
votes
1answer
1k views

Working with XeLaTeX and Pygments

I am trying to use XeLaTeX typesetting engine together with Pygments syntax highlighter. XeLaTex enables me to use all the fonts that are available to the operating system; Pygments helps me to color ...
9
votes
1answer
576 views

Using a fancy font for mathmode, falling back to XITS for missing symbols

I'm using a silly font inside an environment, so that the text inside looks quite different than the surrounding text. However, I am having trouble getting mathmode to look silly, but legible. ...
12
votes
1answer
3k views

Getting Started with Minion Pro, XeLaTeX and mathspec

I have just started using Minion Pro and mathspec for my work and now I have the following in my preamble: \usepackage[MnSymbol]{mathspec} \usepackage{xltxtra} ...
8
votes
1answer
834 views

tufte-latex warning: Failed to convert input string to UTF16

I've been receiving this warnings every time I compile a document with tufte-latex class: ** WARNING ** Failed to convert input string to UTF16... Nothing happens, the document compiles fine, but ...
8
votes
1answer
682 views

How to access Webdings OpenType font in XeLaTeX

Is it possible to use the character set available in the "Webdings" OpenType font which is installed on my PC using XeLaTeX? Other non-symbol fonts seem to work fine, but I just get boxes for every ...
14
votes
2answers
641 views

Is there any specific reason to use LaTeX over XeLaTeX?

Is there any situation in which it would be easier to do things in LaTeX rather than XeLaTeX?
9
votes
2answers
585 views

xeCJK messes with punctuation

Neither a question nor really a complain, but I find I cannot use xeCJK in multilingual documents (in the present case French + English + Chinese), simply because it messes with the punctuation in the ...
8
votes
1answer
823 views

Using minted and tabs

I just started using the minted package. When I insert tabs as indentation, it gives me a bunch of characters instead: However, when I copy the example from the documentation it seems to work fine. ...
6
votes
1answer
768 views

Mixing uppercase, lowercase, and small caps?

The problem I want to follow The Economist's example for annoyingly mixed-case words: letterspace them, capitalize the first letter according to normal rules, and set all other capitals as small ...
1
vote
2answers
227 views

Troubleshooting font problems with XeTeX

When using XeTeX, I sometimes get errors like this: LaTeX Font Warning: Font shape `EU1/AdobeSongStd(0)/m/sc' undefined (Font) using `EU1/AdobeSongStd(0)/m/n' instead on input line 181. ...
10
votes
2answers
658 views

Do XeTeX and LuaTeX always use Unicode?

I am writing some functions to manipulate strings. A typical way to produce a character with a given character code is the \lowercase primitive. The following code produces a character with code 234, ...
2
votes
1answer
415 views

Follow up question: TeX accents do not seem to work with fontspec and xe/lua/latex

This is a follow up to this question. How would the same look for the dot above? That is, what's the standard definition for \. ? Or does somebody in the meantime know a better solution to the whole ...
3
votes
2answers
2k views

Unicode “undefined control sequence” in XeLaTeX

I have got a TeXLive 2011 on an Apple Time Machine and TeXShop on my local MacBook. When I try to typeset the XeLaTeX template from TeXShop, I get “undefined control sequence” for some of the Unicode ...