Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [unicode-math]

{unicode-math} provides an implementation of Unicode math symbols and OpenType math fonts for XeLaTeX and LuaLaTeX.

Filter by
Sorted by
Tagged with
2 votes
0 answers
41 views

Prime symbol appears in superscript while loading unicode-math [duplicate]

When I use the unicode-math package, the \prime symbol appears in the superscript position. Could you please advise how to solve this issue? Compiler: lualatex-dev.exe (2024) My MWE is below. \...
murugan anbu's user avatar
0 votes
1 answer
101 views

A proper math font

The question I would like to have a math font that fulfills all of the following requirements: \mathbb looks as close as possible to LaTeX's default math font \mathcal is only slightly curved \...
Smiley1000's user avatar
4 votes
1 answer
148 views

Delimiter sizes with unicode-math

As far as I know, LaTeX uses four sizes for delimiters: \big, \Big, \bigg and \Bigg (in addition to the normal text size). I through that automatic sizing done by \left ... \right chose on of these. ...
jlab's user avatar
  • 3,986
3 votes
1 answer
126 views

In TeX Live 2024, why does \substack insert a vertical gap between the lines when STIXMath-Regular is loaded?

Feeding \documentclass{article} \pagestyle{empty} \usepackage{unicode-math} \setmathfont{Latin Modern Math}% “TeX Gyre Termes Math” instead of “Latin Modern Math” would do as well. \setmathfont[...
AlMa1r's user avatar
  • 541
0 votes
1 answer
58 views

Issue with \tilde symbol appearance when using unicode-math package in LaTeX

I am experiencing an issue with the appearance of \tilde{x} in equation environment when using the unicode-math package (see the left figure). Specifically, \tilde{x} looks different from the one ...
Heritis's user avatar
3 votes
0 answers
116 views

Incorrect matrix bracket height with `unicode-math`

I need to use the package unicode-math in my document, but this makes the height of the brackets in the matrix look too short. (The matrices of order 2 seem to be normal, though.) I have tried various ...
Inverted Pastry's user avatar
3 votes
1 answer
74 views

Robustness of \peek_analysis_map_inline:n with changed catcode

Background Following my previous question I try to make compatible the redefinition of the circumflex ^ catcode with the active prime ' defined in vanilla LaTeX or by the package unicode-math. The ...
jlab's user avatar
  • 3,986
1 vote
0 answers
43 views

Redefine commands, changing a catcode

Background I'm the author of the altsubsup package, which set to 12 (other) the catcode of the circumflex ^ char. As it, expressions as x''^2 raise a Double superscript error because the latex ...
jlab's user avatar
  • 3,986
0 votes
2 answers
57 views

How do I make displaystyle math (\[\]. \begin{equation}, etc.) vertical spacing equivalent to \centering \(\)? (Also having issues with unicode-math)

Essentially what I want is for environments such as align, equation, \[\], etc. to have the same amount of space as \documentclass{article} \begin{document} Fat \centering \(Fat\) \end{document} ...
Ferrius Undermine's user avatar
3 votes
1 answer
108 views

Unicode-math package affects bullet size in Beamer

Problem Description: When I use the unicode-math package in Beamer document and compile it with XeLaTeX, the bullet symbols in the itemize lists appear larger than the default size. This inconsistency ...
Puyi's user avatar
  • 31
3 votes
2 answers
132 views

Setting font face for \mathrm in math mode

Regarding my previous question (Setting multiple language environments in LaTeX) -which is about setting different fonts for multiple language environments, I have read answers from @cfr and @Davislor ...
mickmix's user avatar
  • 43
6 votes
2 answers
119 views

xcharter font and mathrm

I am using fontsetup with a serif and sans-serif font of my choice to properly typeset different parts of my document, including extensive math usage. There seems to be an issue somewhere in the ...
lret's user avatar
  • 71
0 votes
1 answer
62 views

Take just the integral and summation signs from the mtpro, with lualatex in a unicode setting

What could be a working strategy to get the integral symbols (\int, \oint, \iint, etc) and the summation symbol from the mathtime font, but otherwise use unicode fonts and unicode-math? There should ...
balcinus's user avatar
  • 400
2 votes
2 answers
824 views

How can I get unicode-math to print ⩽ when I type ≤?

The question is in the title: I would like to get a ⩽ whenever I type ≤, and I don't understand how to tell unicode-math that it should re-map the character. (I know that I could re-map my keyboard...)...
sparusaurata's user avatar
3 votes
2 answers
99 views

Size of the Integral Sign in TeX Gyre Math Font and Conflict with \boldsymbol

I'm using luatex with the font TeX Gyre Terms Math. I followed one of the procedures in this post to get the integral signs to be large, as the standard size is way too small. Curiously, though, it ...
Níckolas Alves's user avatar
1 vote
1 answer
57 views

Can I use delimiter for brackets of a non-math font in math mode?

MWE: \documentclass{article} \usepackage{amsthm, amsmath} \usepackage{unicode-math} \setmathfont[,Scale=1,FakeStretch=1,FakeBold=0]{NewCMMath-Book.otf} \setmathfont[range={"0028, "0029},...
Masum's user avatar
  • 1,029
1 vote
1 answer
57 views

Math symbols in the text of a reference make xr-hyper crash

I want to typeset cross-references from an external document, using xr-hyper. This raises an error as soon as there are mathematical symbols in the text of some reference in the external document. ...
sparusaurata's user avatar
1 vote
1 answer
124 views

unicode-math and amsfonts

I'm testing unicode-math with LuaLaTeX but I miss the look of amsfonts blackboard bold letters like E, C R etc. Searching this site, I'm not the only one: 1, 2, 3. Many of the questions are quite old, ...
Mankka's user avatar
  • 665
3 votes
1 answer
74 views

XeLaTeX + mathtools + unicode-math missing symbols `\Coloneqq` and `\models`

Sorry, but I am browsing since morning around and try to find a solution for that issue. I have a beamer presentation with moloch theme and want to use the Fira font but only for the mathcal part I ...
Arne's user avatar
  • 1,390
5 votes
1 answer
81 views

How can I change the class of a mathsymbol? (Specifically, from mathrel to mathbin)

When I use the colon in a math environment I find that the spacing I need is that of a binary operator (not the spacing of a mathrel), e.g., the line $ax+by+ct=0$ in projective space has homogeneous ...
Antonio's user avatar
  • 107
2 votes
1 answer
106 views

The horizontal gap/kern before the comma is too large with unicode-math

The following minimal example is stripped down from the sentence, “Let (𝑇, ≤) be a poset.” Feeding lualatex or xelatex with \documentclass{standalone} %\usepackage[math-style=ISO]{unicode-math} \...
AlMa1r's user avatar
  • 541
5 votes
2 answers
249 views

Help Finding Bold Calligraphic T from New Computer Modern

I am trying to include one specific symbol from the New Computer Modern font. The symbol in question is the regular and bold versions of the calligraphic capital T also called Latin Uppercase Script T ...
Nukesub's user avatar
  • 617
0 votes
1 answer
63 views

How to increase the effect of \bigl / \bigr with unicode-math

I am writing in fontsize 12pt and use lualatex (LuaHBTeX, Version 1.16.0 (TeX Live 2023)). Additionally I use the unicode-math package. Consider the following MWE: \documentclass[12pt]{article} \...
e_equals_pi's user avatar
2 votes
2 answers
246 views

Insert unicode symbol ⋕ (U+22D5), equal and parallel into my maths equations

I would like to use the unicode symbol ⋕ (U+22D5), but I have no idea how to go about it. \documentclass{book} \begin{document} $\overline{KF}$ is also equal and $\parallel$ to $\overline{ML}$ \end{...
Paul A's user avatar
  • 1,117
4 votes
2 answers
127 views

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

Consider the following example: \documentclass{article} \usepackage{fontspec} \usepackage{unicode-math} \setmonofont{NewCMMono10-Regular} % any other typewriter font would do \begin{document} \...
Jinwen's user avatar
  • 8,618
1 vote
2 answers
44 views

Looking for \nmid but with a larger, more pronounced slash

Like the title says, I'm looking for a version of \nmid that gives a longer, more pronounced slash. The reason is that I'm projecting the results onto a screen using OneNote, which makes the resulting ...
CarneSeca's user avatar
2 votes
1 answer
32 views

Additional space using mathbotaccent combined with subscripts

Using lualatex with unicode-math I'd like to define a macro similar to \vec producing an arrow below a letter (using unicode glyph 0x20EF). Adding the line \UnicodeMathSymbol{"020EF}{\vecunder}{\...
fermikante's user avatar
0 votes
1 answer
128 views

Is there any recent reliable way of changing math font glyphs?

There's a sans-serif font called "Inter" which I use as the main font in my document. I would like to use its glyphs in math mode. I searched some methods of doing it, but with them there ...
name_to_display's user avatar
3 votes
2 answers
670 views

(Overleaf/LuaLaTeX/Times New Roman) Why does ы have the acute accent being in the wrong position, as opposed to Google Docs, that places it right?

When Using Times New Roman in both LuaLaTeX and Google Docs, the acute accent in each isin a different position, with Google Docs having the right one. Why does LuaLaTeX have the wrong position? I ...
Felix Maldonado's user avatar
2 votes
2 answers
145 views

Replicate a Fancy Poster: TikZ relative position of nodes

I'm looking into replicating (or approaching) the following poster/cheatsheet produced by the International Baccalaureate Organization: In positioning the nodes/boxes relative to each other, I have ...
PatrickT's user avatar
  • 3,013
1 vote
0 answers
83 views

\setmathfont{TeX Gyre Pagella Math} vs amsfonts, amssymb

I used to always include amsfonts, amssymb in my preamble. I have now started using XeTeX, with \usepackage{unicode-math} \setmathfont[math-style=ISO,bold-style=ISO]{TeX Gyre Pagella Math} I ...
user615536's user avatar
2 votes
0 answers
36 views

Mapping greek-mathematical to slanted text greek

I am using a font, namely Source Code Pro, that does not have mathematical Greek letters (eg. U+1D6FC) but does have upright Greek ordinary letters (eg. U+03B1), which I can slant with fontspec's ...
ysalmon's user avatar
  • 1,160
4 votes
1 answer
223 views

unicode-math and mathtools symbol naming clash doesn't seem to be an issue?

I got an error from Overleaf/LuaLaTeX saying that i have the following errors: Package unicode-math Warning: Using \overbracket and \underbracket from mathtools' package. Use \Uoverbracket and \...
Ferrius Undermine's user avatar
4 votes
0 answers
135 views

What is the current "state of the art" for unicode math?

Unicode Technical Report #25 provides comprehensive information about the character repertoire, their properties, and guidelines for implementation and I understand Barbara Beeton from the AMS, was ...
yannisl's user avatar
  • 118k
7 votes
3 answers
427 views

Greek typewriter characters with \symtt (or \mathtt)

I want to have Greek typewriter characters in math mode, using unicode-math. I use a font having Greek characters: \setmonofont{NewCMMono10}[ Extension = .otf, UprightFont = *...
sparusaurata's user avatar
5 votes
2 answers
98 views

Font for the minus sign created by $-6$ (hyphen in math mode)

I want to specify the font (in the example below: Times New Roman) for all minus signs, regardless of whether they were created with the Unicode character "2212 or with a hyphen in math mode. If ...
Simon's user avatar
  • 63
1 vote
1 answer
53 views

Unicode-math removes kerning from glossaries symbols (or hyperref links) with luatex

I am having problems with disappearing kernings when using unicode-math, glossaries and hyperref. This creates a lot of ugly spacings if not corrected somehow. I tried to correct the kerning manually, ...
Niklas's user avatar
  • 642
9 votes
2 answers
302 views

ExPex fails with unicode-math. How to avoid the clash?

The following code fails: \documentclass{article} \usepackage{expex} \usepackage{unicode-math}% Works without this \begin{document} \pex<ex> \a<foo>\begingl \gla foo// \glb foo// \glft ...
Niranjan's user avatar
  • 3,415
0 votes
0 answers
74 views

Automatically converting XeLaTeX document to work with pdflatex

I've got a Literate Agda document, which contains a large number of unicode characters. It builds nicely with XeLaTeX and life is good. The problem is that arxiv only supports pdflatex, and I'd like ...
Joey Eremondi's user avatar
2 votes
2 answers
111 views

Consistent vertical spacing in cases environment with multirow cases

I'm having trouble figuring out how to achieve some sort of consistency when I work with vertical spacing in cases environments where the cases themselves have multiple rows. In the second version of ...
Fredrik P's user avatar
  • 1,428
2 votes
1 answer
218 views

Why is the STIX2 bold math font not being used here?

\documentclass{article} \usepackage[no-math]{fontspec} \setmainfont{Noto Serif} \usepackage{unicode-math} \setmathfont{STIX Two Math} \usepackage{amsmath} \begin{document} $\mathbf{v}$ \end{document} ...
chandra's user avatar
  • 3,104
6 votes
2 answers
239 views

`\eqdef` in kpfonts with XeLaTeX

Question How to get the \eqdef symbol working with kpfonts in xelatex? Details kpfonts does not provide the \eqdef symbol, which is a small text "def" set over equals sign. (≝ (U+225D)) In ...
Willie Wong's user avatar
  • 25.7k
3 votes
2 answers
76 views

Changing StylisticSet for a specific character

I'm using the STIX2 fonts with LuaLaTeX and unicode-math. I'm trying the use StylisticSet 2, which changes the appearance of certain lowercase italic letters, but only on the letter z specifically. ...
Sean Emerich's user avatar
3 votes
0 answers
129 views

Combining Opentype features `cvNN` and `ssty` fails for me [FIXED]

In the Maths fonts I maintain, I use CharacterVariant features to toggle Greek variants in Maths, f.i. the cv06 feature makes \phi output mitvarphi (U+1D711) instead of mitphi (U+1D719) the default. ...
Daniel Flipo's user avatar
  • 2,204
4 votes
2 answers
456 views

How can unicode-math and halloweenmath be used together?

I'm trying to use the packages unicode-math and halloweenmath together, and I've found another response giving an example showing the two packages working together: \documentclass{article} \usepackage{...
Otto von Bisquick's user avatar
3 votes
1 answer
74 views

Interaction between subalign and unicode-math

For many years I've been using the subalign environment described in Align in Substack. However, with a fully updated version of TexLive 2023 I've recently observed a negative interaction with ...
Freddie Witherden's user avatar
16 votes
2 answers
803 views

LuaTeX, unicode-math and italic correction

I was having some difficulty with LuaTeX and the unicode-math package. Below is a MWE, \documentclass[12pt]{article} \usepackage[math-style=ISO]{unicode-math} \begin{document} \[ f(T), f\left( T ...
flinch9483's user avatar
1 vote
1 answer
101 views

TeX Gyre Cursor sometimes renders incorrectly

\RequirePackage[OT1]{fontenc} \documentclass{minimal} \usepackage{unicode-math} \setmonofont{TeX Gyre Cursor} \begin{document} \texttt{We shall fill in the blank.} \end{document} Unfortunately ...
zhtluo's user avatar
  • 35
6 votes
2 answers
307 views

unicode-math, Fira Math: Fira Math font lacks scalable slash delimiters; how to pull from a different math font?

I'm making slides using beamer with Fira as the main font, and I want to use Fira Math to match it. However, I've found that Fira Math does not seem to have scalable forward slash delimiters, which I ...
Jigsaw's user avatar
  • 935
1 vote
2 answers
248 views

Math Fonts for Cochineal package

I like to use the cochineal font for my document, however for this font I understand there are no corresponding mathematical fonts. So I am asking if anyone knows of any font similar to cochineal that ...
SimoPape's user avatar
  • 113

1
2 3 4 5
19