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
0
votes
0answers
11 views

replace the algorithm label when the algorithm can break the page boundary

I use the breakablealgorithm proposed by @Werner at Algorithm tag and page break to implement the algorithm that can break the page boundary. However, the label of the newly generate algorithm cannot ...
0
votes
1answer
15 views

Docker XeLaTeX arara no error msg

When I compile my LaTeX Document locally with arara it works! But when I put it into Docker (Fedora) I only get this Emergeny-stop: This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019) (...
0
votes
0answers
14 views

How to display first page as a single page in a “Thesis” class

I am writing a thesis and and I would like to view/see first page of my thesis as a single page in PDF and rest is Two pages. I have seen this in Krishna Kumar template (https://gitlab.com/kks32/phd-...
0
votes
1answer
37 views

Changing font of mathematical functions (ln, exp, etc.)

SOLVED: see edits #1 and #2 below. I'm trying to set up a XeLaTeX document that uses a sans-serif math font (Myriad Pro) with a serif text font (Arno Pro). Because Myriad Pro does not have full math ...
1
vote
1answer
51 views

Square bracket border for annotations in screenplay text [duplicate]

I would like to put a square bracketed border around some words in a paragraph and also have it around a whole centered paragraph, depending on the paragraph width. Example: Page breaks in paragraphs ...
1
vote
1answer
24 views

How to avoid linebreak after command and before period?

I use XeLaTeX with the memoir class to typeset my linguistics thesis. In the running text, I often mention prefixes, which have a following hyphen. For example: "un- is an inherited Germanic ...
0
votes
1answer
26 views

How to remove some content from a page without affecting the placement of the rest?

Is there a way to make some content occupy its usual space and produce the same spacing around it, but not show up in any way? (In particular, putting the content in a \phantom box is a non-solution.) ...
0
votes
0answers
19 views

How customize Glossarie display/print?

I am using bib2gls to create a glossary. I defined new keys to the glossary using the command \glsaddstoragekey, but I have trouble to get these keys printed by the command \printunsrtglossary, e.g., ...
3
votes
0answers
37 views

Strange behavior in Grantha

I am using the velthuis-sanskrit-grantha.map found at https://www.mail-archive.com/xetex@tug.org/msg11336.html Here is my code \documentclass[letterpaper,12pt]{article} \usepackage{fontspec} \...
3
votes
1answer
77 views

Adding space in math superscript in XeLaTeX

I had the same question as asked here. The solution is to add this piece of code in the preamble \let\sp^ \catcode`\^=\active \gdef^#1{\sp{\hspace{0.06em} #1}} The solution seems to work. However, I ...
0
votes
1answer
21 views

How to align text vertically with fixed textwidth?

I'm lost on how to align text properly. Anything I search up with respect to textwidth only gives results on how formatting tables work, but I'm just trying to work with plain text here. Any idea what ...
0
votes
1answer
17 views

Warning building in Sublime Text XeLaTeX BibLaTeX

I'm having quite some unpleasant moments every time I build my LaTeX documents using Sublime Text 3. Every time I compile a document I get the following warning LaTeX Warning: You have requested, on ...
3
votes
1answer
80 views

How to use arbitrary font in pgfplots?

I produce the following chart: With the following code (compiled with XeLaTeX): \documentclass[border=5pt]{standalone} \usepackage[table]{xcolor} % more control over colors \usepackage{tikz} \...
1
vote
2answers
36 views

How get \Box like symbol with XeLaTeX

The source below, when processed with pdflatex produces the math symbol shown here: But if I process the source with xelatex, I get error: ./unitsquare.tex:26: LaTeX Error: Command \Box not provided ...
2
votes
1answer
31 views

Define a command on xelatex command line

I would like to define the command \qonly on the xelatex command line to be the string chapter07. Later in my LaTeX file I will have an ifdef that will provide the argument to an \includeonly if \...
1
vote
0answers
32 views

The latest xelatex update make the beamer ball disappeared

I update the texlive update to date, and find the ball type outlines of beamer disappeared when using xelatex to compile, but lualatex work(the un-updated xelatex also work). But lualatex is so slow, ...
0
votes
0answers
13 views

Listings unexpectedly descends the star(*) character

Using the Fontspec package in XeLaTeX, I declared a new mono font(Menlo) as the font for the listings package. But the package unexpectedly descends the star(*) character, which is weird. How to ...
2
votes
1answer
85 views

Bug in Apple's pdfKit triggered with xelatex, not with pdflatex

This seems to be a bug in Apple's pdfKit. However, as this problem only occurs if xelatex is used (works fine with pdflatex), I am hoping that someone here can help with some sort of workaround that ...
0
votes
1answer
23 views

Nested \discretionary-ies in (Xe)LaTex resulting an error

I want to set an automatic hyphenation for the Armenian word յանդգնել in XeLaTeX with \discretionary. The problem is, that there are four consonants in a row, and the Armenian language has very ...
0
votes
0answers
35 views

Can a definition of `\cyrdash` command be added to TU encoding? [closed]

Some legacy encodings, such as T2A, T2B, T2C, that contain cyrillic letters, define \cyrdash command as an ailas for \textemdash. For example, t2aenc.def contains the following two lines: \...
0
votes
0answers
95 views

Help - very urgent -, LaTeX template for the German Youth Institute e. V., Munich; Citavi, Strato (literature, tables, …) [closed]

Dear Ladies and Gentlemen! The German Youth Institute e. V., Munich, approached me about a LaTeX template. I was able to make suggestions for the superstructure (modular solution with a master.tex). ...
1
vote
1answer
25 views

extract all the xtables in to the one .tex file from r

I have two xtables in my R script and I would like to extract them the same .tex file then I can call them to my main.tex with \newcommand print(xtable(head(mtcars), digits =2, caption = "...
0
votes
0answers
42 views

XeLatex compilation failing when adding specific paragraph-formatting instructions to a document that uses Arabic fonts

I am having difficulty compiling the following latex code using XeLatex. It raises the infamous "Missing \endcsname inserted" error. \documentclass[11pt,a4paper]{article} \usepackage{...
2
votes
1answer
59 views

How to wrap Tamil words?

I have used this code. \documentclass[12pt]{book} \usepackage{fontspec} \setmainfont{Noto Sans Tamil} \begin{document} கௌரிப் பாட்டி பொறுமையாய் வெகு நேரம் பஸ்ஸிற்குள் நின்றிருந்தாள். ...
2
votes
2answers
25 views

Problem with fancyhead/rhead using Devanagari

There seems to be some problem with fancyhead/rhead when I use a Devanagari font. My code is the following: \documentclass[letterpaper,12pt]{article} \usepackage{fancyhdr} \usepackage{footnpag} \...
0
votes
1answer
38 views

XeLaTeX doesn't work latex editors

So,I have this xelatex version: XeTeX 3.14159265-2.6-0.999992 (TeX Live 2020) kpathsea version 6.3.2 Copyright 2020 SIL International, Jonathan Kew and Khaled Hosny. There is NO warranty. ...
0
votes
0answers
43 views

XeLaTeX hyphens aren't hyphens?

I recently moved away from LyX to TeXstudio and am using XeLaTeX to generate PDF. I cannot use PdfLaTeX because of the fontspec package. I rewrote my resume and went to apply for some positions. To my ...
1
vote
1answer
18 views

Table of Contents causes a $ error in XeTEX

I've included my whole file below. This causes a $ error when run. When I run it with the \tableofcontents commented out it works. Weird thing: Only in XeLaTeX (with MakeIndex and BibTex). It was ...
0
votes
0answers
28 views

How to debug character set difference with document class change?

I'm trying to use an agda package to compile to latex, and am getting the below error when I make a seemingly insignificant change to the literate agda file (see https://agda.readthedocs.io/en/v2.6.1....
1
vote
0answers
47 views

How to specify this font in beamer?

How to specify the font used in the following figure in my beamer document? By the way, I am using XeLaTeX. % !TEX program = xelatex \documentclass[]{beamer} \usepackage{xeCJK} \usepackage{fontspec} ...
1
vote
1answer
42 views

How to use a specific symbol on an specific font

How can I use a specific character of a specific font? And how could I use it in math-mode? I have tried to use, what I would expect to work: \documentclass{report} \usepackage{fontspec} \...
0
votes
1answer
27 views

Error using Makefile to generate TeX file

I'm trying to create a Makefile that generates my document. ➜ resume git:(main) ✗ cat Makefile .PHONY: . CC = xelatex CURRENT_DIR = . RESUME_DIR = ./src RESUME_SRCS = $(shell find $(RESUME_DIR) -...
1
vote
2answers
69 views

How to type in XeLaTeX a symbol by its unicode code?

How to type in XeLaTeX a symbol by its code? In particular, I am interested in different dashes: U+2011 ‑ non-breaking hyphen as hyphen (U+2010), but not an allowed line break point U+2012 ‒ figure ...
0
votes
1answer
31 views

Fakebold not working on mathbb fonts

\documentclass[a4paper, 12pt]{article} \usepackage{amsmath, amsthm, amssymb, amsfonts} \usepackage{fontspec} \setmainfont{latinmodern-math.otf}[FakeBold=4] \let\mathbbalt\mathbb \usepackage{unicode-...
0
votes
1answer
30 views

Bullets not showing with Beamer and XeLaTeX

I have the following presentation that I compile with XeLaTeX: \documentclass[aspectratio=169, svgnames]{beamer} \usetheme{Madrid} \begin{document} \begin{frame}[c] \frametitle{Learning Outcomes}...
1
vote
2answers
28 views

How to access data properly?

I have a class which defines the following: % myclass.cls \newcommand*{\name}[2]{\def\@firstname{#1}\def\@lastname{#2}} \newcommand*{\firstname}[1]{\def\@firstname{#1}} \newcommand*{\lastname}[1]{\def\...
0
votes
0answers
21 views

\href links are broken with Adobe Reader

I encountered a problem lately that I can't find a reason for. I wrote a command "infopage" which is placed in my .cls-File and does look like the following: \newcommand{\infopage}[2]{% \...
0
votes
1answer
18 views

Fontspec mathbb fonts changed even though latin modern math font is used

\documentclass[a4paper, 12pt]{article} \usepackage{amsfonts, amssymb, amsmath, amsthm} \usepackage{fontspec} \setmainfont{Latin Modern Roman}[FakeBold=2] \usepackage{unicode-math} \setmathfont{...
1
vote
1answer
86 views

XeLaTeX update [20201004] and item ball in Beamer

Beamer item balls go missing while compiling in XeLateX since yesterday's TeXlive update, however, the same code works with pdfLaTeX. Any solution, please. Here is my MWE: \documentclass{beamer} \...
0
votes
1answer
35 views

Some arabic chars appear as boxes with some fonts

When I try to use a font like AGA Dimnah Regular, all letters appear as empty boxes. I tried opening the file in a font editing software. it appears that AGA Dimnah is using some weird special glyphs ...
0
votes
0answers
68 views

Problem after TeX Live update

Code Consider the following example. \documentclass{article} \usepackage{graphicx} \usepackage{pstricks} \begin{document} \fbox{\begin{pspicture}(10,10) \rput(5,5){\includegraphics[height = 0.1\...
0
votes
0answers
22 views

The 127th \color does not work on XeLaTeX [duplicate]

The following document % !TEX encoding = UTF-8 Unicode % !TEX TS-program = XeLaTeX \documentclass{article} \usepackage{xcolor} \begin{document} \color{.}\color{.}\color{.}\color{.}\color{.}\...
2
votes
1answer
31 views

Using \today in \hyperref package

Posting a question for the first time so please let me know if I missed anything. I am working in a LaTeX document and here is what I want to achieve using the hyper ref package: Have a URL that is ...
2
votes
1answer
31 views

KOMA cannot change font in ToC for section

I successfully changed the font for the chapters, sections etc. and for the chapterentry in ToC, but it doesn't change the font for sectionentry. How can I set all elements in the ToC to have the same ...
0
votes
1answer
38 views

Question about centring text and adding borders to table of contents

I want to do two things in my document Add borders to my table of contents Centre/align the title of table to title of the page In the following image, I am only showing the contents (not the whole ...
0
votes
0answers
30 views

Set the color of a tikz-cd Glyph arrow tip with xelatex

I'm using a Glyph tip from tikz-cd to get arrows like \looparrowright and friends. However I would like to change the color. latex compiles the following MWE correctly, but xelatex leaves the loop ...
0
votes
1answer
26 views

XeLaTeX Fakebold does not affect math text

Here is a MWE of the issue. \documentclass[a4paper, 12pt]{article} \usepackage{amsfonts, amssymb, amsmath, amsthm} \usepackage[]{fontspec} \setmainfont{ModernMT-Extended.otf}[ FakeBold=1, ...
0
votes
0answers
30 views

Reference incremented labels of figures automatically

Is there any way to make Figures-label with automatically incremented counter. I have this code: \documentclass[10pt,a4paper,openany]{book} \usepackage{graphicx} \begin{document} \begin{figure} \...
0
votes
0answers
46 views

How to use visual studio code LaTex Workshop with xelatex

I want to compile a tex document using xelatex in LaTeX Workshop extension in visual studio code. How can I change compiler from default one to xetex? I put my current setting.json file bellow. { &...
2
votes
0answers
57 views

Tikz borders not working after using the package Polyglossia

First I tried this bit of code, it's working fine, the results are as expected: \documentclass[a4paper]{scrartcl} \usepackage{tikz} \usepackage{tikzpagenodes} \usepackage{scrlayer-scrpage} \usepackage{...

1
2 3 4 5
91