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

Automatic substitution of spaces in fields with Biber and Biblatex

I have a pretty large .bib file which fields may contain spaces (e.g. the "series" field can be "SIGMOD '99"). When I print the bibliography, some lines are thus broken on these spaces, which is ...
4
votes
2answers
106 views

Setting a fallback font for non-Arabic charset not supported by a certain Arabic font

the desired Arabic font is Droid Arabic Naskh source here. Problem is that when I compile the document using xetex I get funny boxes instead of non-Arabic charset as in the MWE below: MWE ...
6
votes
0answers
54 views

Correcting wrong choice of character variant from a stylistic set

I'm typesetting a document in German blackletter with XeLaTeX and ran across a peculiar — for want of a better word — error: The hyphenation in itself is okay at that position. However, German ...
2
votes
1answer
51 views

Disable some xunicode macros in case of T1 font encoding?

I was hoping that, except for inputenc/fontenc versus fontspec, old .tex files encoded in UTF-8 could be used without changing anything with either pdftex, xetex or luatex engines. But the following ...
0
votes
1answer
64 views

Does UTF8 add right-quote and left-quote recognition to LaTeX, XeTeX? [duplicate]

I've got a LaTeX novel writing project with lots of character quotations. I use Focuswriter to create chapter text files (ASCII, UTF-8). There is no LaTeX markup in the chapter files. A LaTeX ...
1
vote
1answer
51 views

How can I change to font used by hepparticles/hepnames with XeLaTeX?

I am trying to get the hepparticles/hepnames packages to work with XeLaTeX. I am using Libertine as serif font and Biolinum as sans font. The particle names are somehow rendered in the wrong font. ...
5
votes
0answers
88 views

Beamer and ampersands (XeLaTeX)

There are some known problems with ampersands and beamer (as discussed here, for instance), but I haven't been able to find a good reference... Anyway, the concrete problem I have is with tables ...
2
votes
1answer
33 views

\mathellipsis in XeLaTeX with mathspec

Following the solutions Punctuation marks in math mode in xetex/mathspec and XeTeX/mathspec punctuation issue, I am making adjustments to mathspec to force XeTeX to use punctuation marks of the ...
4
votes
2answers
116 views

Quote marks - Inverted L / Gamma symbol style?

I'm using XeLaTeX along with the cjk package. I'm trying to recreate quotation marks like the inverted L symbols in the following image: A first attempt. Here's a MWE after looking at the comments ...
2
votes
0answers
42 views

xetex cannot use font name instead of font file name even after “texlive-enable-fontconfig”

This article says xetex can only find fonts installed by texlive with its filename instead of font name, because xetex can only find fonts by font name in the system's font system. And here says with ...
4
votes
1answer
60 views

Can one set a specific character variant in xelatex for the word first letter only?

I'd like to have some code to set, document wide, a specific character variant for the letter "v" only if it is the first in the word. The solution in the MWE is not a solution because I have a ...
3
votes
2answers
150 views

fontawesome scaling, deedy-resume pgfplots axis, XeTeX, LuaTeX issues

I am currently working on a document using the deedy-resume template http://www.latextemplates.com/template/deedy-resume-cv in LaTeX and I have two issues which result in a dilemma and I can't ...
3
votes
2answers
60 views

Font changing back for no apparent reason

Writing up a rough grammar in XeLaTeX and using fontspec to change the default font to Bitstream Charter instead of CM. Everything works fine for the first page or so of output, but on the second page ...
2
votes
1answer
106 views

LaTeX Kurdish Kurdi / كوردی (Sorani) problems

I'm trying to use arabic script but it seems I run into trouble, the output is just a mess of question marks, literally. I took this code from this page (I'm on Macbook Pro Yosemite, TeXLive, ...
3
votes
2answers
71 views

How can I solve the vertical alignment with a CH2 and a ring?

I draw a picture like this: You may find that the right side of the molecule is under the base line. I know this problem is 'Vertical alignment' mentioned in P25 of the offical documantaion. After I ...
3
votes
1answer
60 views

How to make a ring have vertical alignment correctly?

I want to use xelatex to draw a chemistry equation which contained a horizontal benzene. But it counld not be placed well, like this: And I want this, except the unpleasant blank: Here is my code: ...
4
votes
0answers
84 views

How to create identical PDF files with xelatex?

The question how to create identical PDF files with pdflatex was basically answered in this question already: How to create identical PDF files? The catch was to filter out the entry /ID in the ...
3
votes
1answer
119 views

Adding Arabic text to an English document

I'm trying to include Arabic text in an English document (I'm a new latex user), but I can't seem to get any Arabic text to render at all, using xelatex or any kind of tex. I'm using texshop 3.51 on a ...
4
votes
2answers
147 views

Unicode macros for square root and integral

Is it possible to define math-mode macros √ and ∫ which would expand in the following way: √a ≡ \sqrt{a} √{a + b} ≡ \sqrt{a + b} ∫ ≡ \int ∫_a ≡ \int\limits_a ∫^a ≡ \int\limits^a ∫_a^b ...
5
votes
1answer
222 views

How to find out why xetex hangs for seconds at innocent pages?

Compiling a 130 pages long report with xelatex takes my PC about 4 seconds, of which at least 1 second is spent at one particular page, and some more time at a later page. The page where most time is ...
2
votes
1answer
64 views

How to type gas sign and equality sign in chemfig?

I want to type some inorganic chemistry equations and some organic chemistry, but I can't type =, ^(means that there is gas) or |(means that there is solid). For example, how to type 2NaClO = 2NaCl + ...
0
votes
1answer
80 views

how to create article with multiple (unicode) languages

I want to create a book that will help Asian people learn English. The requirements are - the book should contain text from 2 different languages, say, Hindi and English. I tried this multi-lingual ...
0
votes
0answers
75 views

Text processor for XeLaTex or LuaLatex

For my case, I'm interested in this EB Garamond font type. Because I am not very old users of Latex, can you help me to recommend me which Tex text processor can I use to make this second type font? ...
2
votes
0answers
61 views

Garbage characters in search results in PDF [closed]

When I do a search in some LaTeX documents in the Mac OS X app Preview, I get some strange characters in the search results. These seem to be characters inserted by macros, e.g. by biblatex. The ...
7
votes
0answers
93 views

Runtime of the TeX family

I have been searching in vain for statistics about the runtime of pdfTeX, LuaTeX and XeTeX. My impression is that (ordering by increasing runtime), LuaTeX > XeTeX > pdfTeX, but exactly how big is this ...
1
vote
0answers
54 views

XeLaTex error with spaces in name MiKTeX 2.9 update [closed]

Since the last MiKTeX 2.9 update, I am unable to compile .tex files with spaces in names, e.g. "file with spaces in name.tex" Any minimal file, as \documentclass[12pt, twoside]{report} ...
6
votes
1answer
88 views

How To Fix Rendering of Persian Font With XeLaTeX?

I am trying to typeset a poem with XeLaTeX using the IranNastaliq font, and I am running into problems with the glyphs rendered for many words. I have a PDF file I rendered from the same source tex ...
15
votes
3answers
237 views

Safely overriding default paragraph breaking to something unusual

I am, as an experiment, trying to simulate a certain typgraphic style which uses only the pilcrow sign to separate paragraphs -- no line breaking. What I'm after should look like this: This example ...
2
votes
0answers
60 views

including book name and chapter name above section name in memoir

I am using memoir with xelatex for typesetting a book with multiple chapters and sections. I would like to include the book name (or part name), and chapter name above the section title for each ...
4
votes
1answer
63 views

how to specify font for superscripts using ucharclasses with xelatex

Lohit Tamil Classical font that I am using with Xelatex does not have a glyph for superscript 4. (please see https://github.com/pravins/lohit/issues/68) I have tried using ucharclasses for automatic ...
1
vote
0answers
81 views

FontSpec Error in Ubuntu and TexStudio

I am using this code: \usepackage{fontspec} \setmainfont[Mapping=tex-text]{Courier New} I am getting this error: The font "CourierNew" cannot be found \setmainfont[Mapping=tex-text]{Courier New} ...
1
vote
0answers
46 views

Secondary math font definition

We are using XeTeX, and struggling to map mathematics fonts for secondary fonts. \documentclass{article} \RequirePackage{mathspec} \setmainfont{Palatino Linotype} \setmathrm{Palatino Linotype} ...
2
votes
0answers
91 views

XeLaTex and Noto fonts [duplicate]

I get an error - xdvipdfmx:fatal: sfnt: Freetype failure... - when trying to use Google Noto fonts. How should I proceed? MWE: \documentclass[a4paper,12pt]{article} \usepackage{xeCJK} ...
0
votes
0answers
46 views

Should I use fontspec with XeLaTeX + xeCJK?

Everything is in the title. I am currently typesetting a bilingual (French/Japanese) document using XeLatex. xeCJK takes care of the Japanese part and polyglossia takes care of the French part. ...
1
vote
1answer
81 views

xetex fontspec error ubuntu

I'm using a custom style (not made by me) for a report and when I compile it using PdfLatex it works fine. However, when I want to use the house style fonts I have to compile it with XeLatex and I get ...
0
votes
0answers
107 views

Compiling letter using xelatex and Sublime Text 3?

I recently upgraded to Sublime Text 3. I have troubles compiling a letter template that requires the fontspec package and compilation with xelatex. I'm using the LaTeXTools package and tell Sublime to ...
1
vote
0answers
50 views

how to protect pdf geneated from pdflatex and xelatex [duplicate]

I've a .tex file. Most of the times, we use pdflatex to convert .tex to required .pdf. Some times, we use xelatex to convert .tex to required .pdf These pdfs are editable using various tools; is ...
2
votes
1answer
71 views

Is this the best way to put unicode in a non-UTF-8 source?

I want to put the following phrase into a book. Khabarovsk (Russian: Хабаровск) is located 30 kilometers (19 mi) from the Chinese border. The source is NOT UTF-8 and I don't have the option to ...
4
votes
2answers
157 views

Defining different scripts with fontspec

My actual problem: I want to typeset Tigrinya text, which is using Ethiopic (Ge'ez) script. But the text also contains numbers (which are afaik. in the latin script). So I've defined a new font ...
2
votes
1answer
124 views

Problems with accents and special characters using xelatex template for CV

I am building my CV using the xeLaTeX template below: http://www.latextemplates.com/template/wilson-resume-cv When trying to include accents as I usually do in LaTeX, I got wrong symbols like this: ...
0
votes
0answers
106 views

Compiling moderncv example with XeLaTex results in an error

I want to use the moderncv package as a base for a cover letter, so I downloaded it from the CTAN website http://www.ctan.org/pkg/moderncv. The package provides some examples which I tried to compile ...
6
votes
1answer
165 views

How to get rid of that ugly acute (“anw tonos”) in the greek alphabetical numerals?

When using subcaptions in a figure, in a greek document (LaTeX or XeTeX), the labels are numbered with (α'), (β'), (γ') and so on, as shown below. Is there a way to remove the 's ? ...
4
votes
2answers
258 views

Fontspec: Bold Small Caps with Alegreya Font

I'm using the Alegreya font in XeLaTeX and, after scouring the fontspec documentation, I can't figure out how to specify the bold small caps font (not to mention the italic small caps). I feel like ...
0
votes
1answer
113 views

Using Custom External Fonts with ModernCV

Is there anyway to redefine the fonts used in moderncv from an external font file? (I will be using XeLaTeX). This is code I have seen use it, but not sure how to redefine the values in moderncv (I ...
2
votes
1answer
108 views

Anyone have experience with PythonTeX?

I have been trying to get PythonTeX working, but can't seem to solve the errors I'm getting. My current Minimum Broken Example is this: % !TEX TS-program = xelatex \documentclass{article} ...
4
votes
1answer
635 views

Why can't I compile the simplest TeX file of only 6 lines?

\documentclass{article} \usepackage[adobefonts]{ctex} \usepackage[os=win]{menukeys} \usepackage{listings} \begin{document} \end{document} The simplest TeX file above cannot be compiled with ...
3
votes
1answer
112 views

Why can't I change the title entry font of TOC using \cftsecfont?

Below is the MWE: \documentclass[a4paper]{article} \usepackage[adobefonts]{ctex} \usepackage{tocloft} \usepackage{titlesec} \begin{document} \title{Hello, \LaTeX !} \author{kk@latex.com} ...
3
votes
1answer
89 views

How can I extract a character code (code point) from a character slot in a given font? [XeTeX]

Question I am wondering if there is a way to provide the \XeTeXglyph as input and get the the character code (preferably in hexidecimal) as output. Situation I've been doing many experiments with ...
5
votes
2answers
90 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} ...
3
votes
2answers
225 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 ...