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
0answers
21 views

Searchable math symbols in pdf [duplicate]

When learning a new subject, I find searchable pdf files very useful. A quick search brings me back to the definition of a new concept, so I don't have to tax my brain so much memorizing. This also ...
5
votes
2answers
84 views

unicode-math superscripts don't line up (using XeLaTeX)

Pretty much what the title says, and that is bugging me a lot. I'm using the unicode-math package because I enjoy the upright bold greek letters it provides, as I use them for vector notation, but I ...
4
votes
2answers
78 views

Unicode-math swallows my backslash [duplicate]

I've got a greek keyboard and enjoy typing the greek letters directly into the mathmode using the unicode-math package. Yet, unfortunately it seems as though there is at least one symbol that does not ...
3
votes
1answer
51 views

LaTeX command is already defined error

This is the part of my LaTeX file where I load all the packages: %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode %\usepackage[UTF8]{ctex} \documentclass[preview]{standalone} \...
6
votes
2answers
128 views

Define environment `Question` when loading package `unicode-math`

I'm using Win10, TeXLive 2020. When I use XeLaTeX to compile code below \documentclass{article} \usepackage{unicode-math} \newenvironment{Question}{\textbf{envname}}{} \begin{document} \begin{...
7
votes
1answer
74 views

`\not\perp` not displaying properly using unicode-math

I am using the unicode-math package and I would like to write the symbol to indicate that two vectors are not perpendicular, but \not\perp does not display properly (the 'not' bar is too high): MWE: ...
0
votes
1answer
25 views

font setup cochineal for text and stix2 for math

Experienced coder but newbie on latex, I can't wrap my head around the way font and font packages behaves ! I would be glad to have a working snippet, but if you have some generic advises about the ...
3
votes
1answer
41 views

ConTeXt to HTML conversion for multiple math-heavy documents

My primary goal is to convert my extremely math-heavy writings in ConTeXt to HTML so that I can put them up on the internet. I followed this answer by @Marco, but all my mathematics comes up as plain ...
2
votes
1answer
64 views

Does luahbtex with HarfBuzz renderer completely supports math formating?

I am currently trying the new HarfBuzz renderer in TeXLive 2020 (using LuaHBTeX v. 1.12.0) with the STIX2 set of (serif/math) fonts. Rendering seems alright with my main font (and I can confirm mode=...
2
votes
1answer
50 views

What happens in \begin{document} when using unicode-math?

Here's a MWE: \documentclass{minimal} \usepackage{unicode-math} \let\x\times \begin{document} \let\y\times \[a \x b\] \[c \y d\] \end{document} The command \times apparently changes meaning at the \...
1
vote
1answer
77 views

Integral sign is too small

When using math mode the integral sign appears always like in inline math mode and does not stretch to the proper size, like this and even adding \displaystyle before the integral does nothing. I am ...
0
votes
0answers
40 views

Using MathTimePro 2 without changing math font

I am using MathTimePro2 especially for better looking over-/underbrackets \undercbrace and \overcbrace. Of course mtpro2 is a font package and it somehow changes the default math style: it is no more ...
0
votes
0answers
33 views

document with math in typewriter text

I am trying to emulate old mathematics course notes from the 90's, written on typewriter. I am not looking to match the typeface exactly, but rather the general style of the document. I have tried ...
0
votes
0answers
23 views

text editor to copy math symbols/notations and formulas

i'm trying to copy some notes from a pdf(opened in document viewer) which contain maths symbols and notations, like, epsilon. i've tried texmaker, LeX, gedit(of course), with different encodings, ...
0
votes
0answers
55 views

lualatex fontspec replaces some available glyphs in math font with ones from body text font

I am using lualatex with fontspec to typeset math equations in one font, and text in another font. During my tests I found that math in my typeset document doesn't really look as good as some ...
0
votes
1answer
34 views

luatex nodelib color_stack does not apply to entire math equation

When I use post_linebreak_filter to change the color of hlists, some equations are only partially colored! Here's the image, and complete code of the example. As you can see below, the horizontal ...
2
votes
2answers
83 views

Automatic conversion from tex to unicode

I am increasingly working with XeLaTeX and stated using unicode characters instead of Latex command. For instance, I use → instead of \to in my documents. Now, I'd like my IDE to automatically ...
4
votes
2answers
163 views

LuaLaTeX: Remapping \mathcal letters for Asana Math

I wanted to use \matcal{H} with my math font Asana Math in LuaLaTeX (with the help of unicode-math). Unfortunately, the assigned calligraphic characters for Asana Math are not the ones I want to use: ...
1
vote
1answer
45 views

\mathsfup and \symsfup for variables

Unicode-math documentation v. 0.8o says in §3.1: A boldface variable name should be printed using the math font, whereas a boldface operator name should be printed using the text font. Now, how ...
2
votes
2answers
89 views

Upright sans-serif math capital Greek using [lua|xe]latex

Feeding the code \documentclass{article} \pagestyle{empty} \usepackage[ngerman]{babel} \usepackage{mathtools}%%% loads amsmath internally \mathtoolsset{mathic=true} %%% See http://tex.stackexchange....
0
votes
1answer
48 views

How to use mmap in XeLaTeX?

I want to map math characters in my PDF output to Unicode characters. XeLaTeX already does this somewhat, but with very unsatisfactory results. Just for comparison, consider the very simple example $\...
0
votes
1answer
28 views

mathspec option clash with fontspec

I am trying to use mathspec firamath-otf package. I am getting an option clash error with fontspec. \documentclass{article} \usepackage{firamath-otf} %\usepackage[no-math]{mathspec} %\usepackage[...
4
votes
0answers
51 views

LuaTeX: OpenType staircase kerning (MATH kerning) has opposed effect than expected

This is a follow up question to a previous reported font problem. Compiling the following MWE with LuaLaTeX \documentclass{article} \usepackage{unicode-math} \setmathfont{LibertinusMath-Regular.otf}[...
0
votes
1answer
58 views

Alternative to “Missing bullet points when using unicode-math in Beamer” [duplicate]

I know, there is already Missing bullet points when using unicode-math in beamer but the only and accepted answer "Do not use unicode-math" is not what I need because I'd like to change my math font ...
1
vote
1answer
111 views

Palatino with TeX Gyre Pagella Math or Asana Math change the letter “y”

I use the classic thesis style which uses the Palatino font (TeX Gyre Pagella). So it uses the companion math font TeX Gyre Pagella Math as well. My problem with it is, I do not like how the letter "y"...
2
votes
2answers
54 views

Conflict between unicode-math and glossaries-extra

\documentclass{article} \usepackage[symbols]{glossaries-extra} \usepackage{unicode-math} \makeglossaries \glsxtrnewsymbol[description={tilde}]{tilde}{\ensuremath{\tilde{D}}} \glsxtrnewsymbol[...
0
votes
0answers
33 views

Making the unicode combining dot work in mathmode

I'd like to be able to use the Unicode combining dot in math mode; however, it doesn't seem to render correctly. For an input to mathmode ṙ, I would expect a rendered \dot r, but instead I just get ...
0
votes
1answer
45 views

LuaLaTeX and \big, \bigg, \Big, \Bigg: Change the math class of the symbol (i.e. change spacing)

I am referring to David Carlisle's answer to the question on how one can achieve the same spacing around \middle| as around \mid. Please note, that I am using unicode-math and LuaLaTeX. The answer is ...
1
vote
0answers
63 views

unicode-math: Understanding the application of external fonts to math text

For the following usage of Redacted-Font, I would like to understand why I get an error when setting \setmathfont{redacted-script-regular.ttf} instead of another math font (e.g. \setmathfont{Cambria ...
2
votes
2answers
94 views

LuaLaTeX, ntheorem, unicode-math and Libertinus: Math in theorem header loads Computer Modern

Consider this MWE and compile it with LuaLaTex: \documentclass{article} \usepackage{libertinus} \usepackage{ntheorem} \theoremstyle{plain} \theoremheaderfont{\normalfont\bfseries} \newtheorem{...
2
votes
1answer
121 views

unicode-math: Font “Inconsolata” has no glyph for \mathhyphen. How to remap to the normal hyphen glyph?

Compile the following MWE with LuaLaTeX \documentclass{article} \usepackage{libertinus} % Set the same teletype font for text, \mathtt and \symtt \setmonofont{Inconsolatazi4-Regular.otf}[Scale=...
3
votes
2answers
364 views

Why doesn't the 'bm' package work with the 'unicode-math' package?

I want the bold italic math character (as in normal math) in math mode. So, I tried to use the bm package but it doesn't work together with the unicode-math package in my LaTeX document. Again, for ...
7
votes
1answer
122 views

pdflatex vs. lualatex: Libertinus and overline vs. bar

I understand that I am supposed to use \bar instead of \overline in math mode, if I want the respective character to mean "something different", because \bar is actually an accent (similar to \dot, a ...
6
votes
1answer
95 views

Libertinus pdflatex vs. lualatex: Delmiting vertical bars (left, right, middle) do not scale correctly and are too thin

Compile this MWE with PdfLaTeX and with LuaLaTeX: \documentclass{article} \usepackage{amsmath} \usepackage{libertinus} \begin{document} \begin{equation*} \left\lvert P \left[ b = b' \middle\...
0
votes
0answers
32 views

Use a Adobe Type-1 font in combination with unicode-math for \symcal

I would like to use the calligraphic fonts from txsy.pfb (normal-weight) and txbsy.pfb(bold). Normally, I use \usepackage[cal=pxtx]{mathalfa} to make \mathcal to use these fonts. However, I also want ...
0
votes
0answers
39 views

Use the same font for \mathfrak as for \symfrak

Is there a way how I can make \mathfrak use the same font as \mathsym? This works for the pair \mathtt and \symtt because the fontspec-package as a builtin-command \setmathtt for that, but I am ...
0
votes
1answer
106 views

LuaLaTeX: \math… (\mathtt, \mathcal, \mathfrak) vs. \sym… (\symtt, \symcal, \symfrak) commands and setting different fonts

In another answer (for a completely different question) I have been advised to use the \sym...-commands to change the font in math mode instead of the traditional \math...-font commands, if I use ...
2
votes
2answers
70 views

How do I change the way the colon is typeset?

In math, I exclusively use the colon : for punctuation, i.e. in the sense of \colon (compare this question). Hence I would like to change the way : is being typeset, so that it resembles \colon. Is ...
2
votes
1answer
99 views

Random (?) replacement of roots

A strange problem occurs with https://ctan.org/pkg/unicode-math. I have tested various fonts and math symbols and the problem seems to be the combination of https://ctan.org/pkg/unicode-math and ...
1
vote
0answers
96 views

lualatex and unicode-math

In this MWE \documentclass{scrartcl} \usepackage[spanish, activeacute]{babel} \usepackage{unicode-math} \usepackage{hyperref} \begin{document} \section{A section} \begin{equation} j =\sqrt{-1} ...
4
votes
1answer
498 views

XeLaTeX and font Libertinus: Missing character for upright T in math mode

If I compile the following MWE \documentclass{article} \usepackage{libertinus} \newcommand*{\Gt}{G_{\mathrm{T}}} \newcommand*{\gt}{g_{\mathrm{T}}} \begin{document} Let $\Gt = \langle \gt \rangle$ ...
0
votes
1answer
135 views

Conflict between Minion Math font and math-mode siunitx?

Update 3 07FEB2020: When I replace Minion Math with Asana Math, it also doesn't compile! Seems like only certain fonts work, so it must be a siunitx or unicode-math issue... Update 2 of 06FEB2020: It ...
2
votes
1answer
216 views

Compile Failures After Fontspec Update

I updated packages (Windows 10 / MikTex 2.9), which included a January 26, 2020 update to fontspec. On my first compile (LuaTex) after the update, a file that compiled fine immediately before the ...
2
votes
1answer
78 views

Generating PDF files with OpenType math fonts and no font embedding

I am new to TeX, working on an iPhone/iPad app that displays pages from a collection of PDF documents. Every PDF document in the collection contains one or more math expressions. Each PDF file is ...
2
votes
0answers
53 views

Weird error with unicode-math and math subscript

I stumbled across what appears to be a very weird error when using unicode-math and lualatex/xelatex. Consider: \documentclass{article} \begin{document} Test subscript: $\mathbf{a}_\mathbf{b}$. \...
0
votes
1answer
32 views

Mixed italicization with unicode-math

The package unicode-math provides four options to determine whether Latin and Greek letters should be printed upright or in italics, depending on their letter case. The mixed styles available are TeX ...
0
votes
0answers
27 views

How to copy code chunk containing unicode character in verbatim environment? [duplicate]

In Julia programming language, one can type Unicode character such as If I want to copy paste a chunk of code in a tex file. What should I do? Here is an unsuccessfule attempt: \documentclass[...
3
votes
1answer
39 views

How to make \ell from XITS-math less slanted

I find the \ell symbol too slanted with XITS-math. Is there a "proper" way to get it a bit "less" slanted (I find it could be confused with a caligraphic C)? MWE (my engine is luatex): \...
1
vote
2answers
71 views

Problem with \mathbf in xetex

I am using xelatex to typset mathematics documents in devanagari. I have problem with \mathbf. I am using velthuis font mapping. In \mathbf, I am getting devanagari characters. But, usual math font ...
4
votes
2answers
151 views

Using mathematical typesetting packages with `XeLaTeX` and `LuaLaTeX`

Before an emerging of a Unicode-based XeLaTeX and LuaLaTeX there was pdfLaTeX which directly could output to a pdf-format. For the convenience of a typeset of mathematics, the amsmath package was ...

1
2 3 4 5
13