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

XeLaTeX: mathtools, unicode-math and \text spoil \mathtt

I work on a big XeLaTeX document and encountered a rendering bug(?) with my MiKTeX installation (all packages are updated as per April 10, 2016). Here is a minimal example: \documentclass{article} ...
7
votes
1answer
98 views

XeLaTeX, fontspec and printing the name of the current font

Is it possible, using XeLaTeX and fontspec.sty, to write a macro, say, \printcurrentfont, such that it would print the name of the font currently in use? I have looked through the fontspec ...
1
vote
1answer
33 views

How to install ttf fonts on xelatex + BSD for www user?

I have a web application that runs on apache tomcat. The user for the process is "www". The home directory of this user is "/nonexistent" and I do not want to change that. (It is set to a nonexistent ...
40
votes
4answers
737 views

What have been the most important changes to LaTeX in the last five years? (2011–2016)

I spent the last two years out of the loop and came looking for information about the recent advances within the (La)TeX ecosystem, basically to see whether the issues I found frustrating enough to ...
1
vote
1answer
43 views

Still want to use “ptm” in XeLaTeX

I'm using XeLaTeX typesetting Chinese fonts in my document. (So XeLaTeX is the only suitable way for me to do my stuff.) I want to use the LaTex original ptm font to typeset all English text. I know ...
1
vote
0answers
27 views

cannot see bold and italic char in xelatex

I am writing a Persian article using Xelatex typesetting and the xepersian package. My problem is that I cannot see characters get bold or italic using textbf and textit respectively. This is my ...
2
votes
1answer
16 views

Forcing \alph to latin symbols in a multilingual document

If I use \alph{..} inside a hebrew block in a XeLaTeX document, I get a Hebrew numeral instead of a latin numeral. For example: \documentclass{standalone} \usepackage{polyglossia} ...
1
vote
1answer
51 views

Can't load system font by name with XeLaTeX but with LuaLaTeX

I installed a TrueType font in windows 10. Now I want to use it with XeLaTeX. The font can't be loaded. The first message is Sorry, but miktex-makemf did not succeed for the following rea son: The ...
1
vote
1answer
41 views

Change the shape of a tikzpicture

I am making a party hat using XeLaTeX with TikZ. Clearly for this to work the shape of the tikzpicture has to be triangular. How can I accomplish this? And, for the sake of generality, how can you do ...
0
votes
0answers
15 views

Problem with accentuation of polyglossia using xelatex

\documentclass[10pt]{article} % Font size - 10pt, 11pt or 12pt \usepackage{fontspec} \setmainfont{Minion Pro} \usepackage[hmargin=1.25cm, vmargin=1.5cm]{geometry} \usepackage{polyglossia} ...
0
votes
1answer
24 views

Changing the width of second page and so on in friggeri cv, keeping first intact?

Lots of people are interested in this at different places, but I couldn't find a direct solution. One can use the template from here. A part of it is answered here and a simple tweak would be to ...
0
votes
0answers
38 views

Awsome-CV print margin settings

I am using awsome-cv for creating resume. Default settings are \documentclass[11pt, a4paper]{awesome-cv} When i print the pdf file created by XeLatex, extra margins are added. My printer settings ...
2
votes
1answer
75 views

Custom Build (Sublime Text, Latextools)

I'm trying to customise the build function on Sublime text 3 to include separate outputs for the build files and the pdf. I am using Miktex and xelatex (by adding %!TEX program = xelatex) at the top ...
2
votes
0answers
22 views

Blank Output for Chinese Characters in LaTex

I have installed all the .sty packages that needed to type Chinese in LaTex, and I used the code below: % UTF-8 encoding % XeLaTeX \documentclass{article} \usepackage{xeCJK} ...
1
vote
1answer
25 views

change the default font to mcode font for Matlab file in XeLatex

I am writing my thesis and got stuck up with this problem. I am using Times New Roman as default font by loading \usepackage{fontspec} \setmainfont{Times New Roman} and I compile the TEX file ...
0
votes
0answers
35 views

xelatex Hangs with 100% CPU usage when using it with the switch: -interaction=batchmode and select error messages

I have been running xelatex on many .tex files some of which may contain syntax errors. I will be handling errors by checking the return code of xelatex. This works well most of the time in that when ...
4
votes
1answer
35 views

Use of enumitem breaks Bengali enumeration

Consider the MWE below. Here, I am trying to use Bengali numerals for enumeration as per the solution found here. \documentclass{article} % For bilingual document \usepackage{fontspec} ...
2
votes
0answers
65 views

ucharclasses misbehaves with Spacing Modifier Letters and Combining Diacritical Marks

The ucharclasses package makes it possible to automatically switch fonts (or do other useful things) based on the Unicode block of characters. However, it seems to be having trouble resetting the ...
2
votes
2answers
49 views

overlappings when texgyrepagella is used with stmaryrd

Consider running xelatex or lualatex on the following code: \documentclass[compsoc]{IEEEtran} \usepackage{unicode-math} \setmathfont[Extension=.otf]{texgyrepagella-math} %\usepackage{mleftright} % no ...
2
votes
0answers
43 views

Devanagari Combined Glyphs

Having some trouble with combined (ligature) glyphs in LaTeX. Not a hindi speaker (native or otherwise) but have been tasked with transferring translated documents in hindi into TeX format. When I ...
0
votes
1answer
40 views

with rmarkdown tufte-handout template xtables placed at the document end

I cannot understand why the chunks in rmarkdown would place tables at the end of the document. If I allow ECHO = TRUE in the chunk header, the code gets output in the correct place, but the table ...
1
vote
1answer
34 views

Luatex vs Xelatex automatic graphs drawing

I have question about automatic graphs drawing with latex. So I want to use \usegdlibrary To generate my graphs layout automatically without my interruption where to put states and nodes. Is it ...
2
votes
1answer
57 views

Japanese font with good kanji coverage for xelatex on linux

Can anyone recommend a font that has good coverage of kanji characters that I can use with xelatex on Linux? My immediate problem is typesetting the name Suzuki Matoshi (鈴木眞年). I'm not sure that a ...
0
votes
1answer
39 views

including own fonts in xelatex with fontspec doesn't work for “bold” “italic” font faces

can't solve this problem. For my thesis I am forced to use ugly "times new roman", using the free "times" won't do it. That's why I tried {font spec} (only under XelatTex) to include my own font ...
0
votes
0answers
31 views

What's wrong with my bibliography? [duplicate]

I am running my thesis.tex file, but something strange persists. It said ./thesis.tex:96: Extra }, or forgotten $. <recently read> } l.96 ...hy[heading=bibintoc, title={参考文献}] I went back to ...
0
votes
0answers
22 views

Geometry package working but having trouble w/ headheight, headset etc

When the code below, the compiler does seem to take into account the command headheight, headsep though it seems to respond to the other ones (voffset,show frame,etc...) What am I doing wrong ? ...
2
votes
1answer
63 views

Undefined control sequence. \begin{document} when compiling via Xelatex

This question has been asked several times before, but I think every individual's experience is a bit different. I have tried 3 latex templates, all of them giving the same error. Just for a ...
2
votes
0answers
20 views

Subscript kerning for specific letters in XeLaTeX

I have used the following code, which is a minor modification of @egreg's code provided in Making f active in math mode, to change the subscript kerning for specific letters (e.g. f in this example). ...
1
vote
1answer
55 views

Package titlesec 2.10.1 in XeLaTeX removes numbering on sections and subsections [duplicate]

I've been using titlesec in XeLaTeX for quite a long time and never had problems with it. But recently, I updated it via tlmgr (as I have TeXLive 2015) to 2.10.1 and now I'm facing this situation: ...
2
votes
1answer
68 views

Wrong function plot in TikZ

I am dealing with a polynomial function, but the TikZ plot is NOT consistent with the output from Excel. How can I fix the problem? Code (This code is generated by GeoGebra): ...
3
votes
1answer
69 views

How do I set the word spacing when using a specific font with fontspec?

I have a custom font that I use, but the words are always too close together. Can I fix this so that whenever this font is used, the spacing is the same? Something in em or similar would be great. I'm ...
3
votes
1answer
62 views

Listings & unicode characters

I want to write some unicode characters to lstlisting environment but they are displayed inline in the output which isn't what I am expecting. How can I make it work like standard characters? Thanks. ...
1
vote
1answer
22 views

Replacing only the text font in beamer with XeTeX

I'm trying to make a beamer presentation in which only the text font is changed, but the math remains the same. I would have thought that this would do it, \documentclass[english]{beamer} ...
4
votes
1answer
79 views

Disabling all document interactivity (for PDF/X compliance)

I am working on making my XeLaTeX-compiled PDF file compliant with PDF/X-1a:2001 standard. When I use this answer with TeXLive 2015, document validates fully (in Acrobat Pro DC). However, when I test ...
0
votes
0answers
20 views

How to add Hindi/Devnagari font in the document using sharelatex?

I am facing problem to embed Hindi font in my document. when I am using this http://pastebin.tlhiv.org/BIRP0Hot it works fine , but when I use http://pastebin.tlhiv.org/zdHxUMEb, it shows error. ...
1
vote
0answers
57 views

XeLaTeX failing with Microsoft Fonts

I am using XeLaTeX to produce a \documentclass{report} and am having problems loading Microsoft fonts. The Console reports: xdvipdfmx:fatal: Cannot proceed without the font: ...
8
votes
0answers
81 views

Adding full non-English Unicode language (Bengali) support to polyglossia

As we can see in this question, Bengali (Bangla) support in polyglossia is incomplete. The major weak areas are, Support for numerals. Support for other language related areas like dates. For ...
15
votes
1answer
166 views

How to enable protrusion for superscript numbers?

I am using the memoir class in XeTeX with the microtype package. As generally protrusion works as expected, it doesn't work for superscript numbers, which occur as footnote references. According to ...
1
vote
0answers
43 views

Titletoc / Titlesec numbers overlap text

Pretty simple problem, I have part numbers included in my section and subsection numbers, and I want to increase the space after the numbers, preferably without screwing up the rest of the alignment. ...
3
votes
0answers
37 views

Cochin and common ligatures with font spec

I'm using Cochin as main font in a XeLaTeX project, and having Cochin glyphs for common ligatures such a fi and fl, I would expect those ligatures to be used by the fontspec package—but that's not ...
1
vote
0answers
45 views

polyglossia and Russian hyphenation

I try to set Russian hyphenation for polyglossia/xelatex (I use pandoc 1.15.2.1). I've installed two packages: $ tlmgr info hyphen-russian tlmgr: package repository ...
5
votes
1answer
91 views

Dot bellow letter in bibliography.bib file?

Using the first solution in this answer, we get a dot bellow the letter with \d{s} command, but how does this work in bibliography.bib file? MWE: \documentclass{scrbook} \usepackage{fontspec} ...
0
votes
1answer
37 views

How to Change Header Footer font and Color in XeLatex

I need to change the Header Footer in Latex which need to be compiled in XeLatex. Header - Green using Lato-Light font Footer - Red using Raleway-Light font Here is the link to the MWE. Fonts are in ...
3
votes
1answer
36 views

latexmk -xelatex produces texfile with empty page instead of unicode characters

the code: \documentclass[12pt]{article} \begin{document} ääßöüü \end{document} with the options: latexmk -xelatex test.tex results in a empty page. what is wrong here? logs: Latexmk: This is ...
3
votes
2answers
67 views

Using German sharp S (ß) with Bitstream Charter and XeLaTeX

I have a German sharp S (ß) in my document. When I compile the document with XeLaTeX, ß is changed to SS. It works with the default font but not with Charter (using the XCharter package): ...
1
vote
0answers
48 views

XeLaTeX - special unicode characters

I found that work with unicode characters is a lot easier using xelatex than pdflatex, therefore I'd like to use it. Most of the content is displayed correctly but I have a problem with some special ...
1
vote
1answer
35 views

How to either: wrap image in text or place image at specific location

I am very new to Latex and I am struggling to place a picture of me at the top of my resume. I did my best to make a minimal working example since I have seen that it is appreciated while looking for ...
2
votes
1answer
70 views

Using the Google Noto fonts with fontspec

I've been typing a multilingual document that uses Latin, Cyrillic and Georgian characters, and I'm utterly stumped as to how to get fontspec to select the right fonts. If I use the MWE below, it ...
2
votes
0answers
42 views

Dynamic Renaming LaTeX output

Is it possible to code into the .tex file a method for specifying its name. E.g. if I wanted it to be named based on the date, would it be possible to dynamically name as such: ...
2
votes
1answer
88 views

Installing cm-unicode font family on miktex for use with xelatex

I've been trying to install the font family cm-unicode on my MikTeX distribution (Windows 10). I'm new to XeLaTeX, and can't seem to find proper documentation on the installation of entire TrueType ...