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
0answers
17 views

How to use onslide in a listing?

I need to animate single contiguous code listings by showing and hiding parts of code using \onslide. However, TeX is complaining. How can I achieve this? I tried the advice here but it didn't work. ...
4
votes
1answer
69 views

moving from old plain TeX to XeTeX

I have a style file I used for a project in pre-Unicode age. Now I want to convert it for use in XeTeX. I used Computer Modern and now would like to use CMU Serif. Pointers on what to do with the ...
5
votes
1answer
29 views

Defining subfamilies for a font

I wish to import from files a font family, which comes in extra light, light, regular, medium, bold and black. Instead of defining several different font names and choosing them as I need, it would be ...
1
vote
2answers
74 views

My PSTricks is broken: empty output from pst-vowel example

Consider the following example from the pst-vowel manual (http://ctan.cs.uu.nl/macros/latex/contrib/pst-vowel/pst-vowel.pdf): \documentclass{minimal} \usepackage{tipa,pst-vowel} \begin{document} ...
3
votes
1answer
41 views

Ligatures with Alegreya Font in XeLaTeX

The following code does not create the expected ligatures (note that Alegreya is OTF): %XeLaTeX \documentclass{report} \usepackage{fontspec} \setmainfont[ SmallCapsFont={Alegreya SC}, ...
2
votes
1answer
15 views

xelatex: Minted code block represents tabs as ^^I

I am producing LaTeX output with org mode. My code snippets wind up being indented with tabs, because of my c-mode settings. Changing these would be inconvenient. Although the snippet I am posting ...
0
votes
0answers
45 views

How to print `n` arguments in a command?

This is what I want to do: \newcommand{\foobar}[n]{% \hspace*{1.5ex}-\hspace{1ex}\emph{#n}\\% } And then use it like this: \foobar {Hello} {World} However this doesnt actually work. I want ...
4
votes
1answer
142 views

Why isn't XeTeX embraced as the default TeX engine?

I'd like to know why XeTeX hasn't (yet?) replaced other engines that lack features we take as granted in modern computing, like support for Unicode and modern font formats. Is there any important ...
1
vote
1answer
16 views

XeLaTeX Unicode symbols do not show up in verbatim

The following snippet produces the desired result outside of the verbatim block, but not within the verbatim block. I guess I have to specify a font for verbatim mode that contains support for the ...
1
vote
0answers
24 views

Short footnotes on same line or centered in plain TeX

Is there in plain TeX a way to print two short footnotes on the same line (spaced as if in columns) or a single footnote centered?
0
votes
0answers
27 views

How should I include unicode characters in LaTeX? Is XeTeX better? I am using Ubuntu 14.04, do i need to install additional font package?

When I use pdflatex or xelatex, all the unicode special characters are not printed. The output only prints the normal ANSI characters.
11
votes
2answers
9k views

Couldn't open font map file “kanjix.map”. with MiKTeX

\documentclass{article} \begin{document} Foo \end{document} When compiling this MWE with MiKTeX 2.9’s xelatex, I get the following warning: ** WARNING ** Couldn't open font map file "kanjix.map". ...
3
votes
2answers
27 views

Right align footnote section rule

Here is my MWE: \documentclass[a4paper]{article} \usepackage{a4wide} \usepackage{xecolor} \usepackage{polyglossia} \usepackage{fontspec} \definergbcolor{titlecolor}{750000} \setmainlanguage{arabic} ...
1
vote
1answer
8 views

\textcolor with Arabic and polyglossia highlights whole line

I would like to highlight certain phrases in my XeLaTeX document in a different color. The document is completely in Arabic and I'm using polyglossia and xcolor. My problem is that the color bleeds on ...
8
votes
3answers
183 views

Aliasing an imported font to be reused later?

I have imported a font from files and set it as the main font like this: \setmainfont{EBGaramond}[ Path = fonts/eb-garamond/, Extension = .ttf, UprightFont = *12-Regular, BoldFont = *08-Regular, ...
0
votes
0answers
35 views

Changing Chinese Font Size

I've tried to set the default font size through the documentclass optional parameter but the font size hasn't changed. I'm using xetex with texmaker. My document: \documentclass[60pt]{ctexart} ...
1
vote
1answer
36 views

How to place a photo on this resume template

I would like to use this template(xelatex) for resume, in particular, I want to add a photo in the title block, just in the right of the name, could anyone help?
11
votes
2answers
598 views

Availability of LaTeX packages' functionality in ConTeXt, XeTeX, and LuaTeX

I am considering trying out ConTeXt, XeTeX, and LuaTeX, but one concern of mine is the fact that I am using a large number of LaTeX packages. There are a number of questions comparing these TeX ...
10
votes
1answer
242 views

What's wrong in the \tensor command?

After a recent update of MikTeX (and TeX Live!) on my computers (right after my vacation :)) I am not able to compile my book. The book is big and complex, uses many \if \else \fi constructions in the ...
2
votes
0answers
42 views

My font is ignored in beamer

I use Xetex for customize my font. I installed my font in my linux system. The command fc-list | grep -i Share-TechMono returns /usr/local/share/fonts/Share-TechMono.ttf: ...
1
vote
0answers
26 views

Xelatex not giving me my font

I'm using pandoc to export to PDF via xelatex. I have the template properly set up -- or at least it was last time I backed it up, which was before I reinstalled Linux. I then had to reinstall xelatex ...
5
votes
1answer
1k views

Package fontenc Error: Encoding file `eu2enc.def' not found

I got this error while running my tex file in XeLaTeX. For recovering this i install fonts by running following code : sudo apt-get install texlive-full sudo apt-get install ...
1
vote
1answer
23 views

Hyphenation in two languages in XeLaTeX + polyglossia

I am fairly new to LaTeX so please excuse any obvious parts of the question. I am looking for a way to setup hyphenation in 2 languages (Greek and English) at the same time. My setup is MacTeX ...
1
vote
1answer
38 views

Memoir sheetsequence counter does not increment when bidi is loaded

I would like to use \thesheetsequence in the trim area (sheet-number.tex) as described in the Memoir documentations but the counter does not increment (it always shows 1) and \thelastsheet is always ...
281
votes
5answers
47k views

Differences between LuaTeX, ConTeXt and XeTeX

I’m interested in the differences and commonalities between the “new” (La)TeX processors: LuaTeX, XeTeX, and ConTeXt. Personally, I’ve only used XeTeX so far and without having the time to try out ...
1
vote
1answer
62 views

Which flavor of latex to use? LuaTeX, XeLaTeX or LaTeX? [duplicate]

When I started using TeX, it was easy to build. Today I discovered that I can use different flavor of LaTeX to build my (La)TeX files. Is there a general rule of which flavor I should consider for a ...
0
votes
0answers
17 views

How to inlcude svg in xelatex [duplicate]

How can I make the following snipped work in xelatex. The svg package seems buggy, and I added the following commands from http://mirror.switch.ch/ftp/mirror/tex/info/svg-inkscape/ ...
2
votes
0answers
37 views

xelatex doesn't work properly with tikz when pgfpage with \pgfpagesuselayout is used!

I'm trying to make a fading background using tikz. It works great with pdflatex, but when I use xelatex it doesn't work properly. As I noticed the problem is because of \pgfpagesuselayout command. I ...
1
vote
1answer
11 views

Incorrect hyperlinks when \part is used. How can I correct this?

I used the advice in How to split a latex document using parts and chapters to section my book in to parts and chapters. However, the table of contents has links to chapter n in part 1, for chapter n ...
2
votes
1answer
23 views

Unwanted blank lines (in both columns!) when using paracol

Problem: I'm getting unwanted blank lines at seemingly random locations in my document for no obvious reason. Background: I'm creating a collection of short stories translated from various ...
2
votes
2answers
81 views

Issue with \xrightarrow

I get something weird from the \xrightarrow command: the line is dashed. Here is my main.texfile: ...
1
vote
0answers
23 views

Empty frames in beamer in case of RTL languages without tikz package, xelatex engine

I can not understand why all components of a beamer presentation are not showing (really empty frames) with this MWE \documentclass{beamer} %\usepackage{tikz} \usepackage{polyglossia} ...
6
votes
1answer
37 views

XeLaTeX misplaces ActualText box

The following MWE uses accessibility features of PDF provided by the package accsupp to replace the content of the selection corresponding to BBB with ZZZ in the string AAABBBCCC. ...
1
vote
1answer
29 views

Changing Caption Font Doesn't Work

I need to format the caption of tables and figures in my document so that is is 10pt Arial font bold faced. The main font is 12pt Times New Roman. I've tried the following (MWE), but it doesn't seem ...
0
votes
0answers
17 views

XeLaTeX: Create Special Characters NOT included in my main font [duplicate]

I am trying to compile a document in XeLaTeX which uses special characters (such as ā, ḍ, ī, ḷ, ṁ, ṅ, ṇ, ō, ṛ, ś, ṣ, ṭ, ū) but the main font that I prefer to use does NOT include these extended ...
2
votes
1answer
137 views

Using minted package on Ubuntu: .w18 file not found error

I am trying to run the following code through XeLaTeX, using the -shell-escape option: \documentclass{article} \usepackage{minted} \begin{document} \end{document} The file is named guess.tex and ...
1
vote
1answer
31 views

Bookmark showing a box for character

The following works on the computer that generated it. \documentclass{article} \usepackage[pdfencoding=auto,psdextra]{hyperref} \usepackage{bookmark} \usepackage{lipsum} \usepackage{fontawesome} ...
2
votes
1answer
58 views

Setting math fonts with mathspec changes monotype fonts of urls in bibliography

I'm working on a document with Xelatex so I use \fontspec. I have set the monotype fonts with \setmonofont to use Inconsolata, for example, in the urls of the bibliography. This minimal example shows ...
0
votes
0answers
25 views

using legrand-orange-book template with non-english language

I am trying to write a persian book using http://www.latextemplates.com/template/the-legrand-orange-book template. I have included xepersian package. My first problem is that when I wirte persian ...
3
votes
2answers
75 views

Use Font Awesome font in bookmarks

Is it possible to use a Font Awesome character(s) in a bookmark? This is what I have: \documentclass{article} \usepackage{bookmark} \usepackage{lipsum} \usepackage{fontawesome} \begin{document} ...
1
vote
0answers
23 views

Can i enable letter expansion with Xelatex somehow?

I have a two column which I want to compile with Xelatex. However, I get a lot of over/underfull hbox'es. I use the microtype and fontspec package. The former can only performe protrusion with ...
3
votes
1answer
35 views

Conflict between polyglossia and ucharclasses

I have an issue with the following (Xe)LaTeX code where I want to get proper French spacing around the punctuation. Here goes: \documentclass{standalone} \usepackage{polyglossia} ...
0
votes
0answers
31 views

Pantone framebox in XeLaTeX

I have my document in XeLaTeX. I need to use PANTONE colors, so I choose xespotcolor. MWE looks like this: \documentclass[a4paper]{article} \usepackage{xespotcolor} \usepackage{color} ...
2
votes
0answers
108 views

Layout issue with XeTeX and feynmp

I am trying to include Feynman graphics to my XeTeX document. Here is the main.tex file: ...
2
votes
1answer
134 views

Wrong pdflastxpos value with XeLaTeX+bidi

The answer from Vala helped me to rephrase my question. See the original one below. Using pdfsavepos to get absolute position of texts on the page, I faced the following problems when using XeLaTeX ...
3
votes
1answer
39 views

fontspec+polyglossia… lack of spaces before punctuation marks (French) in standalone and dinbrief

I fail to get Lualatex to properly typeset punctuation marks for French when using the classes standalone or dinbrief. In this minimal example I would expect to see spaces before the colon and before ...
2
votes
1answer
54 views

How to get xetex to find a Truetype font?

I'm trying to compile a lyx document that uses the Crimson font. \setmainfont[Mapping=tex-text]{Crimson} fontspec error: "font-not-found" |''''''''''''''''''''''''''''''''''''''''''''''' | A font ...
1
vote
1answer
55 views

Xetex - Font not found!

I'm a TeX Newbie and I'm trying to get XeTex to work with FontAwesome. Initially I got the error : The font "FontAwesome" cannot be found. So I added the path defaultfontfeatures as suggested in: ...
1
vote
0answers
39 views

Graphics appearing above text [duplicate]

For some reason the graphics is rendered above the text. I'm using xelatex (with Chinese characters). The relevant Chinese latex compiled using xelatex is on pastebin as for some reason stackexchange ...
18
votes
1answer
337 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...