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
2answers
31 views

Font and DeclareTextFontCommand problem

I have defined a command (mapcommand) to convert a given text into another form. However, in article after using the command it changes the font below of it. I mean, the font remains Times New Roman ...
0
votes
0answers
25 views

I am unable to write Urdu text (words/sentences) in IEEE Access Overleaf template

I need to write some Urdu text in IEEE Access paper. If I am changing compiler to XeLaTeX then I am getting incorrect format of the paper. Can anyone please help to work it out? The following is a ...
0
votes
0answers
30 views

Multilingual typesetting difficulties in local Tex Live compared to Overleaf

I was usually using Overleaf with Xelatex backend to write my documents and I never had any issue. Lately, I mainly focused on writing using a local Tex Live installation and I can't properly produce ...
0
votes
2answers
56 views

Unicode chars in URL with XeLaTeX

I want to print an URL with greek chars (compiling with XeLaTeX), but the below script fails to display the greek chars in the URL (they are displayed as underscores), while if I enclose the greek ...
0
votes
0answers
33 views

Can't set metadata when using XeTex and pdfx to create a PDF/A file

I'm trying to create a PDF/A file using XeTex and leveraging the pdfx package. The page 96 of the pdfx documentation seems to indicate that XeTex should be accomodated. I've also tried using xmpincl ...
1
vote
1answer
18 views

Different numbering for toc and chapter titles using titlesec package

I want the chapter titles in the ToC to be listed using arabic numbers, but want no numbering in the chapter title pages. Like here: and in the title page, it should be like: but without the number. ...
2
votes
3answers
77 views

How to make a macro that prints verbatim text?

I'm trying to do automatic linebreaking right now with verbatim, and I have this setup. \usepackage{fancyvrb} \usepackage{fvextra} \begin{Verbatim}[breaklines=true,numbers=left,breakafter=\},...
2
votes
1answer
35 views

XeTeX + STIX2 Errors: 'Too many symbol fonts declared.'; 'Symbol font Digits:m:n is not defined.'

I've recently been experimenting with typesetting and I stumbled upon an issue, where the following preamble: \documentclass[12pt,a4paper]{memoir} \usepackage{stix2} \usepackage{mathspec} \...
1
vote
1answer
53 views

How to put code into another macro to avoid duplication?

The following code has two branches: If true-branch, argument #2 is put into \colorbox by which is typeset; If false-branch, argument #2 is typeset directly. #2 has to appear in both branches. In the ...
2
votes
0answers
55 views

Unexpected output when using chemfig package in Latex

I'd like to write a reaction mechanics in Latex, but the output differs from what I expected. \documentclass{jlreq} \usepackage[dvipdfmx]{graphicx} \usepackage{chemfig} \usetikzlibrary{calc} \begin{...
0
votes
2answers
46 views

How to select arial black font XeLatex?

I'm making a resume and want to use arial black. Here is my code: \name{{\fontfamily{arial}\selectfont {myName}}} What do I have to put instead of arial to get arial black?
2
votes
2answers
174 views

How can I insert a nine-pointed star in a LaTeX document?

I am typesetting a Bahá'í book and I want to insert a nine-pointed star in it. Is there a way to generate it on the fly? What would be the best way to do this otherwise? Unfortunately this is a common ...
0
votes
1answer
34 views

unable to extract devanagari from XeLaTeX generated PDF using ebook-convert

I'm using TeXLive 2020 in Debian Bullseye. I generated a PDF document using XeLaTeX containing Devanagari characters. By using the option \XeTeXgenerateactualtext=1, I'm able to copy the Devanagari ...
1
vote
1answer
26 views

Xelatex: Section fontsize

\documentclass[12pt]{book} \usepackage{titlesec} \titleformat{\chapter}{\centering\bfseries\fontsize{20pt}{0}\selectfont}{Chapter \thechapter.}{10pt}{} I can modify the Chapter normally. However, it ...
0
votes
1answer
40 views

newcomputermodern and def command

Consider the code: \documentclass{article} % \usepackage{newcomputermodern} \def\phi{\varphi} \begin{document} $$ \phi $$ \end{document} As a result, the code will create a document with varphi, but ...
0
votes
1answer
45 views

Beamer itemize has no bullets

I don't use package "enumitem" Mysterious! Beamer itemize has no bullets after adding a few packages overleaf is OK. so what's wrong with my setting? \documentclass{beamer} \usepackage[UTF8]{...
1
vote
2answers
82 views

text not getting justified

I have written the following tex code \documentclass[12pt]{book} \usepackage[contents={}]{background} \usepackage{fontspec} \setmainfont{Constantia} \begin{document} \LARGE \chapter{Prayer} ...
0
votes
2answers
69 views

Missing characters for CJK languages in one document but work without applying commands for LuaLaTex or XeLaTeX 2018 version (latest stable version)?

I know you can apply something like \ch{...} to render specific language such as Chinese, however, is there a way to have it render the content without applying commands to the content but also work ...
1
vote
1answer
30 views

How to add the author to the right mailbox?

\documentclass[UTF8]{ctexart} \title {title} \author{author} \date{\today} \begin{document} \maketitle \end{document} Author is in the center,but I hope it can be on the right.
0
votes
0answers
40 views

Use Fourier and Arial Narrow fonts in XeLaTeX

I want to use Fourier as default font for my document and Arial Narrow for my tables. This has meant that I would need to compile in XeLaTeX with the following MWE: %\RequirePackage{luatex85} \...
-1
votes
2answers
44 views

Cyrillic, Palatino, and xelatex

I want to write a text in russian in Palatino(-like?) font, using polyglossia and xelatex. How should I do it?
0
votes
0answers
18 views

adding strings at compile time [duplicate]

I'm currently writing and sending out applications to various universities, which means having to change the name and address of the recipient many times. Is it possible to have a string placeholder ...
4
votes
1answer
27 views

Hyperref bug with index entry containing quoted | character

For this MWE, run with xelatex in TexLive 2020 on Windows 10: \documentclass{article} \usepackage{makeidx} \usepackage{hyperref} \makeindex \begin{document} \index{foo} % OK, but without this line, ...
1
vote
0answers
24 views

Getting Stuck when converting Rmd to beamer

I'm trying to make a beamer presentation using R Markdown. I was impressed by an article of Steve Miller (http://svmiller.com/blog/2015/02/moving-from-beamer-to-r-markdown/) and hence started using a ...
1
vote
0answers
21 views

I can't create some custom size pages in XeLaTeX

In the mid document i want to insert a pdf page into a custom page size, compiling with XeLaTeX. I also want to be able to configure the margins of the pages so that the content adapts to the newpage ...
0
votes
1answer
57 views

Is there a way to support CJK languages in one document without applying commands

I cant seem to find a way to support all the CJK (Chinese, Japanese and Korean) lanaguages in one document. Yes you can apply something like \ch{...} to render Chinese for example, however, is there a ...
0
votes
0answers
24 views

Where I can find a list of available fonts with mathspec package? [duplicate]

I want to change the math fonts from the standard latex fonts to a font that matches more closely to my text font (as I am using a custom font for the text). However, I do not want to use the text ...
0
votes
0answers
15 views

Ignore specific lines of inserted file using \input{}

I do documentation on a large scale with somewhat strict standardization, meaning most of the preamble should be inserterd from one place. This poses difficulties when wanting to change say 3 lines of ...
0
votes
0answers
21 views

How to define a command for xelatex in wizard?

While typing my thesis, I have faced a problem. It was working fine until my pc turned off suddenly and when I turned it on I could not compile the text file and no pdf is built in pdf viewer. I ...
3
votes
1answer
98 views

Something is wrong with `\setmathdigitfont` of XePersian

From 2014 until 2020 I have used of a tex template that is working not so bad and was error-free. But after installing TeXlive 2021 it is rapidly produce error after calling \setmathdigitfont{Font ...
3
votes
1answer
105 views

Minon Math font `'` and `\prime` behaves differently

I am using Minion Math to typeset a book. The editor asked if it is possible to lower the position of the ' in equations when it is used with a lowercase p letter. I noticed that the behaviour of ' ...
0
votes
0answers
41 views

How to resolve the error “Undefined control sequence… \mathcal -> \mathrsfs” when using \mathcal? [duplicate]

I am using a template that requires XeLaTeX. I usually use pdfLaTeX, but I need to use this template for my dissertation. I believe the template uses XeLaTeX to use particular fonts, but I am not sure ...
0
votes
0answers
26 views

XeLaTeX: Use font metric of not installed font

I use XeLaTeX. I have only free FontA.otf (say) installed on my system. The other computer has expensive FontB.otf (say), too. The final output is to be produced on the other computer using FontB.otf. ...
0
votes
0answers
34 views

Polyglossia gives error after updating Miktex - A file which compiled flawlessly before update and the log file are attached

The Code I use \documentclass[11pt,twoside,openany]{book} \usepackage[paperheight=215mm,paperwidth=140mm,top=2cm,bottom=2.3cm,left=2cm,right=1.5cm]{geometry} \usepackage{fontspec} \usepackage{...
1
vote
1answer
19 views

Issues in author name in IEEE Double Column conference paper

I am facing problem writing author information in IEEE Double Column Conference template can be found at https://www.ieee.org/conferences/publishing/templates.html . I want to mention two things in ...
1
vote
0answers
34 views

Uneven page breaks reledmac / reledpar and XeTeX (bilingual, two-column book)

I have been wanting to create a two-column book, one side of it having Ancient Greek text, and the other side an English translation. I found the reledpar and reledmac packages pretty handy for this, ...
1
vote
1answer
45 views

Switching fonts automatically based on script, not just mixing alphabets in the same font

The following works with xelatex and produces the expected output: \documentclass{book} \usepackage{fontspec} \setmainfont{DejaVu Serif} %\setmainfont{GFS Porson} \begin{document} one two three ἑν ...
0
votes
0answers
20 views

Using both unicode-math and mathabx fails with “Command \circ, \diamond, \bullet, … already defined” [duplicate]

In my document I need unicode-math at some point to conveniently use Unicode characters in my source files and mathabx for the \Vdash macro (a variant of \vdash). It seems these packages are ...
0
votes
0answers
13 views

Switching fonts automatically based on script [duplicate]

The following works with xelatex and produces the expected output: \documentclass{book} \usepackage{fontspec} \setmainfont{DejaVu Serif} %\setmainfont{GFS Porson} \begin{document} one two three ἑν ...
1
vote
1answer
35 views

tabular with \setmainlanguage[numerals=maghrib]{arabic}

i have this tabular \documentclass[10pt,a4paper,border=20pt,varwidth=1.3\linewidth]{standalone} \usepackage{mathtools} \usepackage[inline]{enumitem} \usepackage{polyglossia} %setting ...
1
vote
0answers
59 views

How to make sure LuaTeX write all that is supposed to?

I have a file \documentclass{standalone} \begin{document} \( \mathaccent"7017 c \) \end{document} that prints what is supposed to, a C-with a circle on top in math-mode, just fine. Suppose now ...
0
votes
0answers
52 views

Sans serif environment with maths

Is there a way to create a new environment in XeLaTeX in which all fonts become sans serif (like a beamer page), and then it comes back to normal font when the environment is finished? MWE (Edited) % !...
1
vote
0answers
197 views

documentation for MiKTeX xelatex

On my Windows 10 system I regularly use MiKTeX's xelatex command: hello.tex \documentclass{article} \begin{document} hello \end{document} PS> xelatex hello This is XeTeX, Version 3.141592653-2.6-...
2
votes
1answer
122 views

How to apply fake slant for Bold Italic font

I want to apply Bold Italic as a Fake slant, since the font does not have the bold Italic version Note: This font have Italic version How to get the Bold Italic as a Fake slant? MWE: \documentclass[...
0
votes
0answers
32 views

Compiling an overleaf template with Texmaker

I am trying to compile this overleaf template with Texmaker, however I can't get it (I downloaded the .zip file but it still doesn't work). I attach screenshots (My Texmaker Version: 5.0.3):
3
votes
1answer
57 views

Why is \scshape not changing in XeLaTeX?

I'm trying to alter \scshape in XeLaTeX, but for some reason, three reasonable attempts (xpatch, \def, and \renewcommand) seem to have no effect whatsoever (only in XeLaTeX). A nonworking example is ...
0
votes
2answers
27 views

Enable XeTeXinterchartoks only in non-sans/mono text

Is there a way automatically trigger the activation of XeTeXinterchartoks depending on if one is in \ttfamily, \sffamily, or \rmfamily? There are some interchartok based kerns I want to use for my ...
0
votes
2answers
89 views

How to get a system font which works with xelatex to work with lualatex?

I'm trying to convert a document from using xelatex+polyglossia to luatex+babel (following a suggestion here). The relevant code is: \usepackage[english, bidi=basic]{babel} \usepackage{fontspec} \...
1
vote
1answer
20 views

Package formular doesn't respect line spacing

MWE: \documentclass[a4paper, 14pt, table]{extarticle} \usepackage{fontspec} \usepackage{amsmath} \usepackage{formular} \usepackage{unicode-math} \linespread{1.3} \setmainfont{Liberation Serif} \...
0
votes
1answer
29 views

titlesec package not suppressing chapter number from section in XeLaTex

Am using the Overleaf online editor, and in order to use the polyglossia for Arabic fonts support package, I changed the compiler to XeLaTex. everything worked as expected, except for the titlesec ...

1
2 3 4 5
98