New answers tagged

0 votes

XeTeX, fontspec and Garamond

Well, the input works perfectly with the free ebgaramond package as well using either of xelatex or lualatex: \documentclass{article} \usepackage[ebgaramond]{newtx} \begin{document} Queue stop acte ...
Máté Wierdl's user avatar
2 votes

What free math font could/should accompany Linux Libertine and Linux Biolinum?

Nowadays a single line in the preamble does the job, and it will compile even with pdflatex. \documentclass{article} \usepackage[libertine]{newtx} \begin{document} The formula \(E=mc^2\) is arguably ...
Máté Wierdl's user avatar
2 votes

Automatic switching of math font based on current text font

How about using mathastext? The following uses newtx which loads libertine and all the math symbols. \documentclass{article} \usepackage[no-math]{fontspec} \usepackage[libertine,osf]{newtx} \...
Máté Wierdl's user avatar
4 votes

xelatex: set mono font after loading unicode-math and modify \parfillskip leads to big whitespace in texttt

It's not clear why the interword space gets flexibility. You can repair the misfeature, though. \documentclass{article} \usepackage{fontspec} \usepackage{unicode-math} \setmonofont{NewCMMono10-...
egreg's user avatar
  • 1.1m
3 votes

xelatex: set mono font after loading unicode-math and modify \parfillskip leads to big whitespace in texttt

The fontdimen parameters 3 and 4 setting the stretch and shrink for a space are being set non zero after unicode-math that looks like a bug, you can force them back to 0pt with eg \documentclass{...
David Carlisle's user avatar
1 vote

`classicthesis` does not give me smallcaps in headings

If I remove all the interfering and contradicting font packages and disable as mentioned in https://tex.stackexchange.com/a/654221/2388 the microtype patches small caps works fine. The error from the ...
Ulrike Fischer's user avatar
1 vote

fontspec cannot find fonts on Ubuntu

Installing Microsoft fonts in Ubuntu using below link helped me https://linux.how2shout.com/how-to-install-microsoft-fonts-on-ubuntu-22-04-20-04-lts/
Arun Kp's user avatar
  • 111
0 votes

Setting separate non-open TTF/OTF fonts for regular and italic in maths and xelatex

As @DavidCarlisle pointed out, the path should be given in another way than in my initial unicode-math example: Information About the Available Options Of The \setmathfont Command I looked through the ...
Samuel Estenlund's user avatar
0 votes

Insert an emoticon using xelatex

I'd also give a try to coloremoji.sty (Specifically this fork). It is basically a map between every unicode emoji character found in your document and a database of PDFs per emoji. In comparison to ...
Doron Behar's user avatar
3 votes
Accepted

How use cyrillic language support in plain Xe/luaTeX?

You've already figured out how to load fonts: input luaotfload.sty then use the \font command with the name of the font that you want to load. Cyrillic has a few characters that have different ...
Max Chernoff's user avatar
  • 4,442
2 votes

TikZ strange default anchor behavior

This is an example to explain why there are some gaps even the margin was already set to 0. By default, there will be paragraph indent (horizontally) and topskip (vertical) space before the first ...
Tom's user avatar
  • 6,793
0 votes

Error with xelatex on macos

Completely removing TexLive and installing again, solved the problem.
Giorgos's user avatar
0 votes

How use cyrillic language support in plain Xe/luaTeX?

The clarification has evolved a little, so here's an example using pdflatex: \documentclass[10pt,a4paper]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ukrainian,english]{...
MS-SPO's user avatar
  • 10.5k
0 votes
Accepted

Error occurred when using tocloft package in LaTeX file

The log (which you did not show) would have made it clear the error was in the aux file Packages often write package-defined commands to the aux file, and so if you edit the main document removing a ...
David Carlisle's user avatar
10 votes

TikZ in XeLaTeX vs. LaTeX

You get ! LaTeX Error: Backend request inconsistent with engine: using 'pdftex' (LaTeX) backend. The help message reads You have requested backend 'dvipdfmx', but this is not suitable for use ...
egreg's user avatar
  • 1.1m
0 votes
Accepted

How to prevent ucharclasses from switching header font family?

You can turn off character classes in the heading \fancypagestyle{fancy}{ \fancyhf{} \fancyhead[EL]{% \XeTeXinterchartokenstate=0 %<<<<<<<<<<<<<<&...
David Carlisle's user avatar
0 votes

Old LaTeX Distributions Blocking Current TeX Live 2023 from Being Used?

Thank you for all of your comments and attempts to help me find whatever shadowing format or conflicting TeX distributions might be blocking the updated l3 programming layer from being used. I just ...
albeit2's user avatar
2 votes
Accepted

TeXShop compiles only once when using XeLaTeX

The automatic compilation that you are seeing with pdflatex is likely because you have set your default compilation engine to be pdflatemk. The regular pdflatex engine doesn't do multiple ...
Alan Munn's user avatar
  • 217k
0 votes
Accepted

Setting mainfont and sansfont unsets CMU Bright as math font; how to fix?

You want to use legacy math fonts, so don't load unicode-math. And, of course, don't load fontenc with T1 encoding. \documentclass{article} \usepackage{mathtools} \usepackage{fontspec} \usepackage{...
egreg's user avatar
  • 1.1m
0 votes
Accepted

XeLaTeX and svg - Package transparent Warning: Loading aborted, because pdfTeX is not running in PDF mode

Summarizing @Ulrike Fischer's answers XeLaTex (2 options): Use \usepackage[notransparent]{svg} in above's markup if transparency is not needed. Write \DocumentMetadata{} at the beginning of the begin ...
edgar's user avatar
  • 1
2 votes

Which Command(s) in tcolorbox.sty is Undefined?

The undefined command, as shown by the error, is \tl_set:Ne. This suggests you have an older expl3 than the version of tcolorbox you have installed expects. You could try adding \ExplSyntaxOn \...
Joseph Wright's user avatar
  • 258k
0 votes

What are the incompatibilities of pdftex, xetex and luatex?

I do not know about XeTeX, but LuaTeX offers the possibility of doing some things using Lua programs, without the need for shell escape. For example, it is possible to examine the content of arbitrary ...
rallg's user avatar
  • 1,937
1 vote

I am using Journal in the Paper environment but need to change format of \JournalContents. How do I do this?

I am not sure if this is what you want. Because I am not familiar with the paper document. However by checking the source code, the \journalcontents entries are added though \maketitle command. You ...
Tom's user avatar
  • 6,793

Top 50 recent answers are included