New answers tagged xetex
0
votes
Overriding the (0,0) Default When Using Pstricks Polar Coordinates
A PSTricks solution only for either fun or comparison purposes.
\documentclass[pstricks,border=\dimexpr355mm/113]{standalone}
\usepackage{pst-plot}
\usepackage{graphicx}
\begin{document}
\def\N{16 } %...
2
votes
Accepted
Hyphenate \texttt
You can exploit xurl.
\documentclass{article}
\usepackage{hyperref}
\usepackage{xurl}
\ExplSyntaxOn
\NewDocumentCommand{\clearurl}{m}
{
\tl_set:Nn \l__clearurl_url_tl {#1}
\...
1
vote
Accepted
Putting a brace across multiple lines with text in Plain TeX
You can use predefined structures:
$$
\matrix{
\hbox{\it S is P}\hfill\cr
\hbox{\it S is not P}
}\quad
\cases{
\hbox{cannot both be true (L. of Contradiction)}\cr
\hbox{cannot both be false (L....
3
votes
Putting a brace across multiple lines with text in Plain TeX
Your problem is that you started paragraph mode inside both \vboxes, so they have \hsize width which is not reduced. If you want a text inside a \vbox without starting paragraph mode, put the text ...
1
vote
Putting a brace across multiple lines with text in Plain TeX
Like this?
\noindent
$$\left\{\vcenter{\halign{\it #\hfill &\quad #\hfill\cr
S is P & cannot both be true (L. of Contradiction)\cr
S is not P & cannot both be false (L. of Excluded Middle)\...
3
votes
Accepted
Overriding the (0,0) Default When Using Pstricks Polar Coordinates
You can use a node and then specify the polar coordinates relative to this node:
\documentclass[12pt]{book}
\usepackage{pstricks,pst-node,xcolor,graphicx}
\begin{document}
\thispagestyle{empty}
\...
0
votes
Overriding the (0,0) Default When Using Pstricks Polar Coordinates
The following redefines \rput@iv, which is one of the internal macros used for handling the coordinate specification. It transforms the polar coordinates to cartesian (using radius*cos(angle) and ...
1
vote
Accepted
Scatter Plotting an Image in a Pspicture with Polar-Type Coordinates
If you don't mind switching to lualatex, you can do this with Metapost, wrapped up in luamplib which gives you full access to LaTeX packages for labels, and to a complete language for drawing.
\...
0
votes
How can I access a specific glyph in LuaLaTeX/Fontspec?
You can open MinionPro-Regular.otf by fontforge and you see all characters. Of course, it is somewhat impractical to scroll the table with huge amount of undeclared slots. I am using Alt-Ctrl-] in ...
0
votes
How can I access a specific glyph in LuaLaTeX/Fontspec?
This program works fine to print the list of font's glyphes that are Unicode characters.
However it misses all the glyphes that are variants of Unicode characters (the ones we generaly access thru ...
8
votes
Should we give up pstricks?
I'd say yes. Overall, I think that it's time leaving Postscript and non-UTF8 encodings behind, and that TikZ is, and has been for years, a good replacement for PStricks.
LaTeX evolves slowly, but it ...
29
votes
Should we give up pstricks?
In my opinion everyone who can should switch to LuaLaTeX. It is much more extensible and therefore much more likely to stay relevant in the future.
To make the transition easier especially for ...
1
vote
Accepted
xelatexmk in TexStudio/TexMaker
xelatexmk is latexmk with -xelatex option!
So, if you replace the -pdf option to -xelatex in the line Latexmk, then you can use latexmk as xelatexmk.
Or, you can make a user xelatexmk menu item:
...
8
votes
Accepted
How to stop hyperref package from interfering with pstricks?
psgo uses \refstepcounter (imho unnecessarly) and with hyperref this adds destinations which changes the spacing.
You can suppress the destinations with a boolean.
In a current texlive you can use ...
4
votes
Accepted
How to Give Stars a Glow Effect
Here is an idea using tikz and fadings. The command \glowstar[<size>]{x,y} called inside a tikzpicture will make a glowing star at the given coordinates.
\documentclass{article}
\usepackage{...
2
votes
Why does my project copy not compile?
Click the menu button (top right)
Then find Settings and make sure the Compiler it is set to XeLaTex
Then set the > TeX Live version to the desired one to match the original one:
1
vote
Accepted
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?
You first want to remove the ʹ at the end of numbers, then to patch the relevant macros that produces the stigma to do “sigma tau”.
\documentclass[a4paper]{article}
\usepackage{polyglossia}
\...
0
votes
How to install Arial for XeLaTeX on Debian 10?
It's probably not the best solution.
But at least it works.
Copying the arial*.ttf files from the Ubuntu 20.4 machine in /usr/share/fonts/windowsfonts to the same location on the Debian machine allows ...
0
votes
Errors with XeLaTeX after installing TexLive 2022
The * prompt means TeX read past the end of the file and is waiting for user input.
You can reproduce with a simpler test file
\documentclass{memoir}
\usepackage{subfiles}
\usepackage{microtype}
\...
0
votes
Errors with XeLaTeX after installing TexLive 2022
Answering my own question:
Commenting package subfiles in the test-format.tex file fixes the problem.
%\usepackage{subfiles}
0
votes
HTML to PDF with Pandoc: How to change background color of the PDF?
Create a file header-includes.yaml:
---
header-includes: |
\definecolor{bg}{HTML}{353535}
\pagecolor{bg}
...
and call pandoc like this:
pandoc header-includes.yaml FINAL.html \
-f html \
-V ...
0
votes
Internal error: bad native font flag (XeLaTeX, fontspec, newtxmath, libertine, \dot)
I had a similar problem, here is MWE
\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmainfont{Liberation Serif}
\def\conduce{⇝}
\usepackage{latexsym}
\begin{...
1
vote
Accepted
How to Eliminate an Unseemly Seam in a Psvectorian bi-Colored Pspicture
\begin{pspicture}(-5,-5)(5,8)
\psframe*[linecolor=blue!35](-5,-5)(0,8)
\psframe*[linecolor=yellow!75](0,-5)(5,8)
% oiseaux
\rput[tr]{-30}(-1.3,5.15){\psvectorian[color=white,width=2.1cm]{57}}
\rput[...
1
vote
Using Gentium Plus glyphs in XeLaTex
You can declare this as a text composite command for \^. This example replaces ^{ο} (Where ο is the Greek omicron) with the glyph for o-with-tilde.
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 ...
2
votes
Accepted
Package unicode-math Error: Command `\epsilon ` in math range is not(unicode-math) commands
The \epsilon command is a bit too complicated for range=, since it checks what math alphabet you are currently using.
The range= option actually wants names from “Symbols Defined by unicode-math”, or ...
1
vote
Package unicode-math Error: Command `\epsilon ` in math range is not(unicode-math) commands
This code works (with my TeX Live 2022 distribution) for both XeLaTeX and LuaLaTeX:
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{OldStandard-Regular.otf}
\begin{document}
Does ...
1
vote
Accepted
Using Gentium Plus glyphs in XeLaTex
Font Book tells you the glyph number, in this case 3232, so you can use \XeTeXglyph3232
However, you might use the combination
U+03BF GREEK SMALL LETTER OMICRON
U+0342 COMBINING GREEK PERISPOMENI
as ...
4
votes
Accepted
Make the curve be a fractal curve like complex Brownian motion
Not a perfect solution but maybe you can use it. You can make everything larger:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{decorations.pathmorphing}
\...
1
vote
Accepted
Wrong ")" with Libertine+xurl in xelatex Overleaf
This seems to have been fixed via updates to TeXLive 2021. At least when I test with
TeXLive 2022: no issues, expected output
TeXLive 2021 frozen (aka all available updates): no issue, expected ...
Top 50 recent answers are included
Related Tags
xetex × 5184fonts × 960
fontspec × 802
luatex × 408
pdftex × 279
polyglossia × 278
unicode-math × 221
unicode × 220
tikz-pgf × 181
math-mode × 162
pdf × 142
beamer × 141
graphics × 141
hyperref × 124
errors × 111
miktex × 111
biblatex × 109
texlive × 105
arabic × 99
pstricks × 96
symbols × 95
cjk × 93
spacing × 86
compiling × 83
xecjk × 83