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)

7
votes
2answers
738 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} ...
7
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
181 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 ...
5
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
425 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
661 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
439 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
1k 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
198 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
621 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
494 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
233 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
618 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
378 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
745 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
701 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
750 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
828 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
35 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
317 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
531 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
1k 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
226 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
419 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
306 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
370 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
600 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
651 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 ...
2
votes
2answers
1k views

Use font in XeTeX not installed on my system

Using XeLaTeX, how can I use a font that I have downloaded in a folder, but have not installed on my system? I have tried to specify the path in setmainfont{Path = C:/MyFolder/MyFonts/, but I receive ...
4
votes
1answer
504 views

Modifying EB Garamond font

Is possible modifying this font to have only the "normal" s and u also in the doubles ? \documentclass[pagesize=auto, version=last]{scrartcl} \usepackage{fontspec} \usepackage{microtype} ...
1
vote
1answer
427 views

16th century French Bible compilation

How should the tex file for this project (dowload zip) be compiled? I use TeXLive 2011 and texmakerx22b12_win32 for editing. I have found it in this post.
3
votes
1answer
938 views

xetex and tikz fadings dont work

Here is the following siple code \begin{tikzpicture} \fill[black] (0,0) rectangle (8,1); \fill[white,fading=west] (0,0) rectangle (8,1); \end{tikzpicture} i use it with the following library ...
1
vote
1answer
280 views

Overbrace is not alligned correctly

Here is an equation: \documentclass[a4paper,10pt]{report} \usepackage{xltxtra} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{array} \usepackage{unicode-math} ...
16
votes
2answers
955 views

Parentheses differ (XeLaTeX, fontspec, newtxmath, libertine)

After Internal error: bad native font flag I stumbled upon another weird problem with the combination XeLaTeX/fontspec/Libertine/newtxmath: \documentclass{scrartcl} \usepackage[no-math]{fontspec} ...
4
votes
1answer
1k views

Adobe Reader does not display dsfont symbols in XeLaTeX document

When I compile the following simple document with XeLaTeX: \documentclass{article} \usepackage{dsfont} \begin{document} $\mathds N \subset \mathds Z \subset \mathds Q \subset \mathds R \subset ...
0
votes
1answer
137 views

URLs set with lining figures regardless font settings

I’ve noticed during my XeLaTeX typesetting with hyperref package that since not so long ago, URLs (using \url) have been typed in lining figures (as opposed to the oldstyle figures) whatever my ...
4
votes
2answers
997 views

Psfrag or comparable tagging method with XeTeX

I understand from this question that using psfrag to replace tags in eps-files works well with pdfLaTeX. I also think I understand from this question that there was no working mechanism to accomplish ...
10
votes
2answers
570 views

Internal error: bad native font flag (XeLaTeX, fontspec, newtxmath, libertine, \dot)

I'm trying to use \dot{P} in a math environment. MWE: \documentclass{scrartcl} \usepackage[no-math]{fontspec} \usepackage{libertineotf} \usepackage[libertine]{newtxmath} \begin{document} ...
0
votes
1answer
429 views

Poor opentype font quality when printing xelatex generated PDF

I've been trying to print a PDF created with Xelatex, and the text (using opentype) is not as crystal clear as the same text printed directly from word (the edges are jagged/grainy). Any suggestions? ...
14
votes
1answer
553 views

How do I combine fonts for different scripts?

I want to combine Helvetica World (for roman, cyrillic, greek and arabic) and Hei Std (for simplified chinese) in one document with LuaLaTeX. Hei Std probably hasn't all the glyphs from Helvetica ...
0
votes
1answer
238 views

Cannot add metadata to pdf [closed]

i noticed that i am not able to add metadata to my pdf.. any clues? Here is a minimal working example. The produced pdf has no author or title metadata. I am using miktex and texworks. % !TeX program ...
49
votes
1answer
668 views

The ^^ notation in various engines

Basically, how does the ^^^... notation work in LuaTeX and XeTeX, exactly? In 8-bit TeX engines (recent TeX, eTeX, pdfTeX, at least), two consecutive identical catcode 7 characters (typically ^), ...
16
votes
1answer
2k views

How to choose a specific weight from a font family using fontspec and XeLaTeX

I have installed an open-type font on my OS and would like to use in a LaTeX document using XeLaTeX. It works fine, but when I define my font family like this: \ifxetex ...
3
votes
1answer
204 views

Shortcuts using double quotes in combination with mathspec

Basically, I have encountered the same error as answered here and the workaround suggested by Andrey Vihrov reenables me to compile the document. The problem now is, that any shorthand defined by the ...
1
vote
0answers
33 views

Simple xelatex or latex document which contains an apple command character [duplicate]

Possible Duplicate: How to typeset the special mac's keyboard's symbols? I don't know how to get an apple command sign in a latex or xetex document. I know that this has been ...
6
votes
1answer
224 views

One of the glyphs used for zero in Chinese does not appear

I use XeLaTeX with TeXShop v. 2.47 and have generally good results with the SimSun and PMingLiU fonts. However, I find that the glyph ○ (U+25CB), which is used for zero in some of my sources, is ...