Questions tagged [xelatex]

XeLaTeX is LaTeX on top of a modified TeX engine for added Unicode and OpenType support

LaTeX macro package running with XeTex as the underlying engine (which extends TeX with rich Unicode and OpenType facilities), offering in particular new font selection mechanisms (fontspec package) and multilingual typesetting (polyglossia). More information is available at wikipedia.

230 questions
3
votes
1 answer

LaTeX multiple URLs within the same href command

I am trying to embed two URLs in the same clickable text; so after a person clicks on the text, he/she is directed to two webpages (I don't really care if this happens in two windows or two tabs). A command…
philomathic_life
  • 514
  • 3
  • 18
3
votes
1 answer

Matplotllib and Xelatex

I tried to find the answer for my question for some time now but could not come up with something that works for me. My question is: How can you use Xelatex to compile text in Matplotlib? I know that there is this…
Joerg
  • 107
  • 1
  • 6
3
votes
3 answers

XeTeX - Detect when re-run is needed

I'm trying to determine when a re-run of Xe(La)TeX is required because of undefined references. I've posted a related question on the SCons mailing list, and the problem is as follows: Page counts and other references that require multiple runs of…
Brian M. Hunt
  • 81,008
  • 74
  • 230
  • 343
3
votes
1 answer

knitr with xelatex and tikz: Ghostscript error on minimal example

I am trying to use XeLaTeX, knitr and tikz - and failing with a ghostscript error. I have tried many different approaches and the situation is as follows: XeLaTeX with knitr: works PDFLaTeX with knitr: works PDFLaTeX with knitr and tikz:…
fsmunoz
  • 75
  • 1
  • 5
3
votes
1 answer

markdown -> pandoc -> PDF | chokes on rendering tables

I am using Pandoc to generate a PDF from markdown, but am having trouble producing a table. The terminal command used is: $ pandoc -s -o foo.pdf --latex-engine=xelatex --filter pandoc-citeproc bar.md The grid table used in my markdown document…
user2930327
3
votes
2 answers

Table template for org-mode pdf export

I'd like my tables to be the same width (75% text width) in my org pdf export. I've used http://emacs-fu.blogspot.co.uk/2011/04/nice-looking-pdfs-with-org-mode-and.html to add a nice title page and some other customisations, but I can't work out how…
elbeanio
  • 51
  • 5
2
votes
2 answers

How to render non-latin scripts like Arabic into pdf format with Quarto?

When I write YAML code in the Quarto config file to include latex commands that render Arabic nicely into pdf it works fine. The same YAML code does not work in Quarto. This is the code that works in plain markdown, but not in the Quarto config file…
jacobhoi
  • 35
  • 5
2
votes
1 answer

ERROR: Your TexLive version is not updated enough

I would like to create a pdf document using Quarto. When I run the following simple code it returns the following error: --- title: "Test" format: pdf --- Example document Output error: running xelatex - 1 command xelatex not found, attempting…
Quinten
  • 35,235
  • 5
  • 20
  • 53
2
votes
2 answers

Letters and numbers in math do not use "mainfont" nor "mathfont"

I notice that, in math mode (i.e., in quarto, $$...$$ or $...), letters and numbers are being set in a default font irrespective of the mainfont or mathfont. Thus, variable names and numbers are being typeset in a different font. mathfont does have…
vanadium
  • 178
  • 5
2
votes
0 answers

XeLaTeX setup with fontspec in matplotlib

I am preparing figures for a manuscript where I would like to have precise control over the font used for each level of text. Specifically, I want to use different weights for e.g. tick labels and the figure titles. To do this, I am using the pgf…
ARGratrex
  • 73
  • 5
2
votes
1 answer

Set space between Reference items in Rmarkdown biblography using csl-file

I am currently trying to properly format my bibliograpy in an Rmarkdown file while using a csl -file. When using natbib the spacing between the ref-items works fine, however using a csl file, it doesn't result in a proper spacing. I dont want to use…
user12256545
  • 2,755
  • 4
  • 14
  • 28
2
votes
1 answer

Changing font family for a paragraph in latex rmarkdown

does anyone know how to change of font family in the middle of a rmarkdown document? I am currently using the following code but it resets the given text to computer modern, it is like it just never finds any other font. please help --- title:…
JK Lambert
  • 333
  • 1
  • 6
2
votes
1 answer

Problem with ligatures in Rmarkdown / bookdown pdf output

In my Rmarkdown project, I'm having trouble in correctly exporting ligatures in PDF file. font-config.tex file - \usepackage{fontspec} \setmainfont{Noto Sans} YAML front-matter in Rmd file - --- title: "test" author: "author" date:…
kbc
  • 61
  • 1
  • 10
2
votes
0 answers

Installing xelatex from yaml

Question How can I modify my environment yaml (for a python setup) environment.yml, to automatically install xelatex on Ubuntu? Context Currently my yaml consists of: name: space channels: - conda-forge - conda dependencies: - anaconda -…
a.t.
  • 2,002
  • 3
  • 26
  • 66
2
votes
1 answer

Rmarkdown beamer slides does not show itemise bullets

I was trying to write create some beamer slides in Rmarkdown. Since the beamer slides would need to include some Chinese characters, I have to specify xelatex as the latex engine. However, recently I found that the xelatex engine has a problem (the…
john liang
  • 21
  • 2