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
0 votes
0 answers
56 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
1 vote
1 answer
42 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 ...
  • 3,842
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 ...
  • 469
1 vote
1 answer
48 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, ...
  • 175
1 vote
2 answers
70 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
59 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 ...
  • 25
1 vote
0 answers
44 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 ...
0 votes
0 answers
27 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{\...
3 votes
5 answers
715 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
1 answer
64 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{...
  • 217
8 votes
2 answers
563 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?
2 votes
2 answers
134 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 ...
  • 767
1 vote
1 answer
51 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} ...
  • 1,509
2 votes
1 answer
69 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 & ...
  • 1,509
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
30 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
57 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
48 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
3 votes
1 answer
186 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 ...
  • 406
10 votes
2 answers
811 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-...
2 votes
1 answer
182 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
25 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
50 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
125 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
43 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 "...
1 vote
0 answers
58 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{...
  • 347
0 votes
0 answers
41 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 ...
  • 1,874
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
74 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 \...
1 vote
1 answer
54 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 ...
  • 1,771
2 votes
1 answer
53 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,359
0 votes
0 answers
72 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 ...
  • 123
6 votes
2 answers
416 views

Math and text font size not the same

This is a follow-up question to Switching from PDFLaTeX to LuaLaTeX. Using user187802's answer, I have the following setup: \documentclass{article} \usepackage{fontspec} \setmainfont[ Extension ...
0 votes
0 answers
50 views

Is there any analogue of mathcal which also works with Greek letters?

I have noticed that the font category mathcal does not work with Greek letters as inputs, probably because nobody has created any sort of "calligraphic Greek font family". Is there any sort ...
  • 75
-1 votes
1 answer
98 views

\boldsymbol and \it not work

Our project formula uses \it and \boldsymbol, but it doesn't work since we upgrade texlive from 2016 to 2022. I doubt it might be the problem of font? The formula: ${\it v} _x={\it v} _0$,$x={\it v} ...
7 votes
2 answers
254 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
76 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 ...
0 votes
0 answers
69 views

Looking for the OpenType font or installable version of LaTeX mathematical fonts for Mac

I'm currently using \mathcal{*} in some of my equations. How can I recreate the same font in illustrations? I use Affinity Designer for illustrations as I'm not familiar with tikz. I'm unable to ...
  • 101
0 votes
1 answer
142 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 \...
  • 2,099
2 votes
2 answers
67 views

Only loading blackboard bold of a font

I'm looking to use the vvarbb style blackboard bold font from newpxmath but use eulervm for all other math. Unfortunately it seems that eulerpx doesn't support the vvarbb option. Is there a way to ...
2 votes
1 answer
84 views

Using "times" font for entire document, but cannot do bold math font; how to change font for specific equation [duplicate]

I am writing a PhD thesis according to a template. It uses the "times" font, which apparently is a uni requirement. It turns out that this prevents be from using bold font in equations. This ...
  • 23
1 vote
1 answer
80 views

Why are some math glyphs different from text glyphs when using STIX2?

When using STIX2 fonts for both text and math, some glyphs in math mode differ from those of text mode. For example, $zuvw$ produces different glyphs than \emph{zuvw}: Q: Why is this so, and it is ...
  • 111
1 vote
1 answer
41 views

Little glitch in MnSymbol

MnSymbol uses a few symbols from the text font, like \dagger, in math, and does so using the definition \ifx\Mn@Bold\math@version \text{\bfseries#1}% \else \text{\mdseries#1}% \fi} ...
2 votes
1 answer
54 views

Why does \tensor produce errors when LaTeX Info warns about number of math fonts?

In actuarial documents we use much mathematically oriented notation, for which we need many math fonts. In What is the meaning of "No math alphabet change to frozen version normal on input line ...
1 vote
0 answers
49 views

How to surpress flood of LateX Infos "No math alphabet change to frozen version normal", especially when using tensor package? [duplicate]

In actuarial documents we use much mathematically oriented notation, for which we need many math fonts. In What is the meaning of "No math alphabet change to frozen version normal on input line ...
0 votes
0 answers
25 views

What is the Best Way to Reproduce this Wavy Script in LaTeX? [duplicate]

I would like to reproduce the "W" in W(E) from the screenshot above. How should I do this in LaTeX?
  • 371
0 votes
0 answers
64 views

(Sans serif) math font that goes well with Montserrat Light as regular text font

I want to use Montserrat Light as the main font for my document and its semibold version to render LaTeX bold. According to https://tug.org/FontCatalogue/montserratlight/ and http://mirrors.ctan.org/...
  • 1,910
2 votes
2 answers
153 views

Keep Latin Modern as the font used inside math equations

In a Hebrew document, I changed the fonts as in the MWE below. The thing is that when I have some text typed inside \text{…}, the font used to print it is not the font used for math. How do I fix it? ...
  • 796
1 vote
2 answers
84 views

Use bold font for just the hat in math mode

I am using the libertinus font which also has math support. But when I try to place a hat on variables in this font, it seems too "flimsy." How to make the hat appear thicker? I tried ...
  • 13
0 votes
0 answers
49 views

How do you specify a bold font to use for Computer Concrete?

I'm using the Computer Concrete fonts using \usepackage{concmath}. I really like how text and math are rendered using this font; but a major downside is that it does not have bold variants, and falls ...

1
2 3 4 5
7