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)

19
votes
4answers
2k views

Generating a table of glyphs with XeTeX

I am trying to get XeTeX to generate a table of all the possible glyphs of a given font, but can not figure out how to make XeTeX know how many glyphs the font has, so I have to specify an exact ...
5
votes
2answers
80 views

How can I use \XeTeXcountglyphs\font in a pgf \foreach macro?

Problem I keep getting: You can't use `\XeTeXcountglyphs` in vertical mode. Attempt \documentclass{article} \usepackage{fontspec} \usepackage{pgf} \usepackage{pgffor} \begin{document} ...
1
vote
1answer
26 views

Installing xetex-pstricks on TeXLive

I installed xetex-pstricks via tlmgr install xetex-pstricks tlmgr update xetex-pstricks on my Windows 7 machine with a TeXLive installation. tlmgr info xetex-pstricks --list gave me info on ...
3
votes
2answers
104 views

Why are some Unicode characters missing when using XeTeX and Ubuntu Mono?

I'm trying to typeset a document using minted code listings that contain quite some amount of non-standard Unicode characters. I'd like to use Ubuntu Mono as a monospaced font. The following supresses ...
6
votes
1answer
58 views

Wrong color with hsb color series in xelatex

I tried to use hsb color series provided by xcolor package in the following code: \documentclass{standalone} \usepackage[table]{xcolor} \begin{document} % example one ...
4
votes
1answer
66 views

How to adjust the font of the entry numbers in TOC?

My first LaTeX article looks ugly, see above. How to adjust the entry numbers to look more large and in bold? And, without changing the following title text? \documentclass[a4paper]{article} ...
2
votes
1answer
59 views

XeLaTeX - gb4e example numbering in footnotes - Interaction with polyglossia package?

I thought the gb4e package for linguistic example typesetting would provide automatic switching of the numbering scheme between main text examples and examples in footnotes. This is not the behavior I ...
2
votes
0answers
37 views

Highlighting words with special characters using \hl (soul)

I am using xelatex, polyglossia and the document is in UTF-8 encoding. I use the soul package to highlight words (using soulutf8 makes no difference). The problem is really weird, so I will go ...
2
votes
1answer
67 views

Hat over numbers without math mode in XeLaTeX

I'm using the Alegreya font in XeLaTeX and I'm wondering if I can put a hat over numbers outside of math mode. I ask because Alegreya doesn't have math functionality, so the integers default to CM ...
1
vote
0answers
18 views

define environment with Verbatim and options [closed]

I'm working on an edition, and I need to create some environments using verbatim. I use the fancyvrb package and when I write : \documentclass[9pt]{report} \usepackage{xltxtra, fontspec, xunicode, ...
3
votes
1answer
42 views

How to create non-inline text in ModernCV?

Here is currently what the education section looks like. I want to be able to add the education text, without the bullet point. This is the current code: \cventry{Aug 2010 -- May 2014}{B.S. ...
0
votes
0answers
18 views

Normal numbers are superscripted when using \fontspec{<font name>}[Fractions=On]

This MWE produces superscripted numbers on my Windows machine. \documentclass{article} \usepackage{fontspec} \begin{document} \noindent \fontspec{Times New Roman}[Fractions=On] Should not be ...
3
votes
2answers
81 views

How to set a font family with pandoc?

I have some reports written in MultiMarkDown and want to convert them to pdf (via xelatex) with pandoc. As I am in an professional environment, a certain font-family is mandatory. The fonts are ...
18
votes
2answers
2k views

How should fontspec be set up to exploit the best features of Pro fonts?

Suppose that you have a Pro class fonts such as Adobe Arno which has several design sizes as described below: Design Size Size Ranges Caption: 8 point 5–8.5 point SmText: 10 ...
27
votes
5answers
4k views

What free math font could/should accompany Linux Libertine and Linux Biolinum?

Well, the title of the question pretty much says everything. To be more precise: I'd like to know (1) what font would be visually suitable to use with Linux Libertine and/or Linux Biolinum as the ...
5
votes
1answer
64 views

How can I re-enable hyphenation rules after breaking characters in polyglossia?

When using polyglossia to hyphenate my Turkish documents, I frequently have issues with very long words on short lines. I need it to be more aggressive about hyphenation wherever it can be. One ...
5
votes
0answers
188 views

Differences between XeLaTeX and LuaLaTeX embedding fonts (with optical sizes) in PDF

Using TexLive 2014 (updated today) on Windows 7 the following code compiles using XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setmainfont[ Extension = .otf, Path=otf/, ...
1
vote
0answers
67 views

Problem using Adobe Garamond Pro with Xelatex on MacPro

I would like to use the Adobe Garamond Pro (otf) font with mathdesign using XeLaTeX. I am running TexStudio and TexLive on MacPro. I have also added these font using Font Book: ...
2
votes
1answer
52 views

can't draw a line far enough to the right in a pspicture in landscape

I want to use pspicture in a landscape document, but I can't draw a line to the right hand side of the document with \psframe, while \rput works as expected. I've tried to create an MWE to demonstrate ...
0
votes
0answers
17 views

Reason for double hyphen instead of single hyphen for page numbers in bibliography? [duplicate]

Page numbers in my thesis chapter bibliography are not being displayed properly when I compile using XeLatex in TeXstudio on my mac (OS X Yosemite): In my preamble: \usepackage{natbib} ...
3
votes
0answers
23 views

mathspec and \RequirePackage{amsmath} error [duplicate]

In my package, I request amsmath with \RequirePackage{amsmath}, resulting in this basic setup: \documentclass{minimal} \usepackage{amsmath} \usepackage{mathspec} \RequirePackage{amsmath} % part of ...
3
votes
1answer
106 views

Why is XeLaTeX Pushing British English Text into the Margins?

I'm running into issues whereby TeX/LaTex/XeLaTex can't seem to calculate line breaks properly in regular paragraphs. This came about when I was experimenting with different fonts—in particular, Linux ...
2
votes
1answer
84 views

Use an *.otf font with fontspec

I an running Tex Live 2012 and would like to use the font Fira Sans in my documents. Unfortunately it is a relatively new font so not included in any of the packages for this version of Texlive. ...
3
votes
1answer
28 views

spacing between Japanese words (xelatex) [duplicate]

I'm working with Xelatex 3.14159265-2.6-0.99991 (TeX Live 2014/Arch Linux), compiling my .tex file and getting a simple .pdf file. I'm stuck on the following problem, occuring in a simple Japanese ...
1
vote
0answers
35 views

XeLaTeX and graphicx don't seem to work well

I am having trouble getting the graphicx package to work well when running XeLaTeX on my mac. I am including .jpg files; some of them scale very nicely, but others don't. Here is the MWE ...
4
votes
3answers
143 views

Fonts, italics and IPA 'a' characters [closed]

I am writing a document with XeLaTeX in which I use IPA characters in italicized text. After trying a few fonts with extensive IPA support like Gentium Plus, Brill or Charis SIL, I encounter the same ...
6
votes
1answer
486 views

Outline text using TrueType fonts

I'd like to write outlined text. Here is a minimal example, what I'd like to achieve. \documentclass[a4paper]{minimal} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} ...
1
vote
1answer
166 views

Install Fira Sans Font using Texlive 2012

I would like to create slides using this theme for Beamer but am having trouble getting it to work. I just copied the .sty files into /home/gthomson/texmf/tex/latex/mtheme. However the theme ...
1
vote
0answers
66 views

Do pdfTeX, XeTeX and LuaTeX share any code with Knuth's original TeX? [closed]

The title contains the entire question. The engines are different, but do they still share some code with Knuth's TeX, or are they "remakes" from scratch?
3
votes
1answer
56 views

Line-breaking unformatted URLs that contain no hyphens

Minimal example: \documentclass{article} \begin{document} https://path.to.really.long/url/that/contains/no/dashes/but/instead/a/whole/lot/of/forward/slashes/which/makes/it/exceed/the/page/width ...
3
votes
1answer
125 views

Render utf8 characters in pdf

I have a *.tex document encoded in UTF-8 which includes these characters: ⎡6 1⎤ ⎢ ⎥ ⎣5 3⎦ I'm having troubles reproducing such characters (apart from the numbers of course). I tried the ...
4
votes
1answer
52 views

Gentium font with cyrillic

There is a way, to use Gentium font with cyrillic text? I tried so: % !TeX encoding = UTF-8 % !TeX TS-program = xelatex \documentclass[12pt,a4paper]{article} \usepackage{fontspec} % loaded by ...
14
votes
4answers
4k views

How do I get the protrusion to work in XeTeX?

When I render my documents using pdfLaTeX and microtype they look fine, but when I switch to XeTeX the right edges of justified text look terrible: some lines overlfow, and hyphens look "indented". Is ...
1
vote
2answers
75 views

XeLaTeX not able to recognize Devanagari script

I am trying to use XeLaTeX to use Devanagari (and Tibetan) script directly in my code. It seems that for some reason, XeLaTeX is not able to recognize the Devanagari characters I put into the .tex ...
2
votes
0answers
41 views

Beamer with xltxtra: colliding characters in equation

I'm typesetting beamer with XeLaTeX. In equations, variable characters collide with their superscripts. Also, the parenthesised variable looks somewhat off-set – too far to the right. It looks good ...
1
vote
1answer
136 views

Tibetan unicode font not appearing properly [duplicate]

I am making a document using a Tibetan unicode font with XeLaTeX and fontspec. However, the text is not appearing properly. The super– and subscripted letters appear next to the base letter instead ...
6
votes
1answer
131 views

Why is the PDF font size 11.911 for Helvetica and 11.955 for Arial when using `xelatex`? [closed]

Now that the mystery is solved, why the PDF font size is 11.955 when declaring the documentclass as 12pt (see Why does PDFLaTeX and XeLaTeX generates 11.955 font size for 12pt documentclass option?), ...
0
votes
0answers
58 views

Xelatex is not compiling

I am trying to include Unicode characters in a latex template, which look like this \documentclass[11pt]{article} \usepackage{acl2015} \usepackage{xunicode} \usepackage{fontspec} \setmainfont{Times} ...
4
votes
1answer
147 views

XeLaTeX RAM usage problem (bug?)

There is something wrong with Xe(La)TeX's memory-management with some fonts: Compiling the following MWE with up-to-date xelatex on Mac OS X 10.7.5 uses up to 2.2 GB of the total 4 GB RAM available ...
4
votes
1answer
54 views

Problems with pdfcomments and Unicode characters in XeLaTeX

I'm trying to use the pdfcomment package in XeLaTeX. I can't seem to be able to use Unicode characters such as Czech ň or ě properly in \pdfmarkupcomment. Usually any such trailing characters of the ...
0
votes
0answers
182 views

miktex/xelatex & fontspec

Well I follow the suggestion here. I made sure l3kernel and l3package are activated. And the other two are uninstalled. However the error as described there still exists, so that answer is no longer ...
3
votes
2answers
76 views

XeLaTeX with ucharclasses and Greek Support

ucharclasses and Greek I find that the package ucharclasses cannot correctly identify all the Unicode Greek. e.g. if I use \usepackage{fontspec} \usepackage[Greek]{ucharclasses} ...
0
votes
1answer
132 views

Unable to load picture or pdf file, XeTeX, Win 8

I was A-OK with my previous Win 7. I have been having this problem ever since I changed to Win 8. I use TeXstudio to edit my files. I get the error below: Unable to load picture or PDF file ...
0
votes
0answers
26 views

Using Tibetan and Devanagari Unicode Script in XeLaTeX [duplicate]

I am quite new to LaTeX and I am trying to make a document with both Tibetan and Devanagari script. I know one can use XeLaTeX to use different Unicode scripts directly in your code, but for whatever ...
5
votes
2answers
107 views

italic small caps in Garamond #3?

I have the OTF files for Garamond #3 LT Pro, supplied by my publisher. I need to use italic small caps. The following MWE: \documentclass{article} \usepackage{fontspec} ...
3
votes
1answer
81 views

Positioning Tikz figure with xetex

I'd like to write a document using this template : http://phd.epfl.ch/modelesthese. When i'm compiling with pdflatex, there's no problem and the chapter headers are fine. Here is a MWE : ...
0
votes
0answers
73 views

Inaccurate position of inverse search with xelatex+sumatraPDF

It seems that the xelatex engin has some "bug" when work with sumatraPDF, the position is not correct! The same doc when compiled with pdflatex work prefectly. I really don't know what's the ...
5
votes
2answers
2k views

How to make LaTeXmk work with XeLaTeX and biber

I'm trying to make LaTeX make work with XeLaTeX and biber for my thesis. The document will have many cross references. What settings do I need to ensure it works correctly? My current settings for ...
4
votes
1answer
117 views

To have this Latvian letter in Beamer

This discussion is an extension of this answer but in Beamer -documentclass and with XeLaTeX. I can get some variants working there in Pdflatex, see Christian's answer but with bad output and I do ...
5
votes
2answers
129 views

Font for small caps in (French style) figure caption labels

Polyglossia {french} in Memoir Class. My preferred font is Open Sans. MWE compiled with XeLaTeX: \documentclass[a4paper,article]{memoir} \usepackage[demo]{graphicx} \usepackage{polyglossia} ...