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
111 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
94 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
30 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
40 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
150 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
496 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
0answers
67 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
57 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
131 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
56 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
1answer
83 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
144 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
132 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
61 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
151 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
56 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
190 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
80 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
155 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
122 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
82 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
118 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
148 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} ...
4
votes
2answers
86 views

Edit contents title and running header separately

I'm typesetting a book using XeLaTeX. In creating the table of contents, I want to have control over: The title at the top of the toc The running header throughout the toc I want the contents ...
2
votes
0answers
60 views

Determine whether the macro/function is in subscript, in superscript, or neither

I would like to provide different formatting for an xparse command, depending on whether the command is expanded in superscript, in subscript, or neither. That is, I would like to know inside the ...
8
votes
3answers
579 views

Korean characters scrambled [XeLaTeX; Noto Sans Korean]?

I was trying to find a font which has obsolete jamo and the right combining behaviour. Yesterday I found out about Noto Sans, which seems to have both of these. However, when I use it in XeTeX, I get ...
5
votes
1answer
50 views

How to enable OpenType font features for Hangul?

In my document, I need to typeset some Hangul syllables that are not available as composite characters. I tried to set this up as in this MWE: \documentclass{article} \usepackage{fontspec} ...
2
votes
0answers
76 views

Defining a screenplay dialog environment for breaking across pages

Edit: consider this a followup to the answer here http://tex.stackexchange.com/a/63847/64528 I'm trying to create a LaTeX/XeTeX template for screenwriting, specifically to output from an Emacs major ...
5
votes
2answers
191 views

Place TikZ picture over top of text

I'm designing some letterhead using LuaLaTeX (interchangeable with XeLaTeX at this point) where I want my signature and name to be drawn like this: The signature is a TikZ drawing, the text is ...
2
votes
1answer
30 views

\sffamily does not show Greek characters

I have been trying to generate a timetable for my weekly schedule via a GNU SF template that I've found. As I'm Greek, I wanted the text in the schedule to be in Greek. The template I use is Pascal ...
3
votes
0answers
100 views

Is LuaTeX planned to have as good font capabilities as XeTeX? [closed]

The title almost says it all. As I understand it, XeTeX was built from the ground up for its font support, while LuaTeX only got fontspec support years after its creation. While font support will ...
4
votes
1answer
56 views

Unwanted behavior of Chinese punctuation mark getting incorporated into the URL right before it

Minimal working example: % !TeX program = XeLaTeX \documentclass[12pt]{article} \usepackage{xeCJK} \setCJKmainfont{標楷體} \begin{document} 網址:http://www.google.com/。 \end{document} When I open the ...
4
votes
1answer
47 views

Latex Tengwar Combining Diacritics Not Combining

This is the code I am using to try and get nicely combined Tengwar, but it's coming out with all the combining diacritics on circles next to the characters, instead of on top of them. ...
19
votes
1answer
376 views

How do I get into XeTeX development?

The support for OpenType fonts has been a great advancement in terms of usability. Unfortunately the microtype package does not offer font expansion for OpenType fonts in XeTeX. I dug a little ...
3
votes
0answers
41 views

Spurious punctuation in xelatex + biblatex + Cyrillic or Greek

Biblatex has a mechanism that prevents spurious punctuation. Generally, it works fine but fails with xetex and some languages. The MWE below compiles fine with pdflatex but with xelatex yields double ...
4
votes
2answers
79 views

Using ranges with pdfpages fails

The documentation says the following: E.g.: pages=- will insert all pages of the document [...] however, when I put \includepdf[pages=-]{foobar.pdf} in my LaTeX doc (compiled w/ xelatex), I get ...
0
votes
0answers
43 views

! Undefined control sequence. <recently read> \initiate@active@char

Some weeks ago I compiled this code: \documentclass{ltxdockit} \usepackage{xltxtra} \setmainfont[Numbers=OldStyle]{TeX Gyre Bonum} \setsansfont[Ligatures=TeX,Scale=MatchLowercase]{Candara} ...
0
votes
0answers
44 views

Dash sign in file .bib is double when compile it to pdf file

Why bibtext file: ... pages = "419-444", ... generates 419--444 for me in pdf?
2
votes
1answer
75 views

How to \setmainfont when “randomfont.ttf” is in different folder?

I'm currently working in sharelatex online Latex editor, using XeLaTeX. I had all the fonts working using the fontspec package, however once moved to the Fonts folder there is no way to make them ...
4
votes
0answers
109 views

Why XeLaTeX and PDFLaTeX give different outputs for Beamer presentation

I have 3 questions: Why does the following code (see below) give different results in XeLaTeX than PDFLaTeX? Which one is incorrect? (My guess is that XeLaTeX's output is incorrect.) How do I ...
17
votes
2answers
847 views

XeLaTeX and TikZ - how do I ensure my PDFs are using the CMYK color model?

The place I want to print my document at needs the PDF to be provided in CMYK. The document is mostly text, except for a few graphs and plots which are done in TikZ or pgfplots. As suggested in this ...
18
votes
6answers
3k 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 ...
4
votes
1answer
29 views

fixfoot package crashes when footnote contains enumerate enviironment

I'm trying to do something like this \documentclass{article} \usepackage{fixfoot} \begin{document} \DeclareFixedFootnote{\footone} {This works OK} \DeclareFixedFootnote{\foottwo} {% ...
7
votes
2answers
119 views

Polyglossia ignores my custom hyphenation

Polyglossia systematically ignores my custom \hyphenation, and generates overfull hboxes all over the place as a consequence. Here’s an example: \documentclass{article} \usepackage{polyglossia} ...
0
votes
1answer
33 views

How to cite RFC using natbib

I would like to cite an RFC in my xelatex scrbook class with natbib as [RFCXXX] style, for example: in file body: this is my rfc citation [RFCXXX] and in my bibliography print [RFCXXX] authors, ...