Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

4
votes
2answers
43 views

Different fonts inside and outside math-mode

When processing the simple file: \documentclass{report} \begin{document} 1234567890 $1234567890$ \end{document} with pdflatex one get a PDF with one font only (CMR10), but when processing with ...
0
votes
0answers
23 views

Issue with acro and fancyhdr package in xelatex - Using acronyms in section titles

Intro Recently, I was plagued by an issue with the acro package, while writing my thesis with xelatex. My document uses the fancyhdr package, where I set the section title to appear at footer. The ...
0
votes
0answers
18 views

XeLaTeX can't find custom metafont

I just downloaded XeLaTeX from here, installed it on my Mac, and tried to use it to make a file (haskell_101.tex from here). I ran xelatex haskell_101.tex and got the error: ! LaTeX Error: File `...
0
votes
0answers
30 views

AwesomeCV with Texmaker

I am trying to use the AwesomeCV template (https://github.com/posquit0/Awesome-CV) for creating a CV using TexMaker 5.0.3 with XeLaTex. However, I am not able to get this to work as I get the ...
4
votes
2answers
130 views

'Dimension too large' error when \setmathfont has the option Scale=MatchLowercase

\documentclass{article} \usepackage{unicode-math} \setmainfont{Georgia} \setmathfont[Scale=MatchLowercase]{Cambria Math} \begin{document} n $n \sqrt[n]{n}$ \end{document} The above code when typeset ...
1
vote
1answer
19 views

How should I cope with the clash between the package “xeCJK” and “mathspec”?

I wanted to configure math fonts in my document, and tried with mathspec, only to find it clashed with fontspec. For I have to use Chinese in my document, I have to load xeCJK package which ...
2
votes
1answer
40 views

How can I make the text *full* of a line (by a new command)?

What I want to realize is like the below codes: \mbox{}I\hfill like\hfill the\hfill world\hfill because\hfill it\hfill is\hfill beautiful\mbox{} so that I can get the first line instead of the ...
0
votes
0answers
21 views

Package media9 Warning: Media annotation on line … has zero width

Figure 1 Example from http://texdoc.net/texmf-dist/doc/latex/media9/media9.pdf \includemedia[width=0.6\linewidth,height=0.3375\linewidth, % 16:9 activate=pageopen, flashvars={ modestbranding=1 % no ...
0
votes
0answers
16 views

Xetex stopped working after update to Mojave

I have a document that uses Xetex that compiled perfectly fine before I updated my OS to Mojave, but now won't compile at all. I've created this simple document in Texshop (v4.24): %!TEX TS-program = ...
6
votes
2answers
139 views

Tikz - highlight text in an image

How can I highlight text in an image with tikz by using a rectangle and have the rest of the page filled with a grey (or opaque black) tone, see example below (taken from here)? You can see a ...
2
votes
0answers
92 views

ℕ goes as N into the text layer? [on hold]

Let's compile the following code with {xe}|{lua}atex: \documentclass{standalone}% or article, doesn't matter \usepackage{unicode-math} \setmathfont{TeX Gyre Termes Math}%% or TeX Gyre Pagella Math, ...
3
votes
1answer
78 views

Tikz in xetex - Recreate two ways of presenting/displaying old sources

I would like to present old digitalised sources with tikz picture in LaTeX for private purposes similar to the presentation of Luther's sources by Google, which you can see here: https://...
3
votes
1answer
81 views

Disable smart (contextual) quotes for entire document?

Is it possible to disable smart (contextual) quotes for an entire document? If yes, how? In particular, can the single quote ', double quote ", and backtick ` be left as-is by some option or method ...
0
votes
0answers
37 views

Image not showing up [on hold]

When I wrote: \begin{center} {% \setlength{\fboxsep}{0pt}% \setlength{\fboxrule}{1pt}% \fbox{\includegraphics[scale=0.3]{6}}% }% \end{center} My image showed perfectly. Then I tried to add a ...
1
vote
1answer
104 views

fontspec fails after MikTeX Update on Windows 10 x64

I have just updated my MikTeX installation to 2.9.6942 and Tex Studio to 2.12.14. I'm running on Windows 10 64-bit. The following code is in just about everything I write in LaTeX and it now breaks \...
3
votes
1answer
29 views

Transparent row colours in tabularx environment using XeLaTeX

I'm trying to build a table with alternating row colours, with one of the colours slightly transparent. I have the table layout working as intended, however I cannot figure out a way to get the row ...
1
vote
2answers
61 views

How to align a variable whose sign is absent with a variable whose sign is present while both are inside `\begin{cases}\end{cases}`?

I can't seem to align variables properly since one of them leaves its sign behind on alignment. \documentclass{standalone} \usepackage{amsmath} \begin{document} % NO ALIGNMENT $\begin{gathered} |x|= ...
1
vote
1answer
56 views

XeLaTex fontspec crash on Texmaker [LaTeX error: “kernel/invalid-variant”]

when I compile: \documentclass{scrartcl} \usepackage{fontspec} \begin{document} Hallo \end{document} on Texmaker 5.0.2 with XeLaTex and Commandline: xelatex -synctex=1 -interaction=nonstopmode -...
1
vote
0answers
61 views

LuaLateX vs XeLaTex Myriad

When I typeset this code: \documentclass{article} \usepackage{fontspec} \begin{document} \setsansfont{MyriadPro-BoldSemiCn} \sffamily Hello world ! \setsansfont{Myriad Pro} \sffamily {\bfseries ...
0
votes
0answers
43 views

What combination of engine, format and packages can provide for arbitrary single page layout of precise regions of different attributes?

What combination of TeX engine, format and packages can provide for arbitrary single page layout of precise regions of different attributes? Is this reasonably achievable? Secondarily, if more than ...
1
vote
1answer
49 views

Emulate sups feature for an Opentype font with XeTeX?

I'm trying to access superscript Cyrillic letter in Ladoga Pro Opentype font. I do not get them with \addfontfeature{VerticalPosition=Superior}. As far as I can see, they are not included in sups ...
0
votes
1answer
32 views

How do I tell XeLaTeX where to find the .bbl files?

I am trying to compile a multi-chapter dissertation. I am using chapterbib so I run bibtex on each chapter. xelatex dissertation bibtex chapters/chapter1 bibtex chapters/chapter2 xelatex dissertation ...
0
votes
0answers
54 views

pdflatex TexLive 2018 - are Xelatex and Lualatex picked up automatically now? [closed]

I used to have this code in the beginning just in case I need quickly to process something with Xelatex because of the language and utf8 requirements. I have noticed just lately that running pdflatex -...
0
votes
0answers
19 views

Eps figure got bold axis values with error message:Invalid UTF-8 byte or sequence at line x replaced by U+FFFD

Insert .eps file in .tex and compile with XeLatex. I got warning message such as Invalid UTF-8 byte or sequence at line 795 replaced by U+FFFD. Invalid UTF-8 byte or sequence at line 795 replaced by ...
2
votes
0answers
64 views

Data input in LaTeX possible?

For my next project, I want to check my options. I would like to create a lexicographic book with genealogical data as a PDF, probably in XeLaTeX but I am open for suggestions. The book shall contain ...
2
votes
1answer
50 views

2x2 grid images with space of equal width with Tikz

Relating to this question on tex stackexchange, I would like to implement the below code in tikz. I am particularly keen to have each white space equally wide. By writing white spaces I mean the ...
0
votes
0answers
25 views

xdvipdfmx warning when using Roboto font

When using Roboto font with XeLaTeX, I meet the following warning: xdvipdfmx:warning: Removed 14 null character(s) from fontname --> Roboto-Regular The MWE is \documentclass{article} \usepackage{...
0
votes
2answers
43 views

Pictures on horizontal page in a 2x2 grid with equal distances between them and the margins

I would like to add four pictures with slightly different aspect ratios on two rows on one horizontal page so that the distances between each picture and to the outer margin of the page are equal or ...
2
votes
0answers
43 views

Fake small caps in starred chapter head

I would like to use this solution by @egreg to type in fake small caps. Since I have to use some specific font size for the capital/lower letters, I used some \fontsize{}{}\selectfont in the command ...
0
votes
0answers
24 views

Request for math font family to use with Horley

What should be a nice font to be used with Horley Old Style font. I'm using xelatex with fontspec and unicode-math and based on the pdf properties I suppose that CM is being used for math fonts. So, ...
0
votes
1answer
29 views

Why are my columns colliding with package paracol?

I am trying to use the package paracol to display the same biblical verses in several languages. Why are my two columns colliding and how can I prevent this? Also, as a secondary question, I am ...
0
votes
1answer
62 views

Fontspec crash with xelatex

I'm having a crash with XeLaTeX on any file that uses the fontspec package. I get this as the error: ! LaTeX error: "kernel/invalid-variant" ! ! Variant form 'e' invalid for base form '\...
1
vote
1answer
41 views

Computer Modern (Default LaTeX Font) in Serbian Cyrillic Script by XeLaTeX

I am using \usepackage{fontspec} together with the text encoding conversion file (ascii-to-serbian.tec) in order to obtain a XeLaTeX->PDF output file in Serbian Cyrillic script. TeX code (see below) ...
2
votes
1answer
44 views

Incompatiblity of Adobe font and xpinyin package?

One of font package (i.e. Adobe Garamond Pro) is not compatible with vowels encoding using xpinyin package. Can I exclude these fonts? \documentclass[margin=10pt]{standalone} \usepackage{xeCJK,...
1
vote
2answers
44 views

Different footnote aligning according to number of digits

My publisher has some rather complicated demands regarding the footnote layout: footnote text always aligned left: for 1-digit footnotes indented 4mm, for 2-digit 5mm, for 3-digit 6mm footnote ...
1
vote
0answers
42 views

Changing to custom font on overleaf [closed]

I was trying to use a different font for my resume in LaTeX and after some search the following code seems to be the answer: \documentclass{article} \usepackage{fontspec} \setmainfont{Calibri} \...
3
votes
1answer
97 views

XeLaTex to PDF rendering ampersands incorrectly (Windows 10 / MikTex / TexMaker)

I'm new to Latex and related topics but I'm learning quickly and really loving it. I'm taking a crack at adapting my CV to Dario Taraborelli's cvtex template for XeTex, and while I've gotten it to ...
2
votes
2answers
72 views

Extract a sublist from a foreach list

I borrowed code from here for this question. The code was used to draw a hexagram (e.g.䷊), of which each stroke is corresponding to a binary digit from a list (e.g. {1,0,1,1,1,1}). A foreach loop ...
3
votes
1answer
71 views

what is a better way to generate iching 64 hexagrams?

If I have list for iching (bagua) trigrams as follows, what is the best way to generate 64 hexagrams as in shown in the image attached? I can use the use the binary code (e.g.{1,1,1}) for either color ...
0
votes
1answer
69 views

xelatex does not pick up a .png file [duplicate]

Consider this code \documentclass{report} \usepackage{graphicx} \begin{document} \begin{figure}[htp] \includegraphics[width=0.4\textwidth]{imageA.png} %\includegraphics[width=0.4\textwidth]{imageB....
1
vote
0answers
22 views

MakeIndex: entries rejected because of duodecimal page numbers

I recently changed the page numbers to duodecimal ones (see here). The package makeidx didn't like that at all. In fact my index isn't written at all anymore: done (0 entries accepted, 341 ...
1
vote
1answer
67 views

Package fontspec Error: The font cannot be found on win10

I have installed the Adobe Garamond Pro.otf fonts on my computer running win10, as shown in the following picture. However, when I run xelatex, the otf fonts cannot be found. Here is an example: \...
5
votes
4answers
82 views

use foreach to read columns from a csv file?

How can I read columns from a external csv file using a foreach statement? e.g. if the content of the csv file is as follows: {0,0,0},black, {1,1,0},yellow, {1,0,1},pink And I would like to use it ...
1
vote
2answers
75 views

Displaying a character in math mode from its Unicode encoding

Can someone tell me what I am doing wrong or simply tell me how I can use the coptic letter "Me" in math mode? I want to use a coptic letter in a mathematical expression in my TeX document. From my ...
3
votes
1answer
84 views

How do I display trigrams from the Unicode miscellaneous symbols block?

How to encode special unicode symbols as in here in latex?
7
votes
2answers
294 views

Andika fractions

I have hand made the exercise with svg. See attachment. It was very cumbersome. If I could write the étude in markdown and then do pandoc magic I could perhaps learn how to create a library of basic ...
1
vote
0answers
44 views

New fontspec gives problem with xelatex and Calibri

Running the MWE below runs correct with fontspec 2.6l (rev 49739 in Texlive 2018/Win 7) but gives an error with fontspec 2.7 (rev 49809) % !TeX encoding = UTF-8 % !TeX spellcheck = nl_NL % !TeX TS-...
1
vote
2answers
81 views

XeLaTeX: Installed Italic font not appearing

Italics go missing when I change to a font that is installed and I can't figure out why. Here is the installed font, (as shown in Mac OS's Font Book): Here's a MWE: \documentclass[fontsize=14.5pt, ...
2
votes
0answers
96 views

realscripts/fontspec update vs. some Opentype fonts

I have a file that was running smoothly a few weeks ago and is now stopping with the message: Argument of \__fontspec_strip_leading_sign:Nw has an extra } Using most system fonts, or Amiri, ...
0
votes
0answers
34 views

What's the correct way to import a symbol from another font compatible with XeLaTeX/LuaLatex? [duplicate]

EDIT: Apparently I wasn't very clear since I linked the question this supposedly duplicates in the first sentence so I could ask about the robustness of that solution.. I want to know if the method ...