As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [math-fonts]

This tag covers fonts used in math-mode, ranging from changing the font to redefining commands like \mathrm or \mathsf. When asking about conflicts between a specific font package and a symbol please also tag your question with the font package.

Filter by
Sorted by
Tagged with
2 votes
2 answers
233 views

How to set `newpxmath` to use the `pxfonts` integral

I want to know how to set newpxmath to use the pxfonts integral, which is just like the Wolfram fonts. Now I use Asana-Math as a substitute. I want \int like this: But newpxmath default is this: ...
0 votes
1 answer
39 views

When defining a new math alphabet how to scale its letters?

I am defining a new alphabet with \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}. I used to use the fonts by \usepackage[scaled=1.15]{urwchancal} but this changes all \mathcal letters, when using the ...
1 vote
2 answers
64 views

Font for numbers changed when used fontspec

The following MWE \documentclass[12pt]{amsbook} \usepackage[T1]{fontenc} \usepackage{mathtools} \usepackage{newpxtext} \usepackage{eulerpx} \begin{document} $1234$ \end{document} has the ...
0 votes
1 answer
60 views

I want to use capital Greek letters and less < and greater than in same equation

I want to use the less than symbol < and greater than > in and equation and capital letters from Greek alphabet in particular \Phi. Now, I need the \usepackage{breqn} to put the less than ...
0 votes
0 answers
33 views

Is it possible to use fonts of different families for regular text and math formulae? [duplicate]

I recently found out how to use Google Noto fonts for regular text in LaTeX documents. It is my belief that they strain my eyes much less when on-screen than CM fonts do (it is probably the opposite ...
2 votes
1 answer
47 views

Pairing two fonts for antique looking math

How do I pair Old Standard (for alphabets and digits) and Asana-Math (for the rest of the math) in order to write antique looking math?
0 votes
2 answers
280 views

Non-italic custom command in theorem environment

I usually use \text{} in macro for names of functions such as deg that should appear in math environment in non-italic. It works fine as long as the macro is not used in a theorem environment, see the ...
0 votes
0 answers
36 views

Writing text font in math subscripts

Is there any way to change the setup of amsfonts to show every subscript automathicaly in text fonts instead of the math default font? I have a long finished text in which every subindex is written ...
2 votes
0 answers
92 views

How can I get an out-bending \hbar with horizontal bar on Garamond Math?

garamond-math has a few stylistic sets. Stylistic set 6 makes \hbar have a horizontal bar (as opposed to a slanted bar), while stylistic set 10 makes all h's bend outward, rather than inward. However, ...
2 votes
2 answers
45 views

Set pgfplots font to that of article

I have a document with a custom font montserrat. I also have the following plot: \documentclass[a4paper]{standalone} \usepackage[extralight,defaultfam,light,tabular,lining]{montserrat} % Font % For ...
5 votes
1 answer
165 views

Lower case \mathbb with a decent font

In the answers to package for \mathbb{lowercase letter} symbol there are two options for a blackboard bold font that includes lower case letters. They look like this: Unfortunately neither of these ...
0 votes
1 answer
113 views

Exclamation and question marks in mathematical bold sans-serif upright Times or Times-like font

Continuing \mathsfup and \symsfup for variables, we try to get bold sans-serif upright exclamation and question marks from NewTX and TeX Gyre Termes Math. However, an attempt to typeset them makes me ...
2 votes
1 answer
76 views

A macro for unicode bold math font

\documentclass{scrbook} \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} \usepackage[default]{fontsetup} \begin{document} \begin{equation*} \mathbf{R} \qquad ...
0 votes
0 answers
57 views

LaTeX font package on stackexchange [duplicate]

I'm wondering what math fonts are used by stackexchange, and how I can use them in my own LaTeX environment. For instance, the following code does give me the times new roman font for texts, but it ...
1 vote
1 answer
48 views

x-height correction for different fonts

Boondox calligraphic math font and Arev math font do not have the same height for their upper-case letters and their lower-case letters. Adapting the answer of Fake small caps with XeTeX/fontspec?, I ...
7 votes
2 answers
262 views

Dog bites man as news, or the verbosity of the messages for no changes to math alphabets

I have a certain LaTeX project that results in a 250 page PDF file whose log file is filled with «No math alphabet change to frozen version normal on input line blah» messages. In fact, the file is ...
0 votes
1 answer
165 views

use mathsf as default mathfont

Using \mathsf explicitly inside math environment, I can have mathsf (Roboto light condensed in this case) as a math font. I am looking for a way to get this as default, so that, I don't need to put \...
0 votes
1 answer
25 views

Code to give a "nice" xbar works fine but fails if in a section heading

I was searching for a better xbar and found an answer here from about 11 years ago: Can I get a \widebar without using the mathabx package? I used the abbreviated code and it works fine. However, when ...
1 vote
1 answer
51 views

Mathpazo has wrong index of $\mathcal{D_\rho}$

I try to use mathpazo in my LaTeX notes, that is \usepackage[sc]{mathpazo}, but something wrong happens with $\mathcal{D_\rho}$. I expect it to be which works when I do not load the mathpazo package, ...
1 vote
2 answers
76 views

want to change the size for \mathsf throughout my document

When I put an \overline, \overrightarrow etc. on an uppercase \mathsf letter the result is too large to fit in an inline equation with the default \baselineskip. This results in uneven line spacing, ...
1 vote
1 answer
71 views

Getting proper math typesetting with Cambria?

When I switched from Calibri to Cambria in LuaLaTeX, a \middle/ lost its correct size. I then tinkered with combinations of fontspec, unicode-math and mathastext, but none seems to work. I didn't play ...
0 votes
1 answer
157 views

A math font to match Cascadia Cod3

I'd fancy to use XeLaTeX with the font Cascadia Cod3 but the standard math font is not up to the task. Is it possible to use a different, better matching math font or, as a second option, manipulate ...
1 vote
0 answers
50 views

How to change each font?

I'm writing my thesis and I'd like to do these things: Using Garamond font for Serif, Cabin for Sans, Latin Modern for Math, and Inconsolata for monospaced. How to set each one? Garamond has to be ...
3 votes
5 answers
835 views

A better long ≝ (defining equals, equals to by definition) without bumps

For a long time, I've been defining a long „equals to by definition“ symbol ≝ for [pdf|lua|xe]latex via \newcommand*{\longDefiningEquals}{\stackrel{\text{def}}{=\joinrel=}} Its typical usage would be ...
0 votes
0 answers
28 views

long equality symbol for DVI output

Continuing A better long ≝ (defining equals, equals to by definition) without bumps, feeding \documentclass{article} \pagestyle{empty} \usepackage{graphicx} \newcommand*{\longEquals}{\mathrel{\...
1 vote
1 answer
318 views

Changing math font sizes in Quick Latex in WordPress preferably using DeclareMathSizes

I'm a low level user; I don't have administrative privileges though I could get some if I really needed to. I'm also a LateX novice; I have a background in math so I get the math symbol commands but I ...
0 votes
1 answer
67 views

Style of latex formulas

I have the given formula given in overleaf latex: Given by \begin{equation} H=\int \bigg(\big||\partial_x|^{\alpha/2}\psi\big|^2+\frac{1}{2}\big||\partial_x|^{-\beta/4}\psi\big|^4\bigg)dx \end{...
8 votes
2 answers
578 views

Why does putting a digit under \mathcal{...} display an unrelated symbol? [duplicate]

I have found, unintentionally, that if you write $\mathcal{P_1}$ you obtain the same as $\mathcal{P}_{\infty}$ , i.e., Is this a bug or a Latex functionality unknown to me?
0 votes
1 answer
104 views

Suggest a fitting math font for Sitka (text font)

I really like the design of Microsoft's Sitka font. I am searching for a mathematical font that would fit it well. I use fontspec and unicode-math to select the fonts. What I've tried so far: I ...
2 votes
2 answers
143 views

txfonts minus sign

I used XeLaTeX to compile the code \documentclass{article} \usepackage{txfonts} \everymath{\displaystyle} \begin{document} \[\sum a^k=p\sum a^{k−1}−q\sum a^{k−2}+r\sum a^{k−3}.\] \end{document} I ...
1 vote
1 answer
52 views

sansmath undoes custom mathbb alphabet

I need mathbb symbols for 0 and 1. Currently I'm doing this using the bbold fonts. This works great: \documentclass[10pt]{article} \DeclareMathAlphabet{\mymathbb}{U}{bbold}{m}{n} \usepackage{amsmath} ...
2 votes
1 answer
88 views

Use mathsf for entire block/environment

Basically, I want to definite a flalign environment where all the math uses mathsf by default. I can't just wrap the whole thing in a mathsf command because there might be line breaks and & ...
0 votes
0 answers
41 views

What is this calligraphic letter? [duplicate]

This is in Principles of Algebraic Geometry 1994 by Griffiths and Harris (bottom of page 139).
1 vote
2 answers
33 views

special vector denote by Zero having extra line

I want to show the vector of (0,0,...,0) by 0 that have extra line. How can I do it? I want to use this vector as special. so I use a lot of this notation. I currently denote the vectors $(0,0,\dots‎ ,...
2 votes
0 answers
84 views

! LaTeX Error: Math alphabet identifier \mathrm is undefined in math version `

In the following MWE I get the error that \mathrm is undefined. % !TeX encoding=utf8 % !TeX program = lualatex \documentclass{article} \usepackage{unicode-math} \begin{document} \setmathfont{Latin ...
0 votes
0 answers
50 views

What is this font, please? [duplicate]

I found this note on the internet, does anyone know what the font is in it (and how to use it in latex), thanks
1 vote
0 answers
59 views

How do I identify the correct maintainer to contact if I find a bug?

I believe I found a bug that has hit texlive-base (2022.20221123-1) in Debian Sid yesterday according to Changelog. Consider this minimal example: $ cat test.tex \documentclass{article} \usepackage{...
10 votes
2 answers
872 views

Old mathbook's thick font

I did a lot of research to re-create the style of the following math book written in 1979: There are many questions around recreating old fonts such as font-of-old-math-books , how-to-write-like-old-...
4 votes
1 answer
268 views

Change math font to Arial

I'm working on submitting a manuscript-style scholarship essay, and the formatting must be 12pt Arial. Which I was able to get working using LuaLaTeX. However, once I got that working, I quickly ...
2 votes
1 answer
300 views

Lowercase \mathscr and \mathcal letters

I'm sorry since I know this question has both been asked and answered before here, but I really am not good with computers and learning latex in itself has already been quite overwhelming. My question ...
0 votes
0 answers
28 views

Including some special math font in latex

How to include these special mathematical fonts in latex and keeping the fonts produced by the original \mathcal unchanged ?!. I need any help. Thanks in advance.
0 votes
1 answer
56 views

showing identity element in a vector space [duplicate]

I want to show identity element of a normed vector space with 1 that have extra line .How can I do it?
0 votes
0 answers
183 views

What are these mathfrak/mathcal/mathbb fonts?

I recently came across this preprint of Pierre Berthelot, and became a little obsessed with the very pretty typesetting. I determined that the text font is New Century Schoolbook or something very ...
0 votes
1 answer
46 views

Symbol command disabled in math mode

1.I have located the problem is caused by \rm command; 2.There is warnning log when run in Overleaf: Package fontspec Warning: Font "Times New Roman" does not contain requested Script "...
0 votes
0 answers
48 views

Math chracters \prime, active prime ('), *, \circ printing double superscript position in xelatex

I am trying to redefine the math characters from STIX Two Math otf font, i successfully redefine all characters in xelatex through \Umathchardef command. I am facing the issue for \prime, active prime ...
0 votes
1 answer
48 views

Add patch that define own font to a command

Can a new patch be added to the \mathit command to use fonts that are not controlled by math mode. I want math mode to use TeX Gyre Termes Math and v controlled by \mathit to use Computer Modern Code: ...
0 votes
1 answer
90 views

Declare font in math mode

How I make the default font in math mode has nothing to do with \setmainfont{some font}. Why is the character specified by \it Times New Roman and the others are Computer Modern? Now I want to change \...
2 votes
1 answer
55 views

Replacing all curly braces in a font (not just the large ones)

I find the curly braces from kpfonts difficult to distinguish from other brace-like symbols and would like to replace all math instances of \{ and \} (so \lbrace and \rbrace) with curlier braces from ...
1 vote
1 answer
62 views

sans and bold sans math versions for lmodern

I know there are multiple questions about bold sans serif math, namely this and this and this. However, all those questions' OP seem to be satisfied with upright math, which I'm not. I tried to play ...
0 votes
0 answers
82 views

How to make font style

I liked the typeface of this book (scan of paper below) : And would like to use it. I use WhatTheFont app and I think the font name is Hand Scribble Sketch Times Reg. Does anyone know how I can do ...

1
2 3 4 5
7