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
1
vote
1answer
33 views

unicode-math gobbling up glyphs from other package

I would like Times New Roman as my default font for text and mathematics, and after having tried out several I've found TeX Gyre to have the best coverage. But by using unicode-math for the ...
0
votes
1answer
49 views

What is the code point of a mathematical h when one uses unicode-math?

It seems that the rest of the minuscules are at U+1d44e ..., but the h, which is called Planck's constant, is not used for h. I got this impression from replacing all these glyphs and observing the ...
3
votes
1answer
29 views

Information About the Available Options Of The \setmathfont Command

I am using the unicode-math package and I am loading the STIX2 math font as following \setmathfont[ Path = Fonts/STIX2Math/, Scale = 1.1 ]{STIX2Math.otf} My problem is that I can't find in the ...
0
votes
1answer
32 views

Package unicode-math And Usage Of Math Fonts Like Euler [duplicate]

When I use the package \usepackage{euler} with the package \usepackage{unicode-math} then the Euler font is not used but the default math font is used instead. If I remove the unicode-math package ...
0
votes
0answers
36 views

I can't get an upright greek letter with `\mup**` but I can do it with`\up**` in unicode-math

I'll use \beta as an example. First I want to ask that how to use "Macro" column in texdoc unimath-symbols? I've seen that the upright beta letter had the macro \mupbeta, so I tried to use \...
0
votes
1answer
29 views

Group separator issue using siunitx and unicode-math together

I wanted to use the unicode "π" symbol inside siunitx macros. As many other people, I ran into several issues and used TeX StackExchange to learn about and solve them one by one. However, ...
1
vote
3answers
50 views

unicode-math with greek letters upright and latin letters italic

I am using unicode-math to select math fonts in XeLaTeX. From the documentation, I see there are four options for math-style: ISO has all letters, Greek and Latin, italic TeX has all letters italic ...
2
votes
2answers
102 views

Using unicode to input symbols in math mode with unicode-math

I want to input a lambda with a bar (ƛ) with font STIX Two Math in math mode. I've checked in the unicode table that it had a code U+019B, and I'm sure STIX Two Math contains this character. I've ...
2
votes
1answer
70 views

LuaLaTeX, Vollkorn and Math Symbols

A similar question was asked a few years ago here but since then, Vollkorn claims to have included support for a variety of math symbols, greek letters, and others. I have tried to use the .otf files ...
0
votes
1answer
37 views

Missing font symbols for operators

I'd like to print operators such as union and intersection (\bigcup and \bigcap) in math mode, but apparently they are missing from the Fira Math fonts I'm currently using for my beamer document. I ...
0
votes
1answer
57 views

How can I get both Greek and Unicode characters to render in a verbatim environment?

I am including some Julia code that uses Unicode characters, including Greek letters, in a verbatim environment. I've tried LaTeX, XeLaTeX, and LuaLaTeX (and am still open to using any of them), but ...
2
votes
1answer
34 views

Is math style's order effecting output?

In texdoc unicode-math sec 5.2, it says Note that bold-style is independent of math-style, although if the former is not specified then matching defaults are chosen based on the latter. It means ...
0
votes
0answers
33 views

Unicode math and subscript spacing

The following code results in the 'j' being too far away from the parenthesis: \documentclass[a4paper, 12pt]{article} \usepackage[english]{babel} \usepackage{amsmath} \usepackage{fontspec} \...
1
vote
0answers
62 views

Adobe Acrobat cannot extract embedded font FiraMath

When I create a pdf using Fira Math Regular as the math font I get the error Cannot extract embedded font 'SBTYLT+FiraMathRegular'. Some characters may not display or print correctly In my example ...
1
vote
1answer
113 views

MiKTeX can't find stix2 font files

I want to use the stix2 fonts together with unocode-math. I was trying to load them as in the MWE below, which works fine with TeX Live, but fails with MiKTeX, telling me The font "STIX2Text-...
7
votes
2answers
145 views

\hphantom with \footnotesize, siunitx and unicode-math

Consider the following MWE. It is supposed to print the three equations with space added after the equal signs so that the right edge of the equations (the units) are horizontally aligned. % !TeX ...
0
votes
1answer
48 views

Math Fonts Substitute Missing Glyphs

I have using LuaLaTeX V: 1.12.0 and how to do automatically missing characters in Math? My LaTeX: \documentclass{article} \tracinglostchars=2 % Warn if the current font does not have a character! \...
3
votes
1answer
100 views

`\mathcal` incompatible with `unicode-math`

An MWE is like this: \documentclass{article} \usepackage{unicode-math} \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} \begin{document} $ \tilde{\mathcal{B}} $ % $ \hat{\mathcal{B}} $ \end{document} ...
2
votes
1answer
48 views

I can't put accent on `\mathcal` after changing the font of `\mathcal`

When I use unicode-math, I found that there is no default performance of \mathcal in the 6 fonts given in texdoc unimath-symbols. \documentclass{article} \begin{document} $ \mathcal{DBFT} $ \end{...
2
votes
1answer
59 views

How can I get Latin Modern/Computer Modern serif double-struck/blackboard-bold characters which copy/paste as unicode when using unicode-math?

I want my characters to copy-paste as Unicode when I copy them from the PDF. I also want them to look like the traditional Latin Modern font. For unrelated reasons, I need to use LuaLaTeX rather ...
0
votes
1answer
31 views

How can I use \vdots in the presence of unicode-math using lmodern or lmodern-like fonts?

Consider the following file: \documentclass{article} \usepackage{unicode-math} \begin{document} \fbox{\vdots} \end{document} Running this through lualatex gives This is LuaTeX, Version 1.10.0 (TeX ...
0
votes
1answer
52 views

unicode-math default math fonts

I just tried to use the default math font as given by unicode-math, but somehow the symbols for \sum, \prod and (some) greek letters are missing when using \setmathfont{latinmodern-math.otf} (as is ...
1
vote
0answers
48 views

Wrong \overbrace with Minion Math

Using \overbrace with Minion Math yields the brace being printed over the equation. Latin Modern and TeX Gyre Pagella works fine, so it seems a font specific problem. This happens in inline and ...
0
votes
1answer
40 views

drawing a set of parametric curves in 2D

I want to draw some of parametric curves on the same xy-pane. The curves are (\gamma_r(t)=(\dfrac{(rcos t + 0.5)(0.5 rcos t +1)-r^2sin^2 t}{(0.5rcos t +1)^2 +r^2sin^2 t} , \dfrac{0.75 rsin t}{(0.5 ...
1
vote
1answer
39 views

unicode-math and siunitx: how to make \num recognize text or math mode

In the following MWE \num displays numbers regardless of the mode. Before the \sisetup it always uses the main font and after it always uses the math font \documentclass{minimal} \usepackage{unicode-...
0
votes
1answer
53 views

Switching from LaTeX to XeLaTeX - fontspec and unicode-math defaults

I'm currently switching from LaTeX to XeLaTeX and I personally like to write down the defaults in my default preamble to be able to modify some slight things (but not accidentally changing everything)....
3
votes
2answers
79 views

Toggle different math fonts with XeLaTeX

My goal is to use a sans serif math font in all figures and I found several approaches with my favourite being the use of \mathversion and the unicode-math package to change between different math ...
2
votes
1answer
40 views

How to define a unicode math symbol available in a unicode math font in terms of a hexadecimal value?

Given that I have a unicode math font with a glyph that I want to use in math mode, how can I, using the unicode-math package, define the glyph? I can get this to kind of work using \...
0
votes
0answers
47 views

How to use fdsymbol with LuaLaTeX

My question is related to the fdsymbol packet. I would like to the font in combination with the Fedra Serif B font, but on LuaLaTeX. Consider this MWE: \documentclass{scrbook} \usepackage{fontspec} \...
0
votes
2answers
60 views

Using \pi in siunitx macros with unicode-math

I want to be able to use \pi in the siunitx macros, e.g. \num{\pi/3}, while using unicode-math. What do I need to change in order for this to work? (It works without unicode-math. input-symbols does ...
4
votes
1answer
102 views

Suppress warning by unicode-math regarding mathtools

When using the packages unicode-math and mathtools, I always get warnings Package unicode-math Warning: Using \overbracket and \underbracket from (unicode-math) `mathtools' package. (...
1
vote
1answer
58 views

OpenType Math fonts - What is the purpose of the Latin Supplement, Extended A, B character sets and unicode fractions sets?

As titled. I've been creating a few personal OpenType math fonts (by combining existing fonts, like Minion, with existing math fonts); one strange thing that I've observed along the way is that it ...
3
votes
2answers
189 views

Improper alphabetic constant error in title with greek: bug with unicode-math and hyperref in LuaLaTeX

Is it a bug of unicode-math or hyperref in LuaLaTeX? % !TeX program = lualatex % !TeX encoding = utf8 \documentclass[14pt]{extarticle} \...
0
votes
0answers
46 views

Substitute font usage in XeLaTeX/LuaLaTeX

I have using LuaLaTeX and is there any way to tell XeLaTeX/LuaLaTeX to make automatic substitutions if the font is missing glyphs? My LaTeX MWE: \documentclass{article} \usepackage[no-math]{fontspec} \...
1
vote
1answer
61 views

Fixing the position of math accents when using unicode-math in lualatex with a text font for letters and digits

for a document, I am forced to use an otf font that has no math companion. For consistency reasons, I thus need to use my text font for operators and digits. So far I have: \setmainfont{Source Serif ...
1
vote
1answer
36 views

Usage of \Umathaccent

can someone clarify how to use \Umathaccent. The luatex manual is very terse on the topic and trying to quickly replicate examples such as \Umathaccent 0 0 "020D7 {example} leads to an error just ...
1
vote
1answer
76 views

Unicode-math: substitute \perp for \bot

Using unicode-math with LuaTeX. The font Fira Math is missing some glyphs that I use, notably the symbol for \bot. I know that I can grab it from a different font: \setmathfont[range={"022A5}]{...
0
votes
0answers
31 views

Unicode-math: subscripts work with Bitstream Vera Sans, but not with DejaVu Sans

I'm trying to typeset some slides with text in either Bitstream Vera Sans or DejaVu Sans and maths in Fira Math using LuaLaTeX and unicode-math. When using Bitstream Vera Sans, everything works fine (...
0
votes
1answer
64 views

Text font maintain in math mode

I have using LuaLaTeX Version 1.12.0. I have need to maintain same text fonts in math mode (only alphabetic, numbers). All the Alphabetic characters (like A to Z, a to z) need to maintain same \...
-1
votes
1answer
106 views

Import \mathbb{1} character from the unicode-math package

I'd like to import only the \mathbb{1} character from the unicode-math package into a document using the standard Computer Modern font along with the amsmath and amssymb packages, but I have no idea ...
2
votes
1answer
65 views

Font substitution with TeX Gyre DejaVu Math when used with unicode-math

With this choice of font, I'm getting a this warning: Font shape `U/esvect/m/n' in size <6.5> not available (Font) size <6> substituted on input line 11. I understand what it ...
4
votes
2answers
75 views

Conflict between amscd and unicode-math

After switching to the unicode-math package, the amscd package for commutative diagrams doesn't work anymore. I do not get error messages, but the symbols like @ and < are displayed in the output. ...
2
votes
1answer
82 views

Why does the Greek lowercase o look disproportionately bold?

I'm using unicode-math and I've decided I really like the Latin Modern Math Greek letters better than those from other fonts. Unless it's an illusion, the omicron (o) always seems to look ...
0
votes
1answer
50 views

svg package not rendering svg containing math

I have an svg file of an equation as follows <svg xmlns="http://www.w3.org/2000/svg" xmlns:wrs="http://www.wiris.com/xml/cvs-extension" height="29" width="85"...
1
vote
1answer
50 views

Bold greek letters with fontspec

I am using bold notation for vectors but for some reason I can't display it when I use greek letters: \documentclass[a4paper,12pt]{article} \usepackage[no-math]{fontspec} \setmainfont{TeX Gyre Termes} ...
0
votes
0answers
30 views

Unicode-math: sans-Italic-Latin ending up upright

The following MWE % !TEX encoding = UTF-8 Unicode % !TEX TS-program = XeLaTeX % !TEX TS-program = LuaLaTeX \documentclass{article} \usepackage{unicode-math} %\setmathfont{texgyrepagella-math.otf} ...
4
votes
1answer
142 views

fonts / siunitx: Understanding how “detect-all” and “detect-inline-family=math” work

For the following, I need to understand why neither detect-all nor detect-inline-family=math doesn't make \num print the same font as the surrounding inline math, and the only way to do so is through ...
0
votes
2answers
67 views

Use only the mathbb font from TeX Gyre Pagella Math

I am working with LuaLaTeX on Debian stable, with texlive-full in the version 2018.20190227-2. My main goal is to use the Palatino derivates. For pure text, this can easily be achieved by \setmainfont{...
4
votes
2answers
86 views

(unicode-math or newtxmath) + \newcommand{\nmodels}{\not\models} + $\not\models$ = stall

Feeding the input \RequirePackage{ifthen} \RequirePackage{ifxetex,ifluatex} \newif\ifxetexorluatex \ifxetex \xetexorluatextrue \else \ifluatex \xetexorluatextrue \else \...
0
votes
0answers
22 views

Package unicode-math: map letters in math mode to normal ASCII range by default

With XeLaTeX I use fontspec and unicode-math with no additional options to produce pdfs and that works as expected in most cases. However under certain circumstances (specified in the end of this ...

1
2 3 4 5
14