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
2answers
44 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
43 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: ...
2
votes
0answers
32 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
36 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
65 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 ...
2
votes
0answers
62 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
52 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
40 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
62 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? ...
1
vote
0answers
46 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 ...
5
votes
0answers
76 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
26 views

XeLaTex error with spaces in name MiKTeX 2.9 update

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
51 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
214 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
42 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
43 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
29 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
36 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} ...
1
vote
0answers
53 views

XeLaTex and Noto fonts

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
21 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
35 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
31 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
48 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
59 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
84 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
35 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
36 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 ...
0
votes
0answers
51 views

How can I use more recent version of koma script in debian jessie?

I'm a bit desperate and hope you can help me: I have to write some important protocoll and want to use minutes.sty but it refuses to work witk KOMA script 3.12 which is part of debian jessie. I tried ...
6
votes
1answer
148 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 ? ...
3
votes
2answers
122 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
37 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
72 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
582 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
47 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
0answers
39 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
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} ...
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 ...
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 ...
6
votes
1answer
59 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
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. ...
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 ...
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
82 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 ...
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 ...
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: ...
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} ...