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)

3
votes
1answer
177 views

How do I add a for loop to a class file function?

I'm using this XeLaTeX class file to write my resume. One of the features is for section headings it colors the first 3 letters: \section{experience} This is hardcoded to the first 3 letters, and ...
8
votes
1answer
1k views

Cyrillic monospaced font in XeLaTeX

I've installed full TexLive 2011 using "install-tl" script in Ubuntu 12.04. When I was using TexLive 2009 from repositories the following file was compiled without any errors. ...
1
vote
1answer
384 views

TeXLive2011, XeLaTex and Beamer won't compile lists

Approximately a year ago I created a beamer presentation using TeXLive 2009 on Ubuntu and XeLaTeX (since I wanted to use system fonts). Meanwhile I upgraded to TeXLive 2011. Yesterday I tried to run ...
4
votes
2answers
277 views

Unnecessary first line shift in XeTeX

Using XeTeX I noticed how first line is shifted with \usepackage{indentfirst} in a document which I don't want to happen. In LaTeX everything works Ok. Examples: XeTeX: ...
14
votes
1answer
413 views

Different compilation times with different Operating Systems

I have noticed that when compiling or rather typesetting with XeLaTeX, I experience very different compilation times on different Operating Systems. When I typeset on Windows, the compilation process ...
7
votes
1answer
198 views

hyperxmp + xelatex bug: duplication of pdfkeywords

I found an annoying bug(?) relating to the pdfkeywords metadata field which hyperref allows to set. When hyperref is used in combination with hyperxmp and the document is compiled with xelatex the ...
5
votes
1answer
425 views

Wrong positioning of images inside tikzpicture with XeLaTeX

Consider following code: \tikzstyle{box}=[draw, fill=brown!40, text width=7em, text centered, minimum height=7em, rounded corners] \tikzstyle{usb}=[draw, fill=blue!40, text width=3em, ...
0
votes
0answers
47 views

Xelatex hyperref problem [duplicate]

Possible Duplicate: Hyperlinking a drawing I need a drawn line hyperlinked a specific page in the document. In the following MWE when I comment out polyglossia package and use PDFLatex, it ...
7
votes
2answers
496 views

Hyperlinking a drawing

Is it possible to hyperlink a drawn line to a specific page in the document? I use following command to draw a line: \line(1,0){20} Many thanks! Here is MWE: \documentclass[a4paper]{article} ...
1
vote
1answer
314 views

Xetex not running in Hebrew Lyx

I am trying to use Polyglossia package through Lyx. When compiling with XeLaTeX, I get undefined control sequence error and the file won't compile. Working with Windows 7, Lyx 2.03 and MiKTeX 2.9. ...
1
vote
1answer
328 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
846 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
419 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
441 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
544 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?. ...
14
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
132 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
387 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
554 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
190 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
816 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
300 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
207 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
292 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
290 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
80 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
487 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
782 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
397 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
2k 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
457 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
119 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
194 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
499 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
666 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
207 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
683 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. ...