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)

1
vote
1answer
337 views

XeLaTeX weird characters in numbering and headers

When I build my document, several weird characters appear. Take a look at the picture below: The most strange thing, is that exactly the same tex file compiles fine on an other computer of mine. I ...
8
votes
2answers
858 views

vedic symbols in XeTeX

How do I produce the vedic, anudatta and udatta via XeTeX. The one in this links gives http://mirrors.ctan.org/language/devanagari/velthuis/doc/generic/velthuis/xetex-examples.tex The normal ...
4
votes
2answers
1k views

Where does XeLaTeX look for smallcaps shapes in fonts?

In response to a deleted post, here is my attempt at formulating a question to an answer: Where does XeLaTeX look for smallcaps shapes in fonts, on an Ubuntu system?
1
vote
3answers
424 views

Avoiding increase of number of fonts (families) with fontspec/xelatex?

(I actually came to a solution with this, which I've posted separately, but I thought it'd be good to document anyways - and of course, any comments to this are welcome) This is the problem - I need ...
3
votes
2answers
4k views

Use of \scshape or \textsc with fontspec/xelatex

I've already tried Use of \scshape or \textsc in beamer \institute fix with \rmfamily in the MWE below, but it doesn't work - I've seen A problem with \textsc as well, but I don't think I should load ...
4
votes
1answer
1k views

combine two sans fonts for xelatex/lualatex

I'm still finding my way around latex, so forgive me is this is an obvious question... I have two sans serif ttf fonts available at my workplace that I want to use in xelatex or lualatex. The serif ...
5
votes
2answers
450 views

Tabulators like in OpenOffice/LibreOffice

Is there any way to achieve the same result in LaTeX as done with tabulators in other Word Processors? The difference to tables is that the text is not limited to cells but can flow across there ...
3
votes
2answers
1k views

Problem with setting correct custom page size with 'geometry' in xelatex

I'm trying to set the page size using the geometry package as shown in the following MWE, compiled with xelatex test.tex: \documentclass[12pt]{article} \usepackage[b5paper,pass]{geometry} ...
10
votes
1answer
555 views

Visualizing correct page lengths with 'layouts' and 'tikz' packages?

I am currently working on a project with xelatex/fontspec and tikz, and so, this example is basically the same as the one from layouts package reads all length as zero with tikz/fontspec/xelatex?. ...
16
votes
4answers
2k views

Fake small caps with XeTeX/fontspec?

Using XeTeX and fontspec, I use the Liberation font family in of my documents. Unfortunately those fonts (esp. Liberation Serif) do not natively support small caps. Is there a way to enable fake ...
2
votes
1answer
135 views

layouts package reads all length as zero with tikz/fontspec/xelatex?

After getting the suggestion to use the layouts package for visual debugging of lengths, I came up with the following example, which I compile with xelatex test.tex: ...
4
votes
1answer
1k views

Strange latex font warnings with fontsize, tikz, fontspec

This is mostly the same code as in: Problem with itemize indentation in minipage in tikz node ... but with a few changes - notably, it uses fontspec with Junicode font, and so needs to be compiled ...
6
votes
1answer
388 views

How to create multilingual (English, Japanese) and multi-format bibliographies with biblatex and biber

As a follow-up to this thread, I would like to know if it is possible to extend this further to change the citation format depending on whether kanji or romanization is selected. Japanese entries ...
4
votes
2answers
564 views

How to use Arabic text inside addcontentsline

I am using arabxetex package. I need my TOP be all in Arabic script including page numbers. \addcontentsline works with Latin [English] text, but not with Arabic. \phantomsection ...
4
votes
1answer
193 views

XeLaTeX: WordInitial, Inner and WordFinal seem to match everywhere

I am creating a blackletter font and would like to use it with XeLaTeX. I try to use initial/medial/final substitution for letters, like s/ſ, but the context seems to match even when it should not. ...
6
votes
2answers
829 views

Centering full-page tikz images - with mid-document paper size change

I just got this question answered: xetex - Centering full-page Tikz image on page without margins with xelatex? - TeX - LaTeX ... and all works there.   However, here is my problem - I ...
3
votes
1answer
1k views

Centering full-page Tikz image on page without margins with xelatex?

I'm trying to export some full-page SVG images via inkscape2tikz, and then trying to include these tikz-code images in a Latex document; but there seems to be a slight problem with xelatex. After ...
14
votes
3answers
11k views

'Not element of' in Latin Modern

In the following example, the ∉ symbol does not look good. \documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} \begin{document} This ...
12
votes
1answer
303 views

Remapping LaTeX symbol to another unicode value

When compiling the following piece of LaTeX code, the ∖ symbol does not show up. \documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} ...
2
votes
1answer
210 views

Error in amsmath as primitive \eqno no longer primitive [closed]

I am trying to typeset (with XeLaTeX) a simple Tufte-LaTeX example (http://tufte-latex.googlecode.com/files/Week5Lecture.tex) and getting an error message like the following: ...
1
vote
1answer
298 views

Changing the font for braces

I managed to successfully hack mathspec to use parentheses () and brackets [] from the specified font via e.g. \DeclareMathSymbol{]}{\mathord}{\eu@DigitsArabic@symfont}{`]} Obviously, I'd like to ...
4
votes
1answer
297 views

Use mathrm by default for uppercase Latin characters

I'm trying to mix Optima and AMS Euler using eulervm and mathspec in XeLaTeX. The relevant bit of code in my source file is as follows: \usepackage{eulervm} \usepackage{mathspec} ...
1
vote
0answers
82 views

changing font of one (or a small number of) text character only [duplicate]

Possible Duplicate: Font substitution with XeLaTeX I am using a text font that unfortunately does not have accents for the letter e, which I need. But I have found a very similar font, and ...
9
votes
1answer
503 views

Abstract with amsart class and fontspec (with XeLaTeX)

There is an error message which I do not understand when I use amsart in conjunction with fontspec. The math text in the abstract seems to be deemed too small? The error is \textfont 6 is ...
14
votes
2answers
791 views

How to insert Greek letters directly in math environment?

Why are non-Latin characters not displayed in formulas, even when using XeLaTeX? \documentclass{article} \usepackage{xltxtra} \begin{document} $\omega$ %displyed $ω$ %not displyed ...
2
votes
1answer
410 views

unscalable oldstyle numbers through \newfont with XeLaTeX (Minion)

In what is below, the \newfont command does not scale the numbers. I would like to know why. \documentclass{book} \usepackage{fontspec} \setmainfont[Ligatures={Common}, Numbers={OldStyle}]{Minion ...
6
votes
1answer
3k views

Encoding error when changing from LaTeX to XeTeX engine in Emacs AucTeX

The following MWE works fine when compiling with the LaTeX engine (AUCTeX 11.86) \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \begin{document} ...
18
votes
1answer
1k views

PDF file size with LuaLaTeX vs XeLaTeX

I have a set of one-page documents written in LaTex. The same file compiled in LuaLaTeX is about 23 times larger than when it is complied using XeLaTex (about 641 KB vs 28 kb). I tried with a couple ...
2
votes
1answer
2k views

TexWorks used to output PDF from TeX file result in XeTeX required error

I'm new with TeX and Linux, but I want to learn to use it. I found an open source TeX file from here and I want to be able to compile from the cv.tex file to cv.pdf. After searching around, I found ...
3
votes
1answer
478 views

LTR sequences within RTL text - alternative to cumbersome markup?

I am writing a book in Persian that is full of text in Latin scripts scattered all over book. I have to wrap every Latin script with \lt{} to guide xetex to align words from left to right. It's ...
1
vote
1answer
122 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
197 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
195 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
231 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
506 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
686 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
210 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
693 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
492 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
520 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
446 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
174 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: ...
3
votes
3answers
769 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
201 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}‎‎ ...
8
votes
1answer
536 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| ...