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)

1
vote
1answer
66 views

animated convolution in PStricks

how to create animated convolution of two arbitrary function in pstricks like this
3
votes
1answer
100 views

Four columns footnotes in a two columns layout

Is it possible to get 4 columns footnotes in a 2 columns layout? And also frame a thin line around the footnotes zone? A layout like this: That's what I achieved: \documentclass[11pt,twoside]{...
2
votes
1answer
53 views

LuaTeX for memoir and microtype

I'm typesetting a novel using the memoir class and trying to figure out whether to use XeTeX or LuaTeX. As per the microtype documentation, protrusion, expansion and (=auto) work with LuaTeX, but only ...
0
votes
1answer
18 views

How to fix or change randomly marked json snippet?

So my problem is that my json snippets are marked red, but I don't want to mark them red. How my JSON looks like: [ {obj1} {obj2} {obj3} ] And my snippet looks like: [ {obj1} ... ] And that ......
0
votes
0answers
44 views

How to breakafter?

I want to break after whitespace or symbol in my http code example. I am using minted with my Xelatex. How my preamble looks like: \newminted{json}{breaklines,frame=bottomline,rulecolor=\color{...
6
votes
0answers
62 views

Xelatex, and strange textcolor behavior in tikz

Here is a minimal working example: \documentclass{beamer} \usepackage{tikz} \setbeamercolor{background canvas}{bg=black} \setbeamercolor{normal text}{fg=white} \begin{document} \begin{frame} \...
4
votes
0answers
32 views

XeLaTeX: \mathrm in a footnote uses a different typeface from that specified by \setmathfont

In the following XeLaTeX example, \documentclass{article} \usepackage{fontspec,unicode-math} \setmainfont{Libertinus Serif} \setmathfont{Libertinus Math} \begin{document} $\mathrm{d}$: d\footnote{$\...
3
votes
2answers
73 views

Still want to use “ptm” in XeLaTeX

I'm using XeLaTeX typesetting Chinese fonts in my document. (So XeLaTeX is the only suitable way for me to do my stuff.) I want to use the LaTex original ptm font to typeset all English text. I know ...
3
votes
1answer
27 views

computing md5sum of file content in XeTeX

PdfTeX has \pdfmdfivesum{...} and \pdfmdfivesum file {...} for inline text and external file content, respectively. On the other hand, XeTeX seems to provide only \mdfivesum. Is there a means to ...
6
votes
1answer
51 views

algorithm2e and xeCJK cause TeX capacity exceeded on texlive2016

My document cannot be compiled after I updated texlive on my Mac to version 2016. It works fine on texlive 2013. Here is an example: \documentclass[12pt]{report} \usepackage[vlined,linesnumbered,...
1
vote
1answer
54 views

baseline seems to change automatically [closed]

I don't have a MWE, since this appeared on the bottom of page 12 of a document I'm working on (by surprise). I'm just wondering if anyone will recognize what's going on. It looks to me as though the ...
3
votes
0answers
61 views

Trouble with fonts in XeLaTeX in MacTeX 2016

Consider the code % !TEX TS-program = XeLaTeX % !TEX encoding = UTF-8 Unicode \documentclass[11pt]{book} \usepackage{unicode-math} \setmainfont [Ligatures=TeX] {TeX Gyre Pagella} \setmathfont [...
1
vote
1answer
79 views

Can't load system font by name with XeLaTeX but with LuaLaTeX

I installed a TrueType font in windows 10. Now I want to use it with XeLaTeX. The font can't be loaded. The first message is Sorry, but miktex-makemf did not succeed for the following rea son: The ...
2
votes
1answer
87 views

Custom Build (Sublime Text, Latextools)

I'm trying to customise the build function on Sublime text 3 to include separate outputs for the build files and the pdf. I am using Miktex and xelatex (by adding %!TEX program = xelatex) at the top ...
8
votes
2answers
706 views

Outline text using TrueType fonts

I'd like to write outlined text. Here is a minimal example, what I'd like to achieve. \documentclass[a4paper]{minimal} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} \...
3
votes
1answer
42 views

Making my equation flush left

I am trying to make the first 3 lines of this equation flush left. How can I do so? Also, is there an easier way to enter the parentheses and have the size I want? If I don't use the \left( and \right ...
4
votes
1answer
41 views

% and non-ASCII characters in headings

It appears that a % together with some non-ASCII characters on a heading is causing problems for hyperref in xelatex. Here's a minimal working example: \documentclass[]{article} \usepackage{hyperref} ...
1
vote
1answer
43 views

Align sections titles with margin notes

I want to align sections titles with margin notes as shown below. \documentclass[12pt,a4paper,twoside,openright]{book} % Page format \usepackage[left=2cm,right=6cm,top=3cm,bottom=2.5cm, headsep=1.5cm,...
5
votes
1answer
115 views

How to use Coolvetica font in LaTeX for Ubuntu 14.04?

How can I use the Coolvetica font within my document? I downloaded the fonts as a .zip file and have to install it and call it using XeLaTex.
1
vote
1answer
59 views

latex, xetex - and zapfino

I know how to use LaTeX (not an expert, but still quite some experience - wrote couple of papers and my thesis, can make TikZ pictures etc.), but I don't have the slightest idea, what XeTeX, LuaTeX, ...
2
votes
1answer
161 views

Wrong pdflastxpos value with XeLaTeX+bidi

The answer from Vala helped me to rephrase my question. See the original one below. Using pdfsavepos to get absolute position of texts on the page, I faced the following problems when using XeLaTeX ...
4
votes
3answers
743 views

Problem with last version of font awesome in moderncv

After updating fontawesome package I can't comile my moderncv-document. It works without \moderncvicons{awesome}. % !TeX TS-program = xelatex \documentclass[11pt,a4paper,sans]{moderncv} \...
5
votes
1answer
58 views

polyglossia or bidi bug: [\d\.] gets inverted to [\.\d]

After bidi was updated to v. 19.6 (2016-05-23), using at least one RTL language with polyglossia leads to number and following dot being inverted. Cf. \documentclass{book} \usepackage{polyglossia} \...
0
votes
0answers
29 views

XeLaTeX fails after MikTeX update (6-1-16)

When I xelatex a file it gives me the following message: When I try to install that package, it gives me this message: Using the command prompt also generates the same errors. Here is a sample ...
2
votes
1answer
133 views

How declare a new package language

I need writing normal text and some sentences in artifical conscript language. How writing small as possible package and how use it (include?) in file? My language have my own font and each glyphs is ...
3
votes
1answer
27 views

Getting biblatex-chicago to include year when citing something included in a book

Writing something where I need to cite a lot of letters and such from a book. I'd like to have the year these things were first published/written included, but the only way I've been able to get it to ...
2
votes
1answer
34 views

Accessing glyph using \XeTeXGlyph disrupts content

I wish to use KFGQPC Symbols font in my document. It's not a standard font as it consists of only symbols. It can be downloaded from here named as Symbols1_Ver02.otf. The index of the symbols can be ...
2
votes
1answer
153 views

Latexing: Using `program` option to change tex engine does not work

I'm using LateXing with Sublime Text 2 for my TeX needs. In the LateXing documentation it says I can choose xelatex as the TeX engine by using the following line at the start of my TeX file: % -*- ...
2
votes
1answer
38 views

How to insert listing inside frame and between enumerate?

I'm creating a presentation and I want to add a one line code in the presentation between each itemize element. You can see below what I want to achieve. \documentclass{beamer} \mode<presentation&...
2
votes
0answers
42 views

Encourage (XeLa)TeX to break pages at the end of sentences within a paragraph

As the title suggests, I am using XeLaTeX to layout very long paragraphs (up to 50 pages in length for a single paragraph), and would like to encourage it to break pages at the end of sentences within ...
0
votes
0answers
29 views

XeLaTeX + libertine: combining acute accent and ogonek issues

I've switched over to using Linux Libertine, using XeLaTeX in TeXworks, but I am having issues getting characters with multiple combining diacritics to display properly. The language I work on uses ...
1
vote
2answers
23 views

Can't write greek with newtxtext in XeTeX

I've been trying to use the newtx fonts for math and text, and while math seems to work, any text I write in greek won't be displayed. For instance, \documentclass[11pt,a4paper]{article} \usepackage{...
4
votes
0answers
45 views

lecturer.tex and xetex

I am experimenting with lighter-weight alternatives to beamer, and found lecturer.tex interesting. However, it depends on PDF-specific features, thus it compiles under pdftex. If I try to use xetex I ...
0
votes
0answers
42 views

Working on multiple tex files using different fonts using TexStudio - driving me insane [duplicate]

I was working with a Tex file in the standard font, and another in Calibri in Tex Studio. The problem is that I have to switch compiler between the two files. I don't want to use Configure -> Build ...
76
votes
12answers
20k views

What best combination of fonts for Serif, Sans, and Mono do you recommend?

Now that Xe(La)TeX is being increasingly used to deliver nifty documents, I am wondering if any recommendations have been published or discussed about the best combination of font families for mixing ...
2
votes
1answer
53 views

Vertically centering a tcolorbox on a page

I'm trying to vertically center a tcolorbox on a page, but with the code below the box isn't exactly at the middle of the page. So far I've tried this: \documentclass[12pt]{article} \usepackage{...
50
votes
1answer
1k views

What are the incompatibilities of pdftex, xetex and luatex?

[Please correct me if my statements are wrong] TL;DR: pdftex, xetex and luatex exhibit different behaviour. What are these differences and why are they present. I know of three engines, which ...
5
votes
1answer
70 views

Interactive console at terminal evaluating commands

As I'm using LaTeX (in my case xelatex), I often run into little gotchas. As a programmer from other more functional or procedural languages, it really grates me that I can't easily figure out what an ...
3
votes
1answer
120 views

XeLaTeX + polyglossia + Russian or Greek = page number in italics

Consider the following example: \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{russian} \setmainfont{CMU Serif} \begin{document} \itshape Text. \end{document} ...
10
votes
0answers
124 views

Cannot use pgf-blur twice with XeLaTex

The following code \documentclass{article} %\def\pgfsysdriver{pgfsys-dvipdfmx.def} %this line does not matter \usepackage{tikz}\usetikzlibrary{shadows.blur} \begin{document} \begin{tikzpicture} ...
5
votes
2answers
79 views

Only one specific character missing when compiling with biber and xelatex

I'm having trouble showing proper reference list - one letter just does not appear. I googled possible solutions, and updated the fonts, packages, but still can't resolve this. Here's MWE: \...
0
votes
0answers
26 views

Rendering to Chinese overflows margin/papersize (pandoc)

I am using Pandoc to render from markdown to PDF. Since I have Chinese texts, I use xelatex with the WenQuanYi Micro Hei font. However, the PDF that gets produced overflows the margins on the ...
5
votes
1answer
217 views

How to redefine the \today with superscript?

How can I redefine \today so that today's current date comes in the format May 26th, 2016 I need the "th" to be superscript. It should come to the bottom right corner of the page. The code does ...
1
vote
1answer
34 views

Conflict between `ruby` and `xeCJK`

In my preamble I call xeCJK and ruby in order to add ruby text to Japanese characters. I'm compiling with xetex. Someone mentioned in an earlier post that ruby calls CJK causing a compile error (the ...
5
votes
3answers
239 views

Using dash instead of point in headers

How can I set - instead of . as separator in headers? 1 Chap 1-1 Sec 1-2 Sec 1-2-1 SubSec 2 Chap 2-1 Sec I use XePersian package. The following does not work: \documentclass{book} \renewcommand{\...
3
votes
0answers
24 views

Only name appears when using currfile

My problem was partly addressed in this question. Since I cannot comment yet, I will continue Ulrike Fischer's answer with a new question. The expample worked on my system as well with pdflatex, but ...
0
votes
0answers
33 views

Can I expect WYSIWYG for SVG-PDFs embedded as images in LaTeX?

I embed a lot of scalable illustrations by creating them in Inkscape as SVG, then exporting them to PDF and finally including that PDF in (Xe)LaTeX. Given I am happy with the illustration-PDF ...
4
votes
1answer
76 views

Why does \usepackage{amsmath} break \hyperref in \textnormal?

In the following sample, the second link isn't hyperlinked: \documentclass{article} \usepackage{amsmath} % Removing this makes the second link work \usepackage{hyperref} \begin{document} \...
1
vote
2answers
133 views

Error when adding xmp metadata with xelatex and pdfx

I want to create a pdf according to the PDF/A-1b standard with xelatex and pdfx but I get an error message now when I add my metadata. Using XMP template file: pdfa.xmp ! Argument of " has an extra }....
10
votes
1answer
373 views

XeLaTeX, hyperref and PDF/A

I am finishing my doctoral dissertation using XeLaTeX and facing the requirement to submit a PDF/A compliant document. First, I want to emphasize that I have found and read several related posts (e.g....