Tagged Questions

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)

4
votes
1answer
663 views

How do I change the default typewriter font with XeTeX?

In this question, it is detailed how to convert a project to use TrueType or OpenType fonts by switching from LaTeX to XeLaTeX. I've successfully changed my build over to use XeTeX, but I'd like to ...
4
votes
1answer
162 views

changed response to \fam\z@ command (from dchem) in XeLatex/mathspec

I am a dedicated user of Donald Arsenau's dchem package, which has been distributed privately for a long time but which he has never felt was sufficiently developed to be released publicly (or, if ...
1
vote
1answer
306 views

punctuation marks have different fonts in and out of equations in xetex

I am using xelatex to create a document in Armenian. I have the line \setmainfont [Mapping=tex-text, Scale=MatchUppercase] {DejaVu Serif} in my tex file to change the font to DejaVu Serif for the ...
0
votes
0answers
86 views

Best way to include some Japanese text in a beamer presentation? [duplicate]

Possible Duplicate: How to write Japanese with LaTeX? What's the easiest way to use include some Japanese text in a beamer presentation? I'm looking for a way to include Japanese in a few ...
4
votes
1answer
2k views

kpathsea/fontspec does not recognize a font whose name has a space in it

Using XeLaTeX and the fontspec package, I am experiencing problems using fonts whose name includes the space character. Here is a simple example: \documentclass{article} \usepackage{fontspec} ...
2
votes
0answers
375 views

special font has glyph but is xelatex reports “missing character” [closed]

I am using TeXLive 2011 on Linux with a font called sasmono. When I compile my LaTeX source with xelatex, it reports (./myoutput.lst Missing character: There is no ^^83 in font ...
1
vote
1answer
331 views

Japanese tikz-qtree

I'm having trouble using the example code from tikz-qtree to typeset a Japanese syntax tree. Here's my MWE: \documentclass[10pt,letterpaper]{article} \usepackage{xeCJK} \setCJKmainfont{MS Mincho}% ...
7
votes
1answer
2k views

pdflatex/xelatex problems with MinionPro

I am successfully using package MinionPro for pdflatex. I would like to use it also in xelatex (the math part, actually), so that I can add opentype features to the main text font. However, I am ...
6
votes
1answer
406 views

Numbers, punctuation and parenthesis reversed in RTL

Contrary to my belief and to what's shown here, the above are coming up reversed for me: I've seen this happen in other places too (enumerations off the top of my head), but these are the most ...
76
votes
7answers
7k views

I am new to TeX. Should I use LaTeX, XeLaTeX, …?

I am starting to learn LaTeX and I really like what I am seeing. However, I get the feeling I should actually start with another 'TeX' version. I've been reading about different options. Some ...
1
vote
1answer
947 views

MacTeX 2011, Xetex and Tex Live Utility

I tried several times to play with XeLaTeX (being used to "classical" LaTeX) but since I installed MacTeX 2011 and updated it with TeX Live Utility, I got that kind message : ...
3
votes
1answer
587 views

Automatic switching of math font based on current text font

I'm writing a document using xelatex and have set up my document fonts using fontspec as follows: \usepackage{fontspec} \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O} ...
7
votes
1answer
451 views

Small capitals if available, normal (large) capitals if not

In French, it is customary to typeset centuries and other numbers in Roman numerals in small capitals if available, or normal (large) capitals if not. If I use \textsc{vi} to typeset "6", I risk it ...
3
votes
2answers
771 views

Weird behavior when using small caps and slanted fonts with fontspec in XeLaTeX

I use XeLaTeX and the fontspec package. Now, I like to use Linux Libertine as standard font. The slanted (not italics) characters are stored in a different font. Now, to use them with \slshape, I ...
2
votes
1answer
808 views

The symbol \hbar is not recognized (but shows up as “h”) when using XeLaTeX

I am using XeLaTeX with the packages fontspec,xunicode,xlxtra (which I believe is pretty standard) to process my documents into a PDF file with the TeX Gyre Pagella font. I have been doing so ...
1
vote
1answer
298 views

How to avoid specifying the size of included graphic when the file has no extension?

I'm rendering the following code with xelatex: \documentclass{article} \usepackage[debugshow]{graphicx} \begin{document} %% This gives ! LaTeX Error: Cannot determine size of graphic in lowres (no ...
15
votes
2answers
615 views

What is the XeTeX equivalent of \pdfcreationdate?

I need the time to 1-second resolution. datetime uses \pdfcreationdate for this, but only under pdf(La)TeX. As a result under XeLaTeX, this: \usepackage{datetime} ... ...
1
vote
2answers
1k views

Getting xeCJK package to work with MikTeX

I am trying to write Chinese in LaTeX with MikTeX 2.9, and at the moment I am using fontspec, something like the below. However, I have heard good things about xeCJK, and I am considering switching to ...
5
votes
2answers
290 views

Finding and displaying UTF-8 characters with xesearch

The xesearch package allows one to replace text with other text. E.g.: \documentclass{ctexbook} \usepackage{fontspec} \usepackage{xesearch} \SearchList{list1}{newspaper}{book} \begin{document} ...
12
votes
4answers
2k views

Include Adobe Illustrator files (ai) with XeTeX

Adobe Illustrator files are PDF compatible. That is a regular PDF reader, ex. Sumatra-pdf, can open and view them. I was hoping it would be possible to have xetex (with xelatex) and graphicx to ...
9
votes
1answer
905 views

Getting started with Chinese in ConTeXt

I am trying to setup a basic document with ConTeXt, but I am having difficulty even getting started. First, I tried the documentation at ConTeXt wiki: Chinese. I tried the sample code on that page: ...
10
votes
1answer
271 views

Is there a way to use unicode-math in a limited fashion?

At the moment, I am using mathspec and some traditional math packages such as mathpazo to typeset my mathematics. The results are mostly satisfactory, but I would like to expand the repertoire of some ...
1
vote
1answer
171 views

xetexCV vertical alignment

I'm using Rob Oakes' xetexCV document class. Everything works fine except for the vertical alignment of the years. When there are two lines, the years are aligned to the bottom, I, however want them ...
0
votes
0answers
81 views

Citations: Sort and Compress with superscript (Nature style) using non-superscript dash (xetex+Linux Libertine) [duplicate]

Possible Duplicate: How to change parameters for \textsuperscript{} in french? solution: How to change parameters for \textsuperscript{} in french? I passed the no-sscript option to ...
5
votes
1answer
2k views

xetex complains about missing kanjix.map

I've just installed TL2011 on Windows 7 and updated it from the net. The installation produced no errors and everything is fine - but now xelatex (and not pdflatex nor lualatex) ends every invocation ...
7
votes
1answer
361 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
423 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
876 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
283 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
757 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
2k 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
246 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
973 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
13k 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
672 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
721 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
520 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
277 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
417 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
524 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
363 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
646 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 ...