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
2answers
161 views

How to make the function identifier ( f(x) ) more dominant?

When a function has a rather complex set of parameters, the function identifier (usually simply f), gets dwarfed by the parentheses and the parameters inside of them: As you can see in the red ...
1
vote
1answer
115 views

How to avoid sub-stacks being squeezed onto the baseline?

I'm using XeLaTeX on Linux (just to pre-empt any questions about that...) I think my question is best described with this Picture: As you can see in the red circles, the n \to \infty line got ...
5
votes
1answer
196 views

How to change the appearance of the optional argument of \cite in amsrefs?

Continuing my odyssey with oldstyle numbers, I'd like to disable them also in the optional (second) argument of \cite{...}*{...} in amsrefs. Any hints how to do that? (I'm using XeLaTeX, but this is ...
7
votes
1answer
2k views

Using Cambria Math in XeLaTeX

Take a look at the following images, XeLaTeX typeset formula: Word generated formula: Note specifically the difference of the \hat implementations at g_i and g_i^2 in XeLaTeX. In Word the two ...
4
votes
1answer
193 views

Remapping fonts in unicode-math has no effect on e.g. `\mscrC`

For some reason, in this setup, \mathscr{C} and \mscrC produce different results: \documentclass[12pt,a4paper]{article} \usepackage{unicode-math} \unimathsetup{math-style=TeX} \setmathfont{Cambria ...
4
votes
1answer
229 views

Custom inheritance rules not working with biblatex

I work on a document (XeLaTeX), where many mixed language collections are cited. Using biblatex I can make use of the hyphenation field to switch between different languages (although the babel-option ...
13
votes
2answers
489 views

Better way of embedding OpenOffice plots into LaTeX?

Right now, I create plots in the spreadsheet, copy them to OpenOffice Draw, save as images, and then put them (as images) into my .tex file. But that leads to problems with resolution (labels too ...
4
votes
1answer
642 views

Using another font for a glyph that is not available in the current font

I want to declare more than one font so XeTeX can use other fonts when first font did not have a specific glyph. How can I do that? In windows when the current font does not have a glyph, other font ...
1
vote
1answer
203 views

Unexpected scoping issue using \XeTeXinterchartoks

Minimal example (compile with xetex): \XeTeXinterchartokenstate = 1 \newXeTeXintercharclass \classa \XeTeXcharclass `\a \classa \XeTeXinterchartoks 255 \classa = {\begingroup} \XeTeXinterchartoks ...
7
votes
1answer
2k views

Set font in listings in XeLaTeX

I want to set specific font just for listings in XeLaTeX. \newfontfamily\consolas{Consolas} \lstdefinelanguage{MyLanguage}{ basicstyle=\ttfamily, .... % my language definition } ...
5
votes
2answers
667 views

How to check if a font exists in XeLaTeX

Is there a way to check if a font exists in XeLaTeX? I am aware of Check for missing fonts/characters in XeLaTeX?, but sadly the one answer only refers to the log. I am interested for a test via code. ...
4
votes
1answer
477 views

Asana Math calligraphic capital R with XeTeX

I am having problems getting a calligraphic ‘R’ with Asana Math. This is my minimal: \font\asanacal="Asana Math:script=math;mapping=script;+salt" \font\asanascr="Asana ...
5
votes
2answers
1k views

Conversion XeTeX -> EPUB

I've got (Xe)TeX document. It s fine to compile into PDF. However, I'd like to know how can I do to export it into EPUB in order to read it with my Sony Reader. I've tried to use many tools such as ...
2
votes
1answer
498 views

Arabxetex: how to type eastern arabic numerals

how can I type eastern arabic numbers (or so called arabic indic) via arabxetex? http://en.wikipedia.org/wiki/Hindu%E2%80%93Arabic_numeral_system http://en.wikipedia.org/wiki/Eastern_Arabic_numerals ...
2
votes
3answers
423 views

Placing an image with caption at the bottom of the page in XeLaTeX?

I need to create a figure an place it at the bottom of the page (figure includes the image and some caption text). Is there a way to do it? I tired using figure environment, but it sends my image all ...
4
votes
1answer
1k views

Is there a way to export XeLaTeX document into doc or similar?

I need to export my .tex file to .doc. I tried to do it using mk4ht ooxelatex file.tex but got complete garbage as output. The file itself is quite simple - some text and a pair of images. Is ...
1
vote
2answers
2k views

\hyperref to a \label doesn't work (“empty destination key”)

In one of my documents, I used the combination of \label with \hyperref. Now, I fail for some reason. I included the package: \usepackage[colorlinks=true,urlcolor=blue,linkcolor=blue]{hyperref} ...
0
votes
0answers
173 views

avilable XeTeX editors [duplicate]

Possible Duplicate: LaTeX Editors/IDEs Can anybody please list Unicode compatible XeTeX editors for Windows which support RTL languages? (I know TeXmaker and Texnic 2alpha ) Update: ...
2
votes
3answers
716 views

My .eps images appear to lack resolution, but turn out crisp after compiling my document, what's going on?

I have produced some .eps images of graphs (using the Python matplotlib module) and they look very shoddy, e.g. the crosshatching looks like a very rough plaid, but when I compile my document with ...
3
votes
1answer
196 views

Number not displayed in parentheses

When I put a number between parentheses it will vanished: What is wrong? MWE: ‎\documentclass{article}‎‎ ‎\usepackage{hyperref}‎‎ ‎‎‎ \usepackage{syntonly} ‎\usepackage{xepersian}‎‎ ...
7
votes
1answer
511 views

Left-middle-right delimiters and unicode-math

Consider the rendering of \middle| in the code below: \documentclass[12pt,a4paper]{article} \usepackage{unicode-math} \setmathfont{xits-math.otf} \begin{document} \[ \left\lbrace p_{i,j} \, \middle| ...
1
vote
1answer
298 views

Is my \date broken?

When using \date{}, I get this weird result: (I've blurred out some parts, since they're, well, sensitive for me) Why is it doing this? I'm using isodate, but it's not the issue, I've commented it ...
1
vote
0answers
161 views

How to remove font information at the head of page 1? [closed]

I set TeXLive 2011 on my MacBookPro. In my preamble I have: \usepackage{fontspec} \setmainfont{Hoefler Text} \newfontfamily{\sbl}[Script=Hebrew]{SBL Hebrew} When I compile with xelatex I get at the ...
6
votes
2answers
796 views

Sample files of LTR text on left and RTL text on right

I am looking for sample files with mix LTR and RTL texts where each occupy their respective side of the page on each line. In addition I want the ability to indent odd/even lines by different ...
2
votes
1answer
291 views

How to make a line of text in a slightly different color (light gray in my case) in XeLaTeX

I Like to add an informal footnote to my document, containing web addresses. Some of the text is to be de-emphasized using gray text. How do I do that for a line or a word in XeLaTeX?
4
votes
2answers
412 views

How to disable oldstyle numerals in a boldface text in Linux Libertine?

This document compiles (in XeLaTeX), but the boldface numbers are set oldstyle. Why? How to use boldface lining digits with Linux Libertine? \documentclass{article} \RequirePackage{fontspec} ...
2
votes
2answers
3k views

Linux Libertine O and Linux Biolinum O not found

I have TeX Live 2011. I set \usepackage{fontspec} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} but I get a warning that these fonts are not found! If I try ...
6
votes
2answers
385 views

How to add numerical (ala No Starch Press) listing notes without XeTeX?

I've been following the instructions and code available at: https://zuttobenkyou.wordpress.com/2010/12/05/latex-saner-source-code-listings-no-starch-press-style/ I would like to add notes (and style) ...
7
votes
2answers
5k views

Dimension too large on a PNG figure under xelatex and beamer

I have PNG image I want to introduce into my presentation. The figure is black and white and the edges are small. When I compile the file in pdflatex everything is fine but when I Compile it with ...
2
votes
2answers
279 views

Arrow is too long when \vec followed by subscript or superscript after using unicode-math package

The code is below \documentclass[12pt]{article} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} \large $\vec{a}^{12345}$ \end{document} Then the arrow of ...
7
votes
0answers
681 views

No transparency in TikZ pictures including external PDF graphics in XeLaTeX [closed]

I was trying to create a tikzpicture environment which includes external graphics (as a PDF). The external graphics should be translucent, so I used the opacity parameter. Using pdfLaTeX it works as ...
2
votes
0answers
2k views

! Undefined control sequence. l.52 \char_make_active:n {"20}% [closed]

This is the XeTeX code I copied from Wikipedia, theoretically it must be working: \documentclass[11pt]{article} \usepackage{xltxtra} \setmainfont[Mapping=tex-text]{Linux Libertine O} \begin{document} ...
1
vote
1answer
224 views

How to set equation numbers in lining numerals?

I'm using XeLaTeX with Linux Libertine (using fontspec) and oldstyle numbers. I'd like, however, to set equation numbers (using amsmath's \eqref) in lining numbers. This does not work: ...
5
votes
1answer
2k views

How to use Palatino-like math fonts in XeLaTeX?

After some fighting with Asana Math, I thought that I could give a Palatino-like math font a chance. So the questions are: (1) what exactly is the difference between pxfonts and mathpazo and (2) how ...
5
votes
0answers
372 views

How to lower the superscripts (and raise the subscripts) [duplicate]

Possible Duplicate: tex4ht problems with footnotes I am preparing a document using XeLaTeX, unicode-math and Asana Math OTF (turned on by \setmathfont{Asana-Math.otf}). I've noticed that ...
4
votes
0answers
680 views

XeLaTeX and unicode-math problems [closed]

I am using XeLaTeX (TeXLive 2011) on OS X. It seems that unicode-math is not working as it should: \usepackage{unicode-math} \setmathfont{XITS Math} Produces: kpathsea: Invalid fontname `XITS ...
5
votes
1answer
878 views

XeLaTeX complaining about fonts

I have TeXLive 2011 installed. My document looks like this: \documentclass[11pt,a4paper]{moderncv} \moderncvstyle{classic} \moderncvcolor{orange} \usepackage{moderntimeline} ...
0
votes
1answer
3k views

AUCTeX XeLaTeX preview fails: fontspec cannot-use-pdftex error

I am struggling setting up AUCTeX preview in a way that I can use it with XeLaTeX documents. When I try to generate the previews I get the following error cannot-use-pdftex generated by the ...
51
votes
1answer
3k views

Small-caps, old-style numbers, and some ligatures produce odd symbols in PDF copy text?

This is a problem I've had consistently with XeLaTeX. Here's a small example: \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX,Numbers={OldStyle,Proportional}]{Minion Pro} ...
9
votes
2answers
532 views

Precompile header with xelatex

I read about precompiling the preamble in http://tex.stackexchange.com/a/15606/4918 and it worked fine with pdflatex but how can I do this for xelatex? I tried xelatex -ini -shell-escape ...
1
vote
1answer
370 views

How do I activate hanging punctuation with XeteX under ConTeXt?

I'm noob at ConTeXt. I want to use auto2 font with ConTeXt, I think the easiest way to do that is using the XeTeX backend. ConTeXt can do some protrusion with pdfTeX and LuaTeX, but with XeTeX it ...
9
votes
1answer
235 views

Glyph alternates break hyphenation

Alan Munn explined in Use stylistic set variations only for certain glyphs how to enable glyph alternates for a certain subset of glyphs. I'm using the second method he described (the other method ...
4
votes
2answers
3k views

Linux Libertine Biolinum xelatex and lualatex

This is actually two questions rolled into one. Consider the example file below: \documentclass[a4paper]{article} \usepackage{fontspec} % ...
6
votes
1answer
1k views

Trim, crop, clip not working as expected in XeTeX [duplicate]

Possible Duplicate: Clipping support in XeTeX Why does the crop feature not work in this example? Secondary question: Is there a good and thorough example somewhere floating around the ...
6
votes
2answers
295 views

XMP with XeLaTeX

I got the hyperxmp package to include XMP copyright information with regular LaTeX but with XeLaTeX there seems to be a problem. I need XeLaTeX for its better font support and typographic features. Is ...
8
votes
1answer
740 views

Dashed draw with a node including a fraction

Is this intended behavior (with plain XeTeX): \input tikz \tikz\draw[dashed] node {$3T\over4$}; \bye It renders as: !? The fraction line is dashed, too! Is this intentional? Is there something I ...
11
votes
1answer
474 views

Typesetting boardgame positions using ttf font

For presenting positions in the game of backgammon, there is a commercially developed, but free for personal use, without modifications, font called eXtremeGammon. The ttf font file is available from ...
2
votes
1answer
194 views

Usage of UNC paths in XeTeX Documents

Is it possible to use UNC paths in a XeTeX document?
0
votes
1answer
91 views

containverbatim shows up in output

When I compile the following code in XeLaTeX (also works with pdflatex) under windows, [containsverbatim] shows up in the ouput: Here is the code: \documentclass{book} \usepackage{showexpl} ...
2
votes
1answer
1k views

Xetex and Times New Roman font

I want to create a document using latex, but I discovered that latex only works with plain ascii, and my native language is not English :) So I tried xetex instead (with example from here). The ...