All Questions
Tagged with math-mode unicode-math
192
questions
3
votes
2
answers
131
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 ...
6
votes
2
answers
118
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 ...
2
votes
2
answers
821
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...)...
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 ...
2
votes
1
answer
105
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}
\...
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}{\...
4
votes
1
answer
217
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 ...
2
votes
1
answer
115
views
How can I move a superscript dfrac down within mathmode?
I want to include some probabilities within a report, my PhD is not in maths so I do not need or desire to expand the probability density equation integral out but would like to show it with the ...
7
votes
2
answers
630
views
Redefined `epsilon` to `varepsilon`
MWE:
% !TeX program = xelatex
\documentclass{article}
\usepackage{libertinus}
\renewcommand{\epsilon}{\varepsilon}
\begin{document}
This is \texttt{varepsilon}: $\varepsilon$.
This ...
2
votes
0
answers
35
views
\bigoplus, \prod, etc. with hats [duplicate]
I would like to have big operators like \bigoplus, \prod, etc. with hats. A first approximation is the following code:
\documentclass{scrartcl}
\usepackage{unicode-math}
\DeclareMathOperator*{\...
3
votes
2
answers
352
views
Is there a Mathspec equivalent for LuaLaTeX?
Wondering what are the use cases of unicode-math and mathspec packages, I stumbled upon this excellent question and better answers, that helped me clarify the situation.
If I understand correctly, the ...
0
votes
1
answer
154
views
How to get unicode of characters which converted by tex engine?
QA:
Is there a way to log the Unicode characters rendered by each line of source code in the order of the line numbers?
Regardless of whether it is output as a log, is there any way to get the ...
1
vote
1
answer
101
views
Vertical positioning of \dashv and \vdash with kpfonts-otf
The symbols \dashv and \vdash with kpfonts-otf appear to be too low, instead of being vertically centered. But as the classical kpfonts package produces the same result, it seems to be part of the ...
2
votes
1
answer
86
views
Redefine \varprojlim and \varinjlim to get more pleasant arrows
I am using kpfonts-otf as the math font under LuaLaTeX. With \footnotesize, the arrow of \varprojlim and \varinjlim seems strange:
I assume that the problem here is that \varprojlim and \varinjlim ...
1
vote
1
answer
372
views
How to make ≝ and „equivalent to by definition“ similar?
We continue How to get two versions of the same math Unicode symbol from different fonts with XeLaTeX or LuLaTeX?, where we found out how to get ≝ in which “=” has roughly the same width as “def” ...