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

xeCJK messes up typographical quot and — [duplicate]

Using: XeTeX 3.1415926-2.5-0.9999.3 (TexLive 2013) on openSuse 13.1 Setting up a multilingual buddhist glossary I have encountered the problem that closing (German) typographical quotation marks “ ...
3
votes
1answer
352 views

TikZ calendar shading opacity

When highlighting ranges in a calendar, I can't seem to get the overlapping area to blend as would normally happen with overlapping opaque objects. For example using the following code (compiled with ...
2
votes
1answer
603 views

Urdu in latex (bold font)

\documentclass[12pt]{article} \usepackage{arabxetex} \newfontfamily\urdufont[Script=Arabic]{Jameel Noori Nastaleeq Kasheeda} \begin{document} \begin{urdu} مندرجہ ذیل مساوات کو حل کریں $x_2 + m$ ...
14
votes
1answer
491 views

How to use arrowheads from a unicode math font in TikZ diagrams under XeLaTeX or LuaLaTeX?

I like arrowheads in my TikZ diagrams to match the math font arrowheads. For Computer Modern, this is no problem: the TikZ arrows library provides matching arrowheads. But I often use other fonts ...
2
votes
1answer
501 views

Problem with XeTeX input and output encoding

As we all known, the TeX engine XeTeX takes UTF-8 as its default input and output encoding format. However, it provides two new primitive control sequences that could define input encoding: ...
7
votes
2answers
2k views

Print business cards in LaTeX

I am trying to print a business card that I develop in LaTeX, using templates that I found on the web and combined to fit my needs. I am using XeLaTeX to compile it, since it uses different fonts. My ...
3
votes
1answer
490 views

Command \maketitle with cyrillic and Times New Roman

I am trying to output the title of the document using font Times New Roman with Bulgarian language. If I use \documentclass[14pt,a4paper]{article} \usepackage{fontspec} \setmainfont{Times New Roman} ...
10
votes
2answers
586 views

Help me create my out patient documentation template

\documentclass[a5paper]{article} \usepackage{eso-pic} \usepackage{fancyhdr} \usepackage[pdfauthor={VB},% pdftitle={Consultation},% pagebackref=true,% ]{hyperref} \usepackage[headsep=3cm,top=4cm, ...
0
votes
0answers
47 views

TIPA package causing error in xelatex: \sups already defined [duplicate]

I am trying to include some of my publications in my CV, which it typeset in LaTeX. I have a .bib file and I call the references using \bibverse{}. The problem is that I am unable to compile the ...
1
vote
0answers
273 views

XeTeX: Line numbering in a book with Devanagari and polyglossia

I am typesetting a book in XeLaTeX with both Samskrita in Devanagari script and English. I am trying to include line numbers for proofreading purposes. I want to use the lineno package which works on ...
3
votes
1answer
957 views

How to install font “lmmath-regular.otf”?

I have downloaded a cv template from here, and I want to use it for my CV. This is the first time I am trying to use tex to do something. I have got stuck with the following error ...
15
votes
3answers
577 views

two t characters next to each other form one tt glyph

I am using xelatex and linux libertine font. When I write in my text something that contains two t characters next to each other, such as "rotten", it changes these two ts into one tt character. It ...
6
votes
1answer
697 views

how to execute external commands from (Xe)(La)TeX?

i'm trying to capture output from an external command in a XeLaTeX document. as per http://tex.stackexchange.com/a/20566/28067 and http://stackoverflow.com/a/8929976/256361, i'm specifically doing ...
2
votes
2answers
154 views

Taking advantage of auto-pst-pdf when XeLaTeXing

I use a lot of PSTricks-based graphics. Since graphics generation takes an awful long compilation time over XeLaTeX, I resort to pdfLaTeX first using the auto-pst-pdf package. On a later run, meaning, ...
2
votes
0answers
113 views

Using oldstyle numbers in XeLaTeX math mode for ONLY inline math

Is there any way to use OldStyle numbers for text and inline math only, while using Lining in the align and equation environments? Ideally via mathspec, but I'm open to other solutions.
7
votes
2answers
107 views

ifetex always true

I am working on a document preamble that allows me to compile a document with pdlatex and with xelatex. I found that the \ifetex condition to check whether the document is going through e-tex is ...
0
votes
0answers
565 views

Problem using XeLaTeX and fontspec with arial font

I'm using LaTeX to write my reports, recently I have discovered XeLaTeX as an alternative to use different fonts with LaTeX. I'm using MiKTeX 2.9 as LaTeX compiler and TeXnicCenter 2.0. I'm newbie in ...
4
votes
1answer
91 views

Conflict between eplain urls and pgf(math)

I tried to insert a hyperlink with xetex and eplain, and here is what happens. \input eplain \enablehyperlinks \input pgfmath \href{http://www.google.com}{google} \bye prints this weird error in ...
11
votes
1answer
261 views

/ActualText in small cap hyperlinks

I'm using the frenchlinks option for hyperref, which due to solicitous care of XeLaTeX + Linux Libertine, gives bona fide small-caps links on the page. The problem is, when I cut and paste out of the ...
5
votes
1answer
653 views

Changing page margins in {pdf-,Xe-}TeX

In TeX, changing the \hsize and the \vsize changes the main text size and the page size of the dvi output. When I compile a document with pdftex or xetex, the page size remains at A4. How can I change ...
10
votes
1answer
412 views

How do I write in Armenian inside a math expression?

I have this code which I compile with xelatex. \documentclass[a4paper]{article} \usepackage{polyglossia} \newfontfamily{\armenianfont}{DejaVu Serif} \setmainlanguage{armenian} \begin{document} ...
6
votes
1answer
904 views

Several questions about migrating to XeLaTeX

I am using LaTeX for years now but I am considering to migrate to XeLaTeX. The main reason for this change is the babel package which change a lot the layout of my documents according to my language ...
3
votes
0answers
95 views

how to add conditions inside itemize list?

List mentioned below is having three items. There are four variables : 1] varone 2] vartwo 3] varthree and 4] sub ; which are coming from external CSV file. Item 2 with "Value B" will be displayed if ...
20
votes
2answers
28k views

\mathscr (LaTeX or XeLaTeX) [duplicate]

I'm trying to use \mathscr in my documents, but it just doesn't show up. I'm using MacTeX, with pdfTeX and XeTeX version 3.1415926 and TeXShop version 3.26. As an MWE, I can use: %!TEX TS-program = ...
2
votes
2answers
830 views

Combining Helvetica and Symbol fonts with mathspec

I want to combine Helvetica and Symbol fonts so that Helvetica handles the Latin letters, while Symbol handles the Greek letters. Mathspec and XeLaTeX does a reasonably good job of this, but I cannot ...
16
votes
1answer
455 views

TikZ 3.0.0 (release) produces strange shadings if used with XeLaTeX and standalone

I would like to use shadings in my TikZ graphics together with the standalone package and XeLaTeX, but for some reason it is broken if I try with the new 3.0.0 release (download here). Any other ...
4
votes
1answer
52 views

How to reassign — and — in unicode fonts?

In XeTeX, after loading the font lmroman10-regular.otf, -- and --- are not matched to en- and em-dashes. Here-have--some---text. \font\rm="[lmroman10-regular.otf]" \rm Here-have--some---text. \bye ...
12
votes
1answer
324 views

dealing with thin spaces in XeLaTeX and LuaLaTeX

In the following small example I get unexpected but different results in XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setlength\parindent{0pt} \newcommand*\x{\rule{1cm}{1cm}} ...
7
votes
1answer
119 views

Multiple instances of xelatex in parallel without overwriting generated PDF's

I've one TeX file abc.tex which is executed using xelatex abc.tex to generate the PDF file abc.pdf Inside abc.tex I'm using the datatool package to read data from an external CSV file (say pqr.csv). ...
4
votes
2answers
1k views

Xelatex Calibri without serif math

I have to write a document in Calibri. Please find my minimal example thereafter. The issue is when I include some math, the design looks "ugly". Is there a way to change the serif math font and ...
6
votes
1answer
1k views

How to make vim short key for xelatex and pdflatex both?

I have learned that the following setting in _vimrc will let \ll compile by engine pdflatex: let g:Tex_DefaultTargetFormat='pdf' let g:Tex_CompileRule_pdf = 'pdflatex ...
2
votes
0answers
725 views

XeLaTeX with fontspec not recognizing ANY fonts on a windows platform (with miktex) [closed]

Getting the message: font-not-found see fontspec documentation. I'm using cls file abbreviated at the bottom of this page whose origin is latextemplates.com/template/friggeri-resume-cv. I've tried all ...
1
vote
0answers
295 views

Font not found error fontspec using WinEdt in Windows [duplicate]

I'm trying to compile a document and (as usual) I'm getting stuck with the fontspec package. These are the only lines of code that I are giving me grief. \RequirePackage[T1]{fontenc} ...
12
votes
3answers
383 views

Drawing a background grid based on \linespread value

I’m trying to help a friend set an Arabic book in LaTeX and I’m facing this very same uneven line spacing issue (except that the book is completely in Arabic). Now I’m trying to find the \linespread ...
2
votes
1answer
498 views

Insert pages from password protected pdf file in latex

If I have a password protected PDF (my own document, source unfortunately lost), and I want to include a portion of it in a new document, can that be done? This previous question explains how to do ...
1
vote
1answer
532 views

latex in org mode of emacs and regular latex

What is the difference, advantage or disadvantage of using org mode in emacs? If there are advantages, would you like to explain how it is used and what codes goes into using it. I am new (3 days) to ...
24
votes
6answers
801 views

It doesn't hyphenate words ending with “—”

UPDATE Well. After a while, I decided to see again about this “problem”, and just discovered that in pdfLaTeX, using \usepackage[utf8]{inputenc} and the — (the unicode —, not the ligature ---) it ...
2
votes
0answers
161 views

XeLaTeX and microtype protusion problems at hyphens [closed]

I was excited to learn that XeLaTeX finally has microtype support (I had asked about that earlier). However, after adding microtype to my document, I noticed that line breaks at hyphens now go wrong. ...
5
votes
0answers
211 views

How to make hyperref link boxes in XeLaTeX as big as they are in pdfLaTeX

When typesetting the following sample using xelatex, the various clickable link-boxes produced using \ref, \cite, \footnote, \href, etc. are small and ugly, and sometimes make it hard to read the ...
4
votes
1answer
206 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
3
votes
0answers
248 views

Difference in PDF loading in lua- and xelatex

Someone is trying to install a package of mine (http://www.ctan.org/pkg/lilyglyphs) in MiKTeX on Windows 7. After some hassles with file and font paths we managed to get him going, but there is one ...
1
vote
1answer
110 views

esopic and repeating part of document

This answer nicely illustrate the use of eso-pic to repeat part of document. Repeating part of document on every page But when the text entered is large, it is cut-off from the page. It possibly ...
3
votes
0answers
802 views

Rubber Fails Using XeLaTeX

My document builds just fine using xelatex, but now I am trying rubber and I get the following error: $ rubber --module xelatex proposal Source path uses special characters, error tracking might get ...
11
votes
1answer
220 views

XeTeXpicfile in vertical mode

Given a minimal like \line{% \vtop{\hsize=.6\hsize Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse tempor lectus sit amet laoreet convallis. Quisque at est lacinia, porttitor ...
4
votes
2answers
111 views

XeTeX problem compiling when I have a table

I'm trying to compile using XeTeX and I get this error ...ab:Quizzes-open-times}Quizzes open times} Your command was ignored. Type I <command> <return> to replace it with another ...
6
votes
1answer
197 views

How can you use both fontspec and xmpincl?

Is there a way to use both the fontspec and the xmpincl packages? Using PDFTeX returns Fatal fontspec error: "cannot-use-pdftex" The fontspec package requires either XeTeX or LuaTeX to ...
3
votes
2answers
851 views

XeLaTeX Quiet Output and Halt on Error

I find the output of XeLaTeX excessively verbose. I am really just interested in errors (not warnings), and the offending line number. I also would like xelatex to halt (exit) on error. Is there a ...
3
votes
0answers
68 views

Address book similar to BibTeX to be used on LyX

I have a list of addresses. While writing the report (not in letter), I need to add address repeatedly. Is their something similar to BibTeX, which I can use with LyX for automating inclusion of ...
3
votes
1answer
200 views

Shorthand characters in section titles (Xe(La)TeX)

I have learnt how to define shorthands by the commands \useshorthands{(a character, e.g. ')} in the preamble and \defineshorthand{(shorthand code)}{(expansion)} just after ...
15
votes
0answers
119 views

Strange linebreaks with microtype & LuaLaTex [duplicate]

I have a weird problem. If I compile with LuaLaTex and microtype some of my line breaks are messed upped, but I don't get any warnings. XeLaTex with/without microtype or LuaLaTex without microtype are ...