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
1 answer
18 views

more pages on one sheet with **cut off margins** and `pdfpages`

I have recently asked a similar question elsewhere but I still haven't obtained an answer I was looking for. This time I shall be much more precise (which will even yield a new question rather than ...
user avatar
  • 1,880
2 votes
2 answers
27 views

Macro with variable length list as an argument

I have a book which includes lots of circular diagrams generated using TikZ. This is being compiled using XeLaTeX (and I specifically don't want to switch to LuaTeX). To simplify the code for these ...
user avatar
  • 570
0 votes
1 answer
42 views

How can I set pdfinfo based on content of external file?

How can I include the contents of an external file in the PDF metadata (either built-in attribute like Subject, or custom one like My ID)? I have written some text to shell-output.txt with, for ...
user avatar
1 vote
0 answers
39 views

Jake's resume cannot be compiled with LuaLaTeX or XeLaTeX

Jake's resume is a famous resume template, its link is https://www.overleaf.com/latex/templates/jakes-resume/syzfjbzwjncs I want to modify it for Chinese characters, for example, change \section{...
user avatar
0 votes
2 answers
25 views

Is \hl incompatible with \textquotesingle? ("Cannot use \XeTeXglyph with ectt1000; not a native platform font")

The command \hl{\textquotesingle{}test\textquotesingle{}} (where \hl is from the soul package) yields the following error: Cannot use \XeTeXglyph with ectt1000; not a native platform font. \remove@...
user avatar
  • 141
0 votes
0 answers
14 views

What is the most appropriate way to sandwich latin words between some unicode paragraph (Arabic, Khmer, Burmese for instance)?

I'd like to use english words inside paragraphs in Burmese. I really have to use XeLaTex instead of LuaLaTex for my language and fontspec package. I currently do something like below code. But I ...
user avatar
  • 115
2 votes
1 answer
46 views

Why setting `\XeTeXinterwordspaceshaping = 2` causes problem to two `\fontspec` in sequence?

I encountered one strange problem with \fontspec and \XeTeXinterwordspaceshaping = 2 setting. If I use more than one \fontspec in sequence in a line, I got an error. All those commented line with % ...
user avatar
  • 115
0 votes
0 answers
18 views

How to set author name in Devanagari using devanagari package in LaTeX beamer?

Minimal working exmaple file with dn extension. \documentclass{beamer} \usepackage{devanagari} \title[]{My Title} \author[{\dn\dncalcutta meraa naama}]{My Name} \institute[]{{\dn \dncalcutta ...
user avatar
1 vote
0 answers
37 views

Arch linux 2022: TikZ sets color to default in XeLaTeX but not in pdfLaTeX or LuaLaTeX (Is it a bug?) [duplicate]

Old Post: (See solution below) See the below example: \documentclass[xcolor=table,leqno,aspectratio=169]{beamer} \usepackage{tikz} \usetikzlibrary{calc} \newcommand\tikzmark[2][]{\begin{tikzpicture}[...
user avatar
  • 19k
0 votes
0 answers
85 views

What are the math fonts used in this page

I would like to use the nice fonts (text + math) of the following document (from the Encyclopedia of Mathematical Physics). I tried WhatTheFont but without a convenient result. I used pdffonts ...
user avatar
  • 141
0 votes
0 answers
15 views

Bibliography for individual chapter in Texstudio (MacOS)

I am writing thesis chapter with individual bibliography. Executing with Xelatex, and I found no errors, preview shows everything but citations and reference. Although, I have written report with ...
user avatar
  • 11
0 votes
0 answers
20 views

Wrapfig on right of text leaves blank space beneath the figure

I am writing a LaTeX document that contains a right figure that is wrapped by text. However, despite being at the end of a page, there is a blank space that spread throughout multiple pages, in my ...
user avatar
2 votes
1 answer
52 views

Beginner Question: Idiomatic way to quote non-latin text?

I am a hobbyist and very much a beginner at LaTeX. I am typesetting a book and would like to include a quote written in Devanagari script. Here is what I came up with: \newfontfamily\devanagari{Noto ...
user avatar
0 votes
0 answers
38 views

How to detect iniTeX?

How can I detect, from within a LaTeX document class, if the engine was started with -ini or not? I’m using XeTeX if that matters.
user avatar
4 votes
2 answers
308 views

Greek directly in math mode XeLaTeX instead of PdfLatex

This piece of code \documentclass{article} \usepackage{alphabeta} \usepackage{amsmath} \begin{document} $α+β+γ=\alpha+\beta+\gamma$ \end{document} works perfectly in MiKTeX-TeXworks provided ...
user avatar
0 votes
1 answer
36 views

Automatically assign a value to name attribute in hyperref

Look at the text box I create with hyperref. I have documents with over 600 text fields, some of which are constantly changing. Is there any way in hperref to automatically assign the names of the ...
user avatar
  • 91
2 votes
1 answer
113 views

How can I create a layout like this?

I would like to have a larger left margin like in the picture above. I guess something like this would do it: \usepackage[top=1in, bottom=1.25in, left=1.5in, right=1.5in]{geometry} I think I should ...
user avatar
1 vote
0 answers
20 views

How to set bold version for single math font file in unicode-math? [duplicate]

We can set the bold version for some math fonts which contain separate bold math font files, e.g., XITSMath. But for some math fonts, only one font file, such as STIXMath. In STIXMath, there are also ...
user avatar
  • 419
0 votes
0 answers
7 views

How to include bibtexfile for each subfile or chapter separately in xeTex?

I have a main.tex file which uses \subfiles or \input to include other files as either subfiles or chapters. In the main.tex file, there is a separate bibliography called bibfilemain.bib. The problem ...
user avatar
  • 296
3 votes
0 answers
96 views

Support for languages other than English in LaTeX [duplicate]

I am currently using fully updated TeX Live 2022 and I am very happy to see a lot of new advancements in LaTeX which make typesetting languages other than English easy and more convenient. I have seen ...
user avatar
  • 2,318
2 votes
1 answer
43 views

KOMA: Keep layout when removing BCOR

I have a printed document where I used the BCOR option to add some space on the left for binding. Now I got asked to provide the same document again in electronic form. For this using BCOR would look ...
user avatar
  • 545
0 votes
1 answer
53 views

How can I (re-)define language-specific commands (XeTeX, polyglossia)?

When I first wrote a very large document with pdfTeX and babel, I defined two commands for (ancient) Greek only: Linebreak is allowed after \,: \addto\extrasgreek{% \RenewDocumentCommand\,{}{\...
user avatar
1 vote
1 answer
28 views

How can beamer subsubsections have level 4 in PDF bookmarks?

When using beamer, I found that my subsubsections are not shown in the PDF bookmarks. I can use \setcounter{tocdepth}{4} or \hypersetup{bookmarksdepth=4} to fix it. And I wonder why. In this answer, ...
user avatar
2 votes
2 answers
73 views

TeX doesn't apply changed memory settings from local texmf.cnf

I added my own textmf.cnf and have set up TEXMFCNF to point to it with export TEXMFCNF=path: in .zshrc. kpsewhich finds it correctly. My texmf.cnf: stack_size=150000 When I run latexmk -synctex=1 -...
user avatar
1 vote
0 answers
24 views

how to use Poiret One font [duplicate]

how can I use poiret one font for just 2 or 3 lines (and not the whole text)? Is there a command like \textsf{word} for poiret one font type?
user avatar
2 votes
1 answer
90 views

Intersection line not correct in PSTricks (3D) and warning "transparency ignored"

Please look at hte following MWE, compiled in Plain XeTeX (or Plain LuaTeX): \ifdefined\directlua \input luaotfload.sty \fi \input pst-solides3d.tex \psset{unit=1cm} \psset{viewpoint=50 30 30 ...
user avatar
0 votes
0 answers
30 views

Hide some miniframes in navigation bar when not using compress

I’m using Windows 10, TeX Live 2022, XeLaTeX and latexmk, my compile command is latexmk -xelatex .... When using beamer, I want to hide some miniframes (the clikable “circles”) in the navigation bar. ...
user avatar
1 vote
1 answer
44 views

xelatex printing two small ff in smallcaps font

I have used a font's capital letters to create a fake smallcap letters. The lowercase letters are just uppercase letters scaled at 70% and moved lower to match the base. Everything works great except ...
user avatar
  • 829
1 vote
0 answers
27 views

Why isn't `\elapsedtime` of xetex on windows stable?

% !TeX TS-program = xelatex \documentclass{article} \begin{document} \ExplSyntaxOn \tex_resettimer:D \int_step_inline:nnn { 1 } { 1000 } { #1\tex_par:D } \message{\fp_eval:n{\sys_timer:/65536}...
user avatar
0 votes
1 answer
46 views

Wrong file location by \IfFileExists

The following code is the content of my main.tex. The file a.tex is in the subdirectory tmp under the directory where main.tex is, that is to say: ./main.tex and ./tmp/a.tex. The problem of my code is:...
user avatar
  • 2,435
0 votes
0 answers
25 views

LaTeX Error: Command \anw@print already defined on build

I am working on a large tex document that was running pretty smoothly, until now that I upgraded to Linux mint 20.3 and reinstall texlive-full. I was using xelatex as my compiler, but now every time I ...
user avatar
  • 101
0 votes
0 answers
19 views

Polyglossia fills the aux file with useless code

My file uses polyglossia with English, Hebrew and Arabic languages. The aux file is filled with 2,103 (!!) instances of the following code: \selectlanguage *[variant=usmax]{english} \@writefile{toc}{\...
user avatar
  • 1,782
0 votes
1 answer
60 views

Why does the picture environment behave differently on Windows and Linux?

Here is a minimal working example: \documentclass{article} \begin{document} \newdimen\somelength \somelength=1pt \begin{picture}(0,0) \put(\somelength,0){Some text} \end{picture} \end{document} ...
user avatar
  • 1
4 votes
1 answer
49 views

Certain math symbols & font combinations break XeLaTeX in TexLive 2021

The following MWE compiles fine with XeLaTeX and TeXLive 2020: \documentclass{article} \usepackage{mathspec} \setallmainfonts[Mapping=tex-text]{Carlito} \setmathsfont(Greek){[cmmi10]} \begin{...
user avatar
  • 3,379
0 votes
1 answer
21 views

Missing characters to convert the output of `tree` command using pandoc

I have a markdown document that contains the output of Unix tree command: output/ ├── cutadapt │   ├── 0001.PbANKA_820_S1_R1.log │   ├── 0002.PbANKA_820_S2_R1.log │   └── 0003.PbANKA_R1.log ├── fastqc ...
user avatar
  • 225
0 votes
1 answer
19 views

Subcaptions in Hebrew XeLaTeX

I have a pdfLaTeX document with lots of TikZ drawings placed in subfigures with individual captions (using the Springer class svmono). I tried to translate to Hebrew XeLaTeX using the subcaption ...
user avatar
  • 69
1 vote
1 answer
66 views

bullets on the navigation bar in beamer miniframes theme have shifted clickable positions when using XeLaTeX

(May not be minimal) working example: % use XeLaTeX to compile \documentclass{beamer} \usetheme{Berlin} \title{Test} \author{Testname} \institute{Testing University} %%--------------------------- \...
user avatar
2 votes
0 answers
55 views

How to Produce a Rectangular Radial Glow

Consider the code \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage{tikz} \usepackage{calc} \usetikzlibrary{fadings} \...
user avatar
  • 5,445
1 vote
1 answer
36 views

How to Produce a Transparent Image with Xelatex

I compile the following code with pdflatex (which works fine)--- \documentclass{article} \usepackage{xcolor,graphicx} \usepackage{transparent} \begin{document} \begin{figure} [!htb] \centering \...
user avatar
0 votes
0 answers
21 views

Cannot compile bold text with specified font

I'm trying to do a title page so I can reuse it for multiple works in my University. I'm obligated to use Times New Roman (which explains the usage of Nimbus Roman as an alternative). It almost works, ...
user avatar
  • 1
0 votes
0 answers
67 views

How to Draw an Old-Fashioned Tombstone in LaTeX

I would like to draw an old-fashioned (not a Halmos) tombstone. Consider the code: \documentclass{book} \usepackage{pst-slpe,xcolor,yfonts,scalerel} \definecolor{granite}{RGB}{103,103,103} % Compiles ...
user avatar
  • 5,445
0 votes
0 answers
13 views

Add Arabic Abstract as a second abstract using the package arabxetex and the compiler XeLatex

I am writing my thesis in the English language, but I need to add a second abstract in Arabic language, the problem is not using the Arabic language with English, I already solved this problem using ...
user avatar
  • 87
0 votes
0 answers
19 views

How to pass custom arguments to the xelatex command to Overleaf Community edition?

I'm writing my diploma thesis and after I added some figures with TikZ, the compilation time is taking 1-2 minutes. I am running the official docker image of Overleaf community Edition on a local ...
user avatar
  • 101
0 votes
1 answer
26 views

Getting the error "Something's wrong--perhaps a missing \item. ...}<section title>}{1}{section.1}". What should I do?

I am new to LateX and have started to like it very much. I have a document which on compilation gives the error as stated in the question. I am working with TexStudio and when I click on the error ...
user avatar
0 votes
1 answer
20 views

Build hyperlink between Author name and footer

In the following code, I try to build a hyperlink between the Author name and left hand footer. That is to say, when I click the text Author name(made by \author), the page view will jump to left hand ...
user avatar
  • 2,435
0 votes
0 answers
91 views

How does a TeX engine process the informations within a .tex file?

I want to write a LaTeX-TeX parser to manipulate .tex files for a program. I found this question here How does a TeX engine read and render the input stream? which explains how everything works under ...
user avatar
  • 322
0 votes
0 answers
39 views

Tikz externalize not working on Tectonic despite shell-escape enabling

While trying to compile some graphs with PgfPlots I incurred in the out-of-memory error in Tectonic. I therefore looked around for solution and Tikz externalization presented itself as a solution. ...
user avatar
  • 1
2 votes
1 answer
54 views

How to Produce a Colorized Aura About an Image and Which Resembles That Image

Consider the code: \documentclass[border=12pt]{standalone} \usepackage{pstricks} % Compiles with Xelatex \begin{document} %\psset{unit=2} \begin{pspicture} %[showgrid=true] (-3,-3)(9,9) \psframe*[...
user avatar
  • 5,445
0 votes
0 answers
397 views

Miktex not compiling TexStudio

I am using a Win 10 Home, and currently almost two days trying to compile a folder with Tex files belonging to my master thesis. I had no problem in my former computer under repair, however I tried ...
user avatar
0 votes
0 answers
38 views

tikzpicture ends up way outside the limits of the page

In my document which is defined as A4, I want to place our logo in the upper left corner of the first page. The code I'm using for this is: \begin{tikzpicture}[remember picture,overlay] \node[...
user avatar

1
2 3 4 5
105