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
85 views

XeLaTeX + \setmainfont{CMU Serif} produces wrong characters

When I'm compiling with XeLaTeX and I use \setmainfont{CMU Serif}, the resulting characters are off by one. This means that an a becomes a b, a 1 becomes a 2, etc. \documentclass{article} ...
2
votes
1answer
88 views

Missing font with academicons.sty [closed]

I'm using TeXlive 2015 on Ubuntu 14.04. I have a file that looks like this: \documentclass{article} \usepackage{academicons} \begin{document} \aiicon{orcid} \end{document} When I do $ latexmk ...
3
votes
2answers
78 views

Todonotes for right-to-left languages

I want to add some marginal explanation notes for math lectures notes written in Arabic and I am using for that todonotes package. The problem is that the note text is not well adjusted.. I thought of ...
3
votes
1answer
65 views

Two different “main fonts” in use; use only one for numbers

I have defined a mainfont, but have further defined its italics to come from a different font. My question: What is the simplest way to get the "original" main font back just for numbers? I wish to ...
2
votes
0answers
63 views

LuaLaTeX vs XeLaTeX hyphenation and line layout [closed]

I am typesetting my journal just for the fun of it. I am using KOMA-script's scrartcl with two columns. I am testing with both LuaLaTeX and XeLaTeX. I haven noticed page count is different between the ...
2
votes
1answer
47 views

formular with cyrillic in Xe/Lua

Cyrillic in formular (https://www.ctan.org/pkg/formular) does not work with (Xe/Lua)LaTeX, but works in pdfLaTeX: \documentclass{article} \usepackage{ifxetex} \ifxetex \usepackage{fontspec} ...
4
votes
1answer
121 views

Bug in xelatex + unicode+math + vphantom

This question is a simplified version of a slightly more complicated problem with XITS Math: Consider the following code: \documentclass{article} \usepackage{unicode-math} \begin{document} \(|^a\) ...
2
votes
2answers
30 views

Implicite addressing of inner matrix nodes doesn't work here

Addressing the nodes inside of this matrix implicite doesn't work here. I don't want to name them explicte. \documentclass{standalone} \usepackage{xltxtra} \usepackage{tikz} ...
4
votes
2answers
114 views

Bug in xelatex + unicode-math + xits + \vphantom?

Compiling the file \documentclass{article} \usepackage{unicode-math} \setmathfont[ Extension=.otf, range={\smallblacktriangleright}, BoldFont = *bold ]{xits-math} \begin{document} ...
3
votes
1answer
53 views

Repeat the footnote as a header and footnote on next pages

I am quite new with Latex, and I am trying to solve a problem but I can't on my own. The thing is that I am editing a document, and I'd like that in that document, there are a header and "footnote" as ...
1
vote
0answers
55 views

How to avoid scaling of font?

Source: \documentclass[11pt]{article} \usepackage{fontspec} \defaultfontfeatures{Scale=1} \setromanfont{Times New Roman} \begin{document} Hello, World! \end{document} When checking font size with ...
1
vote
1answer
86 views

fontspec package causes error

For some reason the inclusion of the fontspec package causes XeLaTeX to not compile properly. Here is an MWE (inspired by Rob Hyndman): \documentclass{article} \usepackage{lipsum,fontspec} ...
4
votes
2answers
69 views

making hat over a character BOLD in text mode

Using the following method, I can place a hat symbol over any character in text mode. \^{} How can I render the hat in bold? UPDATE: \documentclass[aspectratio=169]{beamer} \usetheme{Warsaw} ...
1
vote
1answer
87 views

“No room for a new \mathgroup” when trying to set math font style on XeLaTeX

There's a similar question (http://tex.stackexchange.com/questions/86343/no-room-for-a-new-mathgroup) which doesn't help me because the original poster only needed a few glyphs and the answers seemed ...
1
vote
0answers
86 views

Texmaker 4.4.1 xelatex invokes pdflatex

I encountered an error while trying to compile a xelatex document from texmaker. This is information about my system Ubuntu Gnome 15.10 Texmaker 4.4.1 (installed form synaptic) texlive-2015 full ...
5
votes
2answers
82 views

\addfontfeatures attribute lost after next fontspec command (like \textbf{})

I'm using Linux Libertine font (from system) with XeTeX. In the body, I'm using OldStyle numerals while I want Lining numerals in the tables. I'm typesetting tables that have some cells with ...
3
votes
0answers
57 views

How to create Tagged PDF using XeLaTeX

I have successfully generated Tagged PDF using PDFMark in \special{ps: } via DVI->PS->PDF method. Now I am trying to achieve the same in XeLaTeX and not success. Can anybody help me to put PDF tags ...
0
votes
0answers
29 views

XeLaTeX with fontspec gives “Undefined control sequence” error after MiKTeX update [duplicate]

I updated MiKTeX this morning and now I can't get XeLaTeX with fontspec to compile at all. It throws an "undefined control sequence" error for \sys_if_engine_luatex:T A minimum working example is: ...
0
votes
2answers
36 views

Using Unicode character assertion 0x22a6

I am trying to typeset a document using Xelatex. The document contains assertion unicode character 0x22a6 but unable to render it. I have tried several methods such as using newunicodechar package, ...
7
votes
2answers
102 views

Fonts with well-behaved stacking diacritics?

My documents (compiled using XeTeX for the most part) make use of the transliteration system adopted by the Brill Encyclopedia of Hebrew Language and Linguistics. I had hoped to use Linux Libertine as ...
2
votes
1answer
92 views

How to obtain current language in polyglossia

How to obtain the current language set by \setotherlanguage{english} ? \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{czech} \begin{document} ...
0
votes
1answer
94 views

Modern TeXes handling of Unicode [closed]

I just may be misinformed, but roughly: Is still true that PDF is in principle able to use only 8bit encoding vectors? If not, how do LuaTeX/XeTeX handle larger glyph sets?
1
vote
1answer
135 views

LaTeX CV template not working probably

Sadly, I wasn't able to copy more than just the first of two errors: ! Package unicode-math Error: Cannot be run with pdfLaTeX! (unicode-math) Use XeLaTeX or LuaLaTeX instead.. See the unicode-math ...
2
votes
2answers
55 views

Overfull \hbox when inserting citation in blockquote

I am inserting a \blockquote in my document but when adding a citation at the end of it (with a \hfill to make it right-aligned), I get an Overfull \hbox. This only happens using xelatex which I'm ...
4
votes
1answer
135 views

Use Fira Code font with ligatures in code listings

I would like to use the Fira Code OTF font for code listings and verbatim blocks, which has beautiful ligatures. The font loads correctly using the following line: \setmonofont{FiraCode-Regular} ...
2
votes
3answers
100 views

Rendering a unicode en-dash in XeLaTeX [closed]

If I am understanding things correctly, using XeLaTeX, all of these lines should be output with proper em- and en- dashes respectively: \documentclass{article} \usepackage{fontspec} ...
2
votes
1answer
44 views

Polyglossia's babelshorthands spoils write-to-file command behavior and conflicts with graphviz

Example (run xelatex a.tex -shell-escape twice, or just xelatex a.tex if you don't have dot installed and then explore generated files manually): \documentclass{article} \usepackage[pdf]{graphviz} ...
1
vote
1answer
64 views

AlegreyaSans with mathspec in Beamer

Somehow I cannot get the AlegreyaSans font to work in Beamer with mathspec. The standard fontenc call for AlegreyaSans works for PDFLaTeX, but I need to use auto-pst-pdf for a table, thus the use of ...
11
votes
2answers
249 views

Why does xelatex produce different files from the same deterministic sources?

Take the simple latex source file: \documentclass{article} \usepackage{lipsum} \usepackage{amsgen} \begin{document} \lipsum[1-10] \end{document} When processed with "latex" you always get the same ...
4
votes
1answer
80 views

Can't get color or textcolor to work

I'm new to latex. I'm using a template on overleaf.com. I'm trying to change the color of some of the text, but it remains grey. Here's a simplified sample of the tex file: ...
3
votes
1answer
61 views

Right-to-left interlinear translation, multiple words for one translation

I'm using ExPex for an interlinear translation in Hebrew. I'm having issues when translating one Hebrew word with multiple English words: the English words are right-to-left, while they should be ...
0
votes
0answers
32 views

Can't compile file with cyrillic name

When I try to compile file with cyrillic name in XeTeX it shows the following: : Invalid argument: "Сочинение к 08.02.2016".log xelatex.exe: Data: "Сочинение к ...
1
vote
0answers
18 views

lstlisting typesets incorrectly some special characters when used with fontspec

This document results in the ellipsis (triple dots) being typeset before the parenthesis. Why is this so? How can I avoid this behavior? Note that I use the unicode Horizontal Ellipsis U+2026 ...
0
votes
1answer
39 views

changing font size of nested lists in itemize and enumerate environment

I am using the following to change the font size of items at different levels in itemize list: \makeatletter \newcommand\ChangeItemFont[3]{% \renewcommand{\itemize}[1][]{% ...
0
votes
1answer
56 views

Different baseline skip for first item after change in font size

I am having trouble getting the same baselike skip for each item in the following code. \documentclass{beamer} \begin{document} \begin{frame} \frametitle{XYZ} \begin{itemize} ...
1
vote
0answers
11 views

Text and scripts overlapped if subscript and superscript used at the same time [duplicate]

I am using following method to display superscript and subscript at the same time but due to the length of for e.g., superscript, the text and the superscript is being overlapped. ...
4
votes
2answers
85 views

Euler-Digits + siunitx hiding certain units (like Ohm)

It's been a couple of months since I last used my TeX, so I did some updates that became availabe (using MikTeX's software - Windows 7/64bit) and as of that moment, I noticed that my siunitx package ...
1
vote
0answers
37 views

Text symbols appearing as cross in beamer

I am using Museo Fonts (the case is same with Adobe Garamond Pro) to create beamer presentation but some greek symbols such as ϵ, δ and several others appear as cross-in-a-box. I have also tried ...
0
votes
0answers
29 views

Changing font of to address on letter.cls

I am trying to change the font of different pieces of a letter.cls letter so my cover letter better matches my resume. Right now, I have been able to change the body font, but not the font of the ...
2
votes
1answer
127 views

Undefined control sequence in first line of fontspec.sty

I am creating a CV in LaTeX. The below code is a MWE (example.tex): %%% ------------------------------------------------------------ \documentclass[paper=letterpaper,fontsize=10pt]{article} ...
0
votes
0answers
95 views

Neo Euler Math Font with XeLaTeX

I'm trying to use the following code to generate my xelatex PDF document. The main problem is that I get the error ! Internal error: bad native font flag in `map_char_to_glyph' when I compile my ...
3
votes
2answers
130 views

Referencing locations within a text box

I have a node I've drawn in tikz, like this: \node[below, text width=5cm] (SomeName) at (0,0) { \begin{itemize} \item line 1 \item line 2 \item line 3 \item line 4 ...
2
votes
1answer
36 views

Parts not working when using multiple languages with polyglossia

I'm working on a book document with xelatex. The document is divided into parts, and I have the occasional need to switch between two languages. I've found that when my document contains more than ...
3
votes
1answer
96 views

Does XeLaTeX in TeX Live 2015 force unicode quotation marks? [closed]

Using XeLaTeX in TeX Live 2015 seems to break classic LaTeX quotations (or force unicode entry, depending on how one looks at it). Results TeX Live 2014 fontspec.sty 2015/03/14 v2.4c Font ...
5
votes
1answer
104 views

XeLaTeX is not typesetting correctly with xeCJK after texlive update

After a tlmgr update --self --all two days ago, I have had problems with xeCJK with XeLaTeX. Some documents won't compile at all, and others have strange problems. For simplicity, I tried the ...
10
votes
1answer
360 views

Wrong math symbols with XeLaTeX and LuaTeX after TexLive update

I just updated my TeX live installation (tlmgr update --all) and now I get some wrong symbols in math mode if I use XeLaTeX or LuaTeX. This MWE for example \documentclass{standalone} \begin{document} ...
2
votes
2answers
50 views

How to activate hyphenation in \ttfamily without setting a font explicite?

I am suprised that in the code below no hyphenation is done. And I can not find something about that on the web. Maybe I use the wrong words for searching. \documentclass{scrartcl} ...
2
votes
1answer
59 views

Macedonian in TexShop

\XeTeXinputencoding utf-8 \usepackage{fontspec,xltxtra,xunicode} \setmainfont[Mapping=tex-text]{Times New Roman} \newcommand{\clrpg}{\clearpage{\pagestyle{empty}\cleardoublepage}} ...
2
votes
1answer
120 views

How declare a new package language

I need writing normal text and some sentences in artifical conscript language. How writing small as possible package and how use it (include?) in file? My language have my own font and each glyphs is ...
1
vote
0answers
46 views

Inexplicable spaces between letters in XeLaTeX

The following code \documentclass{minimal} \usepackage{fontspec} \setmainfont[Mapping=tex-text]{Epigrafica} \begin{document} Abcde \end{document} produces the following result using XeLaTeX in a ...