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)

4
votes
1answer
374 views

MikTex CJK Windows font issue

I usually use the MS Mincho font for doing Japanese stuff. However, with XeLatex the following creates gobbledegook: \documentclass{article} \usepackage{xeCJK} % Font should be available on windows ...
7
votes
1answer
2k views

unicode-math and various fonts fail at giving decent spacing in formula

I want to check if this problem is due to my configuration or if it is some kind of bug. This are the packages I load and the configuration for them (all very minimal in order to test the problem). ...
3
votes
1answer
206 views

Backquote in Arial font

Is there a workaround for the ugly backquote in the Arial font? For example, running xelatex on the following: \documentclass{article} \usepackage{fontspec} \setmainfont{Arial} \begin{document} ...
8
votes
1answer
366 views

XeTeX: better using system fonts or packages?

I've recently switched to XeTeX. In my document I use this code to set the fonts: \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} \usepackage{xunicode} \usepackage{fontspec} ...
8
votes
2answers
596 views

Strange error when unicode-math and hyperref are combined in xelatex

The following is an MWE for a problem that I'm facing: \documentclass{article} \usepackage{hyperref} \usepackage{unicode-math} \setmathfont{Asana Math} \begin{document} \section{$2\times 2$} $2 ...
4
votes
3answers
634 views

How to make footnotes left-right and the numbers in English in Persian documents?

The document is compiling in Xelatex and the whole document is Persian using the package xepersian. The footnotes are all in English but they are aligned right and the numbers are persian. I want the ...
1
vote
0answers
104 views

English References in mainly Persian Document (XeLateX, BibTeX)? [closed]

I am compiling my document in Persian using XeLaTeX, but the references are all in English and I'm appending them using BibTeX. At the end of the document, the references are all unknown characters, ...
3
votes
1answer
384 views

Special characters

I'm using XeLaTeX to compile my document. If I write in my document --- I don't get —, but --- in my PDF document. Same for – (--) character. I'm sure that font which I'm using have this character ...
8
votes
3answers
3k views

Using Linux Libertine in math mode with unicode-math (XeLaTeX)

I'm trying to use the Linux Libertine font for my thesis. Libertine in fact does have mathematical symbols, but I didn't manage to use them properly in unicode-math. The following example sums up my ...
6
votes
2answers
527 views

Is it possible to change text color for all headings?

I want to change only the color (not font size, etc.) of all headings in my documents (\section, \subsection, \subsubsection, ...). I want to keep all other settings fixed. Is there a way to do ...
4
votes
1answer
961 views

MikTeX cannot find the file

Why is it that MikTeX's XeTeX cannot find my file? Dude, you're right there in the same directory as the file, why can't you see it?!
2
votes
1answer
384 views

XeLaTeX, otf fonts and dotless i

I am on an ubuntu machine with XeLaTeX and have been facing this annoying issue. On setting roman font to any of my otf files (Adobe Jenson Pro, Adobe Garamond Pro etc), the dotless i and j characters ...
3
votes
1answer
1k views

Xelatex issue when using Xelatex template

I'm experiencing a problem when using a cover letter template I downloaded from http://www.latextemplates.com/cat/cover-letters. Here's my preamble: \documentclass{scrlttr2} \usepackage{fontspec} ...
13
votes
1answer
605 views

Can PDF search find words with ligatures in XeLaTeX-documents?

Is there some way allow PDF search to find words with ligatures? I use XeLaTeX. \documentclass{book} \begin{document} Prefix. \end{document} In the resulting pdf file, searching for the word ...
3
votes
1answer
8k views

How to setup XeTeX on Ubuntu?

I am fairly new, but have some experience with using LaTeX. I mostly use it for various mathematical and scientific documents and school papers. However, seeing as how my native language uses various ...
2
votes
1answer
211 views

Where does MacTeX store fonts in texmf?

Where does MacTeX store fonts in texmf? Specifically, I want to know where it stores XITS and whether or not I have to add it to the fonts list to use XITS with XeTeX.
15
votes
1answer
1k views

Create a fancy page layout

In the following picture (desired layout) the grayed area is reserved for the header. It is supposed to be fancy looking with tikz pictures, chapter/section names with pretty fonts etc. The ...
19
votes
2answers
501 views

How can I improve my Turkish Small Capitals (XeTeX)

Status update In a private email, Bogusław Jackowski (to whom my sincere thanks) has recognised this as a bug in the TeX Gyre fonts. As the TeX Gyre team are all working hard on another piece of the ...
7
votes
2answers
797 views

\sqrt[x]{y} Breaks With unicode-math

I’m having trouble with XeLaTeX (0.9998) and unicode-math (0.7a). If I use \setmathfont more than twice, the \sqrt command breaks when a superscript is specified. \documentclass{minmal} ...
8
votes
3answers
3k views

Command \nobreakspace unavailable when switching to T1 encoding under XeLaTeX

I'd like to use the luximono face for monospaced typesetting under XeLaTeX. Since it is already installed in the MikTeX distribution under T1 encoding, I switch to the latter when I need monospaced ...
3
votes
1answer
190 views

why isn't a blank page inserted?

Shouldn't the following code \documentclass{book} \usepackage[absolute]{textpos} \providecommand{\insertblankpage}[0]{ \newpage \leavevmode \thispagestyle{empty} \newpage } \begin{document} ...
2
votes
1answer
102 views

Insert pdf to the begining

Using pdfpages when I add a pdf like \documentclass[10pt,twoside,draft]{book} \usepackage{log} \newfontfamily\dejavu{DejaVu Sans} \begin{document} %-----------------------------Cover ...
7
votes
2answers
3k views

TeX Live 2012, XeLaTeX, moderncv, error “Failed to convert input string to UTF16”

I'm getting this error from moderncv version 1.1.1. With earlier version everything was ok and I did not make any changes to my tex document. I don't use any special font. File encoding is set to ...
7
votes
3answers
479 views

Why does xelatex need fontspec to output non-ASCII characters?

I thought the point of XeTeX was to allow Unicode to work out of the box (in addition to leveraging system fonts). So how come the following does not output anything unless I use the fontspec package? ...
2
votes
2answers
1k views

XeLaTeX rotating my figures in Beamer

Whenever I compile my beamer presentations with xelatex, it forces any .pdf figures I've included with \includegraphics to rotate 90 degrees. If I compile with pdflatex or lualatex, I do not have this ...
3
votes
2answers
705 views

Font features selection in Xe(La)TeX

I am using the XeTeX engine in order to compile a document based on a class of my own, and the package fontspec to select the face families and features. Though this is not relevant for my question, ...
0
votes
1answer
469 views

modular title pages

How to achieve having modular title pages in latex (xelatex), to only have to change one word in the .tex file and have it changed? All the files must be defined in the project's directory, not ...
3
votes
1answer
2k views

How to compile properly a document using “fontspec” package?

How to compile properly a document using fontspec package? Example code (15.1. XeTeX @ LaTeX-wikibooks.pdf) \documentclass{article} \usepackage{fontspec} \setmainfont{Arial} \begin{document} Lorem ...
4
votes
1answer
208 views

“fo”-ligature makes PDF code look strange in xetex

I'm trying to extract table data from a PDF. To this end, I need the precise locations of the beginning and end of a piece of text, and that's where my question comes in. For testing, I generated some ...
3
votes
1answer
697 views

xelatex: Japanese + latin diacritics with cedilla/comma, slanted text

In a document, I need to get all these working: japanese text latin diacritics with cedilla, e.g şţ and with comma, e.g șț slanted text This is a book I also distribute to others, so I can't ...
5
votes
1answer
646 views

How to make a new tex command in org-mode-latex?

In a general tex-file, one can easily define a new command, for my case, let me take this as an example: To put this code in header \newcommand{\dd}{\,\mathrm{d}} I can use the shorter command to ...
5
votes
2answers
2k views

underfull vbox (badness 10000) with memoir

Sorry if this question has been asked very often, but I can't easily find an answer to my specific question. I am using XeLaTeX and the memoir class to produce a rather long document (100 pages) with ...
8
votes
1answer
254 views

XeTeX source code

There has already been a question on where to find the source code for pdfTeX. The answer is that it can be found on CTAN, in the systems directory. Unfortunately, the source code for XeTeX is not ...
5
votes
1answer
764 views

XeLaTeX, Modern Latin and cyrilic

\documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setsansfont{Latin Modern Sans} \setmonofont{Latin Modern Mono} ...
1
vote
0answers
422 views

Beamerposter and fonts with xelatex/fontspec [closed]

Has anyone had success with using beamerposter and xelatex/fontspec? I am able to use fontspec for normal documents, but when I try with beamerposter I keep getting warnings such as LaTeX Font ...
3
votes
1answer
890 views

Double stroke fonts with unicode-math like dsfont

It is tempting to switch to unicode-math. But there is (at least) one point that I still don't like. That are the double stroke characters. They look simply terrible in XITS Math. Just compare: ...
7
votes
1answer
787 views

Computer Modern in XeLaTeX

I love XeLaTeX for things like $a≠b$ ⇔ $ a⊧a↑Ω$ All days before I used DejaVu fonts and Asana-Math for unicode-math. But today I have to get visual compability with LaTeX. So I installed Computer ...
5
votes
1answer
780 views

Setting font protrusion in XeLaTeX with microtype v2.5

I am testing microtype v2.5 with XeLaTeX and have checked the font protrusion features. With the default features, the hyphen protrudes at a hyphenation about 50 per cent of its width. Nonetheless, ...
3
votes
2answers
980 views

pst-barcode, textpos and XeLaTeX

Please consider the following MWE, which shall place a QR code (pst-barcode package) at a fixed position on the page using the textpos package: \documentclass{article} \usepackage{pst-barcode} ...
6
votes
1answer
1k views

Whats the appropriate paper size command with xelatex these days?

i am trying to use xelatex from the mactex 2012 package to build a paper at DIN A4 paper size. using any of the following commands does not do the trick, it keeps set at 21,59 × 27,94 cm which is ...
1
vote
0answers
36 views

How to change default font size with XeLaTeX compiler and style file [duplicate]

Possible Duplicate: Making default font size 16pt I need to change font size to 14 points with XeLaTeX. I used: \documentclass[a4paper, 14pt]{report} But the result is still 10pt. I ...
3
votes
2answers
362 views

color of unicode-math in xetex

My question is based on the example which may be found here in teh second answer. Actually, I discovered this feature of unicode-math some time ago, but suspected that I am doing something wrong. ...
5
votes
1answer
608 views

How to achieve line spacing when using custom font

I would like to be able to determine the line spacing in the following example: The line spacing is clearly not good. My TeX code looks as follows: \HRule \\[0.5cm] { ...
14
votes
1answer
2k views

Using TIPA with fontspec

I'm trying to write a document that will contain characters in many different scripts (for which I am using fontspec and rendering with xelatex) and IPA symbols (for which I am using TIPA). ...
1
vote
1answer
245 views

What is the easiest way to insert Thai words in an English lyx document?

I am a big fan of Lyx, but find that when I want to include a few Thai words within an English document, things start getting difficult. There are many solutions posted online, not all of which are ...
1
vote
1answer
474 views

Typesetting documents that are a mix of Arabic and Latin script without annoying markup

How can I insert LTR script directly within RTL text without cumbersome markup? (consider a Language learning book. ) What is most clean method to write following texts? Aa bb cc ااا ببب تتت dd ee ...
2
votes
2answers
330 views

How do I typeset ‘long’ waveforms with tikz-timing?

I'm typesetting with the book class (so, one column), and I need to typeset various waveforms with tikz-timing. When I was using it for two-column documents, I never had a problem, but now I've come ...
4
votes
1answer
465 views

How to work with large projects

I am working on a project and i want to slim it down a litle so please help me with the following. I have a document structure like this: /DocumentRoot |-main.tex |-title.tex | |-/chapter-1 | ...
2
votes
1answer
658 views

Customizing \chapter command

Here is the picture: The code is from this post. \documentclass[a4paper,12pt]{book} \usepackage{graphicx} \usepackage{lipsum} \usepackage{fontspec} \usepackage{titlesec} \setmainfont{EB Garamond ...
2
votes
2answers
718 views

Sans Serif headings, Serif Body text

I'm using ConTeXt, with XeTex. So I'm compiling my document: texexec --xetex foo.tex I would like to follow the convertion of having my headings all in Sans Serif, and my body text in Serif. I want ...