Questions tagged [xetex]

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.

Filter by
Sorted by
Tagged with
2
votes
2answers
60 views

Upright sans-serif math capital Greek using [lua|xe]latex

Feeding the code \documentclass{article} \pagestyle{empty} \usepackage[ngerman]{babel} \usepackage{mathtools}%%% loads amsmath internally \mathtoolsset{mathic=true} %%% See http://tex.stackexchange....
5
votes
3answers
2k views

Emacs+Xetex org-latex-export-to-pdf to create pdfs out of txt files saved as org

Please advise if there is a simpler way to do this but I'm hoping to use Emacs + Xetex for turning a text file into a pdf. So far I am saving the text file as .org and I currently have #+LATEX_CLASS: ...
1
vote
1answer
44 views

How do I make this document follow the CMYK standart?

I've tried some scripts and various tricks I found online, but I'm starting to be near my wit's end. If I do identify -verbose mwe.pdf | grep Colorspace, I get Colorspace: sRGB. I need the CMYK for ...
0
votes
0answers
9 views

Why doesn't LaTeXmk output erros and warning in the console output in TeXworks?

I've been using TeXLive in TeXworks for compiling my XeLaTeX documents only recently and coming from online Overleaf, I had to make a switch in explicitly giving the commands for compiling. Luckily, I ...
0
votes
0answers
17 views

How can I change the font size inside this tcolorbox?

I have this bit of code for a customized tcolorbox (I'm using XeTeX, for font management): \documentclass[10pt, oneside]{book} \usepackage[skins]{tcolorbox} \tcbuselibrary{breakable} \usepackage{...
0
votes
1answer
36 views

How to use mmap in XeLaTeX?

I want to map math characters in my PDF output to Unicode characters. XeLaTeX already does this somewhat, but with very unsatisfactory results. Just for comparison, consider the very simple example $\...
1
vote
1answer
42 views

Generate two versions of a document using tagging package

I would to like to get in one run two PDF, the first one having this MWE : \documentclass{report} \usepackage{tagging} \begin{document} \usetag{answer} \iftagged{answer}{Some text to be included ...
0
votes
1answer
38 views

LaTeX listings - how to apply a style to delimiters different from the content

How do I modify the key-value option \lstdefinelanguage{mybnf}{ morestring = [b]'' } To obtain the following result: that is, to be able to have the delimiters defined in a different style (in ...
4
votes
0answers
80 views
+100

XeLaTeX, nohyphen, space and babel/polyglossia

Consider this MWE \documentclass[french]{article} \usepackage{babel} \usepackage{hyphenat} \begin{document} \section{without relax} Cambridge : University (A) \nohyphens{Cambridge} : University (B) ...
1
vote
2answers
1k views

Include Chinese characters into article in Xelatex

when I try to incorporate some Chinese characters into an article complied by Xelatex, something goes wrong. The Chinese characters don't show up. My code is as below, \documentclass[12pt,a4paper]{...
2
votes
1answer
674 views

custom book class \ProvidesClass command

I am making a customized book class. The code below compiles successfully for a customized article class, but not with the book class [EDIT: no, actually, it fails both classes, for reasons explained ...
2
votes
1answer
3k views

XeLaTeX Ghostscript call for EPS to PDF conversion failing

Updated with properly minimalistic example.. I've been wrestling with this for a while now. I had a setup using pdfLaTeX with epstopdf that works nicely, but I need mathspec so I've moved to XeLaTeX. ...
189
votes
4answers
78k views

What is XeTeX exactly and why should I use it?

I have been using LaTeX for five years now and have been using PDFLaTeX ever since. I find it hard to monitor the progress of LaTeX development. Recently there is a lot of talk about XeTeX. What is ...
0
votes
0answers
25 views

PDF page size is incorrect using LyX and XeTeX

I'm using LyX with XeTeX and non-TeX fonts. I'm using the LyXBook layout from the Editorium. Although I've set a custom paper format in Document>Settings>Page Layout (9x6 inches), when I compile a PDF ...
0
votes
1answer
87 views

Why does pgfpages not allow plain text in a beamer column environment?

Using XeLatex and beamer class, I want to make a presentation with notes. The pgfpages package does this nicely. But when I make a column environment AND want the notes produced, then text will not ...
10
votes
3answers
7k views

Overview of Arabic fonts available for LaTeX/XeTeX?

Is there an overview available for Arabic fonts in LaTeX / XeTeX? Ideally with output examples, so that it becomes clear how they compare. So far, I'm aware of Geeza Pro, Amiri (and its variants),...
0
votes
1answer
22 views

Reproducing ToC styling following the Legrand Orange book with memoir class

I am trying to reproduce the ToC style of The Legrand Orange Book with memoir class. I am not an expert in memoir class and managed to look similar except ToC title and Part. my MWE goes like this \...
4
votes
1answer
35 views

Asymptote - a large dot for vertices

I'm learning asymptote and I'm trying to figure out how to increase the size of dots. For an example, when drawing this object: size(0,0); path cle=scale(2cm)*unitcircle; draw(cle); for(real i=0; ...
0
votes
0answers
40 views

formating the key words and abstract in Latex

Key words and abstract are not properly aligned. I am using Latex to write an journal article. See the attached screenshot. I want the abstract and the key words to have the same margin. How can I ...
0
votes
1answer
26 views

How to specify RGB color for xelatex/graphviz combo

Xelatex, while processing graphviz code doubles the hashmark (#) char before the RGB color specification. E.g. latex/graphviz code: \digraph [scale=1]{mygraph} { node [color="#365559"] a->b }...
4
votes
2answers
644 views

How can I use a Gurumukhi font to typeset Punjabi with XeLaTeX or PDFLatex?

Folks I'm having a hard time using a non-English font with my LaTeX file. I've struggled for the last few days without success. Some background I'm using Kile on Windows (with MikTeX). I know I need ...
0
votes
1answer
12 views

PDF version 1.7 output using XeLaTex and texlive 2017

I tried to use \pdfminorversion=7. This did not work, the error "!Undefined control sequence" popped up. Just to see if it would work, I also entered \pdfminorversion=2, with the same effect. Is there ...
0
votes
1answer
68 views

I would like to use the IranNastaliq font with xelatex

I would like to use the IranNastaliq font with xelatex, the document below throws an error when I try to compile it. \documentclass{article} \usepackage{xepersian} \defpersianfont\Nastaliq{...
0
votes
1answer
31 views

\XeTeXinterchartoks fails when applied to non-ASCII characters

In the following code \XeTeXinterchartoks fails when applied to non-ASCII characters. Any help? \documentclass{article} \usepackage{fontspec} \usepackage{graphicx} \usepackage{xcolor} % \usepackage{...
1
vote
1answer
25 views

Unicode characters misplaced within lstlistings environment

I am compiling with XeLaTex. Within the lstlistings environment (provided by the listings package), special unicode characters appear to be misplaced. This is a minimal demonstration. Code: \...
0
votes
2answers
43 views

Line breaks in really long sqrt expresssion

I am asking a question that has appeared many times on TeX StackExchange but none of the answers seem to work for my use case. I am trying to introduce line breaks, programmatically, into really ...
8
votes
1answer
723 views

No room for a new \count

I have the following MWE that used to work fine under TeXLive 14, 15 and 16, but fails on TeXLive 2017. \documentclass{article} \usepackage{tikz} \usepackage{fontspec} \setmainfont{Times New Roman} \...
2
votes
1answer
150 views

pst-asr produces all nodes on top of each other in xelatex

I was trying to recompile an old handout that used to work, but ran into the following issue, which is shown in the minimal example below (taken from the pst-asr documentation examples): \...
4
votes
1answer
764 views

Why XeLateX is slower than pdfLaTex, and some times has a long pause before running the main file?

My question is very straightforward, Why XeLateX is slower than pdfLaTex, and some times has a long pause before running the main file? I know XeTeX/XeLaTeX has to load a lot of packages, but why, ...
0
votes
0answers
11 views

Currfile and spaces

I'm having trouble with the currfile package. In fact, I found the error but don't know how to fix it. When there spaces in the path of the file (as a folder), LaTeX won't built the document saying ...
0
votes
1answer
52 views

xunicode&xeCJK TeX capacity exceeded, sorry [input stack size=5000]. \begin{document}

I am making my Chinese resume with moderncv, but I meet some problem. I spent the whole afternoon in searching for some solution but they didn't work. I am using texlive2019 in win10. please help. ...
0
votes
1answer
212 views

Submitting a XeLaTeX compiled paper to arXiv

I have written a paper in Overleaf, compiled by XeLaTeX. Now I'd like to upload it to arXiv, however it seems that I have to give up on XeLaTeX for this purpose: From arXiv: Your submission to the ...
0
votes
0answers
33 views

Automating custom reports - is LaTeX the right solution for me?

I need to generate nice-looking PDF contracts and custom reports from the command-line, and I'm trying to determine whether LaTeX (XeLaTeX specifically, based on my research over the last few days) is ...
0
votes
0answers
22 views

polyglossia, czech, xelatex: Bad character code (-1) with \tt

Polyglossia with Czech and \tt fails when I'm compiling the file with xelatex. It works with lualatex and it works with \setmainlanguage{english}. What is causing this behavior? MWE: \documentclass{...
1
vote
1answer
37 views

LaTeX Make Flow With Dashes

I am wondering if anyone can assist me in making this figure. I have not quite been able to set up the dashed lines over the two boxes, thank you so much.
0
votes
0answers
29 views

XeLaTeX does not work with \printbibliography

I've tried many different remedies found online to make XeLaTeX compile with BibTeX, although, since I am not a very experienced user, I came empty-handed. I use XeLaTeX because I would like to use ...
0
votes
0answers
21 views

Beamer text centred with Polyglossia

I am using beamer and Polyglossia. Whenever I change the default language to Hebrew, the text in the slides is centred even without writing a single word in Hebrew. The following MWE has to be ...
3
votes
1answer
91 views

Cyrillic characters show up as '?' in PDF when using XeTeX

I've looked at many similar questions on TeX overflow to no avail. I've tried using both the polyglossia and the babel packages but neither had any effect. I'm assuming the issue lies a little deeper. ...
2
votes
1answer
47 views

How to color an Arabic letter in a word without adding extra length or Tatweel?

I'd like to color in xelatex a letter in a word. \documentclass[14pt,letterpaper]{memoir} \usepackage{xcolor} \usepackage[utf]{arabxetex} \linespread{1.6} \newfontfamily\arabicfont[Script=Arabic]{...
0
votes
2answers
65 views

Overleaf XeLatex article conversion to PdfLatex (for Arxiv submission). Problems with Arabic encoding

as many others I am looking for a solution to upload my paper written in Overleaf (XeLatex) to Arxiv. The main problem is a specific character (ڨ) https://en.wikipedia.org/wiki/Ve_(Arabic_letter) ...
0
votes
0answers
54 views

Jupyter PDF via LaTeX - TeXLive installation incomplete

Context: Notebooks on a Jupyter Litlest Hub When I want to download as 'pdf via LaTeX', I get the following error ... Message: nbconvert failed: PDF creating failed, captured latex output: Failed to ...
0
votes
1answer
40 views

Repost it with a minimal working example for the amsmath must be loaded earlier than mathspec problem

See the following mwe: \documentclass{article} \usepackage{amsmath} \usepackage{mathspec} \usepackage{unicode-math} \begin{document} \begin{equation*} 1 + 2 = 3 \end{equation*} \end{document} ...
0
votes
0answers
49 views

Package mathspec Error: `amsmath' must be loaded earlier than `mathspec' [duplicate]

I noted there are some similar questions for my problem on this list, but none of them solve my issue. So I post it here again: Hi, I try to compile letex thesis use the following steps: $ git ...
1
vote
0answers
23 views

Centering \newtcblisting

Continuing with my book in xelatex, I could't solve how to center a tcblisting. Here is my (i hope this time), MWE: % !TEX encoding = UTF-8 % !TEX program = xelatex % !TEX spellcheck = es_ES % !TEX ...
1
vote
1answer
47 views

Where to find documentation for XeTeX's line breaking behavior?

I am trying to find out more about how XeTeX implements line breaking for different languages using \XeTeXlinebreaklocale. From the XeTeX reference guide: \XeTeXlinebreaklocale⟨Locale ID⟩: ...
0
votes
2answers
98 views

Why unicode symbols cannot be shown for XeTeX?

I have following example, which I would the unicode symbols to be shown automatically, how should I do? Please kindly help. \documentclass{standalone} \usepackage{xeCJK} \begin{document} 你好! ⃝ ⃞ \...
0
votes
1answer
79 views

Properly align superimposed symbols used as custom bullet of an itemize environment

I'm writing a document with XeLaTeX where I often have to include stylised itemize environments as shown below (MWE follows): \documentclass[12pt]{book} \usepackage{relsize} \usepackage[quiet]{...
1
vote
1answer
20 views

Beamer \only or \onslide in presence of notes pages

When I use \only<#> in the \note{} section of my beamer slides, I'm getting odd behavior where an extra slide gets generated at the end of each series of slides. For example the following ...
2
votes
1answer
121 views

How to find out why the font search fails?

I migrated my XeTeX PDF generation from a Debian 9 system to the CentOS 7. The Red Hat packages of XeTeX where totally outdated and I had to remove them all, in order to install the latest TeX Live ...
0
votes
0answers
13 views

stack two sub-lines of the small Chinese characters to fit into one line

I would like to stack two small sub-lines of Chinese characters to fit into one line. As shown below: What I can achieve is the following: with the source code: %!TeX program = XeLaTeX \...

1
2 3 4 5
86