2022 Developer Survey is open! Take survey.

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
81 views

Getting wrong math formula with CTEX?

When I use \usepackage[UTF8]{ctex} and input the formula like this: \begin{equation} y = \frac{\gamma}{\sqrt{Var[x] + \varepsilon } } \cdot x + (\beta - \frac{\gamma E[x]}{\sqrt{Var[x] + \varepsilon }...
user avatar
0 votes
1 answer
41 views

Hyphenate \texttt

Before anyone says anything, yes, of course I've seen this. But, it's not what I want. What I'm looking for is basically a way to either alter the way \texttt works, or a new command that works just ...
user avatar
  • 167
0 votes
3 answers
46 views

Putting a brace across multiple lines with text in Plain TeX

I'm changing a document prepared in Plain TeX and I'm trying to get a brace to cover multiple lines for example: S is P { cannot both be true (L. of Contradiction) S is not P { cannot both be ...
user avatar
0 votes
0 answers
30 views

A pdf output with exact output dimensions

I want to create a .jpg picture from .pdf with exactly these real dimensions to include this .jpg into my Mobile Phone Samsung Flip Z3 as specified here into my Android Studio Application. Can someone ...
user avatar
  • 1,838
0 votes
0 answers
16 views

Image cache of dvipdfmx + xelatex breaks on certain paths?

Recently, I changed from using MiKTeX to TeX Live for easier sharing of setup & settings between PC's in our network. Most of the setup worked perfectly fine, but while trying to migrate our ...
user avatar
2 votes
3 answers
79 views

Overriding the (0,0) Default When Using Pstricks Polar Coordinates

Consider the code \documentclass[12pt]{book} \usepackage{pstricks,xcolor,graphicx} \begin{document} \thispagestyle{empty} \begin{pspicture}(-5,-5)(5,12)% \psframe[fillcolor=yellow!35!brown,...
user avatar
  • 4,969
0 votes
0 answers
20 views

How can I use polyglossia for RTL text?

If I load the bidi package before polyglossia, I get the following error: l.243 \__xpg_at_package_hook:nnn{luabidi}{package/luabidi/after}{% polyglossia.sty: Missing $ inserted. <inserted text> ...
user avatar
0 votes
0 answers
15 views

Mdframed. First line jf block with negative indent

I use mdframed as so \documentclass[twoside, 12pt, openright]{extbook} \usepackage[a5paper, outer=15mm,inner=15mm,top=20mm,bottom=15mm,footskip=1.5em,headsep=4pt,headheight=1em]{geometry} %\usepackage[...
user avatar
2 votes
1 answer
47 views

Scatter Plotting an Image in a Pspicture with Polar-Type Coordinates

I would like to be able to direct an image from a fixed point in a pspicture to various locations in the picture individual specifying angles and radii from that point. Consider the code (which I ...
user avatar
  • 4,969
13 votes
2 answers
2k views

Should we give up pstricks?

I tried recently to use the program called "auto multiple choice", which seems to support only XeLaTeX. When I googled for it, I also heard about Luatex. Personally, I always compile with ...
user avatar
0 votes
1 answer
17 views

xelatexmk in TexStudio/TexMaker

In TexShop I can bring xelatexmk engine out from ~Library/TexShop/Engines/Inactive folder to ~Library/TexShop/Engines for using. Is there a way to use xelatexmk in TexMaker or TexStudio? In the ...
user avatar
7 votes
1 answer
154 views

How to stop hyperref package from interfering with pstricks?

I am honestly at my wits end with this, it has been exhausting trying to track down this bug but I am out of options. I am writing a document that requires extensive diagrams of go boards (a game) for ...
user avatar
  • 173
1 vote
1 answer
109 views

How to Give Stars a Glow Effect

Consider the code \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage{pstricks,psvectorian} \usepackage{color} \usepackage{...
user avatar
  • 4,969
1 vote
0 answers
44 views

\mathit{\vec{…}} silently swallows up the vector when using xelatex/lualatex, unicode-math, and TeX Gyre Termes (Math)

Feeding xelatex or lualatex with \documentclass{article} \pagestyle{empty} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Termes} \setsansfont{TeX Gyre Heros}[Scale=0.88]%%% Somewhat ...
user avatar
0 votes
0 answers
27 views

umathcode by glyph slot

In XeXeX I can input a glyph by the glyph ID \XeTeXglyph4185\relax However, when I try to define a math character, no character is inserted: \Umathchardef\myint 0 0 4185 If I instead use \Umathchardef\...
user avatar
  • 141
0 votes
1 answer
28 views

Why does my project copy not compile?

I want to copy an old project in overleaf as I'd like to keep the old version as it is. When I copy the entire project, the unchanged exact copy fails to compile a pdf. The only difference I found is ...
user avatar
  • 173
-1 votes
0 answers
52 views

How do I change the TeX engine in TexMaker?

I'm using TexMaker to compile a few files with the include command. I have made some changes in the formatting and it might have caused the error but I can't seem to get it to work again. I'm using ...
user avatar
  • 485
1 vote
1 answer
43 views

Using XeLatex and Polyglossia package with Greek as default Language I need to replace in lists the 6th item from Stigma to SigmaTau (στ). How Can I?

I need the number of the sixth list element to be (στ)
user avatar
0 votes
0 answers
58 views

Error when passing macro to \setmainlanguage

Error when compiling this example using vanilla XeLaTeX (XeTeX 3.141592653-2.6-0.999994 (TeX Live 2022)) or LuaLaTeX (This is LuaHBTeX, Version 1.15.0 (TeX Live 2022)). I've got the following class ...
user avatar
  • 656
0 votes
1 answer
35 views

How to install Arial for XeLaTeX on Debian 10?

I'm trying to use XeLaTeX to generate a document that uses the font "Arial". I have tried this both on Ubuntu 20.4 LTS (where it works) and Debian 10.8 where Arial is missing. On both ...
user avatar
  • 103
0 votes
1 answer
31 views

HTML to PDF with Pandoc: How to change background color of the PDF?

I want to change the background color of the default white to #353535 and for that I'm trying to use the 'backgroundcolor' variable like so, pandoc FINAL.html \ > -f html \ > -V backgroundcolor:#...
user avatar
1 vote
2 answers
88 views

Errors with XeLaTeX after installing TexLive 2022

I just upgraded to TexLive 2022 (I was using version 2016). Now XeLaTeX is failing to typeset my files. I am using subfiles to keep common preamble and macros in one place only and several smaller ...
user avatar
0 votes
0 answers
37 views

Use of Russian (Cyrillic) in section title in English document

My document is chiefly in English, but from time to time I include other languages and scripts (Cyrillic, Greek, Arabic...) with no problem at all, e.g.: \begin{otherlanguage}{russian}Павлов, И. П.\...
user avatar
  • 1
1 vote
0 answers
37 views

Beamer Title Page Text Rearrangement

I have made the following title page in Xelatex Beamer using an online template. I am happy with the outlook. I just want the order of the logo and Author swaped with Lecture topic and date. I want ...
user avatar
2 votes
0 answers
40 views

Different font for large parentheses

I am using unicode-math to specify fonts for my math equations. I would like that small parentheses (and other delimiters) to use one font, and large ones use a different one. The reason for this is ...
user avatar
  • 141
1 vote
1 answer
47 views

How to Eliminate an Unseemly Seam in a Psvectorian bi-Colored Pspicture

In the following code, I am trying to color the LHS of a psipicture blue and the RHS yellow; however, an "unseemly" seam appears down the middle of the picture. \documentclass[12pt]{book} \...
user avatar
0 votes
0 answers
66 views

Square root symbol from this book

Is there a way to use the square root symbol used in the book "Elementary Number Theory" by Edmund Landau? Check the image attached for an example.
user avatar
  • 757
0 votes
0 answers
19 views

How to remove the hyperlink at chapter number (or add the hyperlink at section number) when using tocloft and hyperref

When I am using the packages of tocloft and hyperref, in the Table of Contents, the hyperlink will appear at the chapter number but not available at the numbers of section and subsection. As shown in ...
user avatar
  • 1
1 vote
0 answers
75 views

What is the most up-to-date indicated/suggested way to typeset Greek?

I typically type on an English keyboard, but I use a Greek keyboard when it comes to typing Greek characters. I have my personal workaround through the pdfLaTeX engine, but as LaTeX evolves it seems (...
user avatar
  • 447
0 votes
2 answers
50 views

Using Gentium Plus glyphs in XeLaTex

I am trying to type PUA characters (such as omicron with perispomeni) using the Gentium Plus font on macOS. I have tried setting Gentium Plus as the font for Greek using babel and fontspec but it ...
user avatar
  • 3
1 vote
2 answers
58 views

Package unicode-math Error: Command `\epsilon ` in math range is not(unicode-math) commands

Whenever I try the following command, I get this error: \documentclass{article} \usepackage[no-math]{fontspec} \usepackage{unicode-math} \setmainfont{Old Standard} \setmathfont{OldStandard-Regular....
user avatar
  • 757
4 votes
1 answer
86 views

Make the curve be a fractal curve like complex Brownian motion

This is my curve My LaTeX code is \documentclass{standalone} \usepackage{tikz} %\usetikzlibrary{decorations.pathmorphing} \begin{document} \begin{tikzpicture} %\pgfmathsetseed{666666} \node (Koo) at ...
user avatar
0 votes
0 answers
129 views

How to prevent XeLaTex from creating .log file

Each time I compile my .tex file by XeLaTex from Miktex, a .log file is always created. My question is: How to prevent XeLaTex from creating .log file.
user avatar
  • 2,213
2 votes
0 answers
41 views

\ifpdf vs \sys_if_output_pdf:TF

I've got a document that I want to be engine-agnostic (to be used by lecturers in mathematics department). I'd been using \ifpdf (from iftex) and separately \ifPDFTeX and \IfXeTeX &c. The point is ...
user avatar
1 vote
1 answer
38 views

Wrong ")" with Libertine+xurl in xelatex Overleaf

I get quite strange parentheses in \url{} when load libertine and xurl packages together in xelatex Overleaf. \documentclass{article} \usepackage{libertine} \usepackage{hyperref} \usepackage{xurl} \...
user avatar
  • 35
0 votes
0 answers
25 views

hyperref crashes underlining of starred sections [duplicate]

I want to underline sections and subsections with color. I found a solution, but when using a starred section*{} it crashes - but only if I use the package hyperef. How can I avoid this? % Compile ...
user avatar
1 vote
2 answers
63 views

Using AddToHook instead of background package

Recently I found out that the background package is deprecated and one should use \AddToHook{shipout/background} (comments in Positioning relative to page in XeLaTeX with package background and '...
user avatar
  • 137
0 votes
0 answers
30 views

Mathematical Unicode characters in verbatim using XeLaTeX:

The alltt environment interprets backslashes literally, and my input text is full of them, so I use the verbatim environment for typesetting code. It goes fine but it does not typeset a universal ...
user avatar
  • 747
6 votes
2 answers
2k views

German umlauts are OK, but ß appears as "SS" [duplicate]

I'm writing a paper in German, and these are my settings for font: \usepackage[utf8]{inputenc} % Required for inputting international characters \usepackage[T1]{fontenc} % Use 8-bit encoding \...
user avatar
0 votes
0 answers
32 views

Math in compiled pdf has different encodings for different compiler. When are no unicode characters used?

When selecting and copying math in the compiled pdf I noticed it isn't always matching the original symbols. There are three different scenarios I can remember. Two of which I was able to reproduce: ...
user avatar
  • 1
1 vote
1 answer
35 views

no xml metadata stream with xetex

My aim is to produce a pdf file (letter) with an included metadata stream for later indexing purposes. The tex-file gets created by a program and the compilation should be possible by three major ...
user avatar
  • 13
0 votes
0 answers
33 views

Xelatex does not work

Is it essential to install latex via virtual drive? I cannot install by virtual drive, because after installation some packages, the following error appears every time: I install the latex by this ...
user avatar
  • 127
1 vote
1 answer
78 views

Positioning relative to page in XeLaTeX with package background and 'nested' tikzpictures 'dimension too large'

Context For a personal project I would like to have a tikzpicture on every page that borders the text and all that is on there. I started with LuaLaTeX and wanted to add only a few Chinese characters, ...
user avatar
  • 137
0 votes
1 answer
74 views

Fatal Package fontspec Error: The fontspec package requires either XeTeX or (fontspec) LuaTeX

My setup is : vscode , miktek 4.7 ,strawberry perl, windows 10 I am new in latex , I can not figure out how to build pdf
user avatar
3 votes
0 answers
52 views

XeLaTeX: global colors setting being blocked by a tikz command after a recent update

After a recent update to my TeX Live 2022 distribution, there seems to be something wrong with the colors with xelatex. Consider the following example (compiling with XeLaTeX): \documentclass{article} ...
user avatar
  • 5,074
2 votes
3 answers
96 views

utfsym with XeLaTeX

UPDATE The new version of utfsym.sty released 2022/04/17 works with all engines. Why can't we use XeLaTeX with the utfsym package? Is there any way to solve the problem? The following is a minimal ...
user avatar
  • 2,791
2 votes
1 answer
46 views

How to escape percent sign in shell command

I am working on a macro which will build revision history table in my document using Git tags. Each published version of my document has a tag with short description. I want to use them to ...
user avatar
  • 227
0 votes
0 answers
27 views

How to get the "literat.sty" file?

In Overleaf, after compiling the Lobachevskii Journal of Mathematics template file, an error with the comment "literat.sty not found" occurs. So I think I need to first download the literat....
user avatar
0 votes
1 answer
30 views

Difference between `latexmk -xelatex` and `latexmk -pdfxe`?

I am using latexmk to generate a set of pdfs using a PowerShell script, and I see there are two options for doing so. I can either use -xelatex or -pdfxe. Both work and give me the same output, and ...
user avatar
  • 305
0 votes
3 answers
63 views

Unwanted different parskip length around tabularx

I tried to use the tabularx environment to align my long thesis title at the colon like it is shown in the picture below. Between every entry I wish to have the vertical spacing of one parskip like it ...
user avatar

1
2 3 4 5
104