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
2 answers
741 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
51 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
51 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,009
1 vote
1 answer
55 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
57 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
  • 645
3 votes
1 answer
53 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,305
5 votes
1 answer
76 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
  • 95
2 votes
1 answer
93 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
  • 411
5 votes
2 answers
220 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
  • 607
0 votes
1 answer
53 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
228 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,095
4 votes
2 answers
120 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,518
1 vote
2 answers
41 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
30 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
83 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
638 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
129 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
  • 2,922
1 vote
0 answers
48 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
196 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
129 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
  • 117k
6 votes
3 answers
400 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
86 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
49 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
289 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,435
0 votes
0 answers
67 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
100 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,386
2 votes
1 answer
157 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,084
6 votes
2 answers
223 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
  • 24.8k
3 votes
2 answers
56 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
116 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,139
4 votes
2 answers
445 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
64 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
687 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
85 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
296 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
168 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
8 votes
3 answers
381 views

Placement of surd with unicode-math is incorrect

When I load the unicode-math package, the placement of $\surd$ is below the text baseline, like this: (I've included the $\exists$ to show it's not affecting every math mode symbol.) I would, of ...
Jigsaw's user avatar
  • 935
4 votes
1 answer
178 views

A cleaner way of getting accented math symbols in LuaLateX [duplicate]

Lualatex + unicode-math is awesome, but I'd like to be able to type $Â$ (in vscode) to get the same as if I were to type $\hat A$. So I wrote the clunky code below which does exactly what I want it ...
JPi's user avatar
  • 13.6k
1 vote
2 answers
91 views

StylisticSet not working with unicode-math

Using LuaTeX, I want to activate the alternate glyphs for "g" and "1" that my (commercial) font offers via its Opentype features "Stylistic Set 2" and "Stylistic Set ...
Simon's user avatar
  • 63
1 vote
2 answers
196 views

How to use sans-serif italic greek letter in math mode?

I am typing \mathsf{\eta X \eta^\top} to represent 3 matrices multiplying together. I choose to use sans-serif fonts as matrices, but the greek letter \eta cannot be displayed as sans-serif fonts. I ...
Firestar-Reimu's user avatar
2 votes
1 answer
123 views

From LuaLaTeX unicode-math to ConTeXt typescript

In LuaLaTeX I have this code (Please correct me if I have written something inappropriate.) \usepackage{fontspec} \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} \...
juanuni's user avatar
  • 2,007
1 vote
1 answer
66 views

How to define a symbol using its unicode number?

I want to define a pair of delimiters that look like (( and )). According to this question, I am looking for U+2E28 and U+2E29. However, I have no idea how to use these to define the symbols I want. ...
Gau-Syu's user avatar
  • 473
0 votes
0 answers
57 views

How to change blackboard bold fonts using mathspec?

I’m using unicode-math to change my blackboard bold font to TeX Gyre Schola Math, but it interferes with mathalpha (I use this to change my cal, scr, and frak fonts) and causes the positions of ...
Brendan Sean's user avatar
1 vote
0 answers
41 views

LuaLaTeX: alphabet, number font picked from secondary font

I am looking forward to achieve alphabet, numbers as the same font used inside \rmfamily, \sffamily, \ttfamily environments. At present, alphabet & number fonts are picked up from Mathfont which ...
Kumaresh PS's user avatar
  • 1,267
3 votes
1 answer
89 views

Using \MakeUpperCase with math symbols throws an "Improper alphabetic constant" error after June 2022 Latex update

I have a few custom command to ensure all vectors, matrices, etc styles are consistent throughout my document. Here is one: \newcommand*{\mat}[1]{{\MakeUppercase{\symbfup{#1}}}} This used to work ...
Lucas Barcelos's user avatar
2 votes
1 answer
91 views

Beamer with bold frame titles: print also math expressions in bold

I am using a Beamer template, which uses a bold font for the frame titles. On some slides, I have also math expressions in the title. I would like also the math expressions to be printed in bold. I am ...
user5415068's user avatar
2 votes
1 answer
110 views

Generic hook 'package/before/amsmath [closed]

After the update my Miktex distro (2023-07-03), I am no longer be able to compile my code. See MNWE below: \documentclass{article} % \usepackage{siunitx} \usepackage{unicode-math} % sisetup ...
JardaFait's user avatar
  • 3,922
2 votes
1 answer
122 views

Conflict between esvect and unicode-math?

I have a problem with esvect and unicode-math. Here is a MWE (of course, I don't need esvect in this example): \documentclass[10pt,a4paper]{article} \usepackage{unicode-math} \setmainfont{STIX two ...
Didier's user avatar
  • 1,311
2 votes
1 answer
254 views

Unicode-Math Bold Math Font Not Correct

I am wondering what I am doing wrong. I am using LuaLaTeX and trying to load the kpfonts. I understand the math version of this font supports bold math. But when I use symbf I don't get the expected ...
Nukesub's user avatar
  • 607

1
2 3 4 5
19