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
1 answer
29 views

How to adjust certain things in the Longtable

Hi there i am going to post a MWE code, which probably has a few packages that arent needed for the MWE version but are used in my main file. I need to adjust 3 things in the generated table. The ...
Abibo's user avatar
  • 51
7 votes
3 answers
797 views

Old style union and intersection symbols

I find books typeset before 1970 sometimes more comfortable to read than more modern versions. I am trying to get this older book style for some of my LaTeX documents. Thanks to TeX Exchange I get ...
Philippe Cara's user avatar
2 votes
1 answer
51 views

Tell unicode-math how to translate unicode symbols (script vs calligraphic)

I am using LuaLaTeX and unicode-math in my documents. I input most of the simple symbols (sum, products, greek letters, quantification, etc.) directly in unicode (using agda-mode for emacs). When I ...
Pece's user avatar
  • 351
0 votes
1 answer
43 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 ...
Felipe Dilho's user avatar
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 ...
Matemáticos Chibchas's user avatar
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 ...
Jon's user avatar
  • 363
0 votes
0 answers
34 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 ...
S. N.'s user avatar
  • 11
2 votes
1 answer
50 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?
Hamza Nouar's user avatar
0 votes
0 answers
37 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 ...
DAVID CORELLA's user avatar
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, ...
Níckolas Alves's user avatar
5 votes
1 answer
170 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 ...
N. Virgo's user avatar
  • 3,835
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 ...
twit's user avatar
  • 41
2 votes
1 answer
77 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 ...
Jakob Werner's user avatar
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 ...
Zhuo's user avatar
  • 1
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 ...
user94293's user avatar
  • 4,021
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 ...
TonyK's user avatar
  • 479
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, ...
narip's user avatar
  • 175
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, ...
TimH-02130-USA's user avatar
1 vote
1 answer
72 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 ...
ehak's user avatar
  • 25
1 vote
0 answers
51 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 ...
Daniel Checa's user avatar
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{\...
user avatar
3 votes
5 answers
853 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 ...
user avatar
0 votes
1 answer
68 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{...
vqngs's user avatar
  • 231
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?
A. J. Pan-Collantes's user avatar
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 ...
youthdoo's user avatar
  • 769
1 vote
1 answer
53 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} ...
jmite's user avatar
  • 1,519
2 votes
1 answer
91 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 & ...
jmite's user avatar
  • 1,519
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).
Display Name's user avatar
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‎ ,...
Touba Parsa's user avatar
2 votes
0 answers
88 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 ...
Matthias Pospiech's user avatar
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
pushhhhh's user avatar
4 votes
1 answer
280 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 ...
Ziggy's user avatar
  • 416
10 votes
2 answers
895 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-...
Uwe.Schneider's user avatar
3 votes
1 answer
319 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 ...
Bryan Castro's user avatar
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.
Hussein Eid's user avatar
0 votes
1 answer
57 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?
Touba Parsa's user avatar
0 votes
0 answers
186 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 ...
jakehuryn's user avatar
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 "...
Мақсат's user avatar
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{...
Volker's user avatar
  • 347
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 ...
RCV's user avatar
  • 1,924
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: ...
Мақсат's user avatar
0 votes
1 answer
93 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 \...
Мақсат's user avatar
1 vote
1 answer
66 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 ...
Bubaya's user avatar
  • 2,021
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 ...
mbert's user avatar
  • 1,840
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 ...
B612's user avatar
  • 143
6 votes
2 answers
456 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 ...
Svend Tveskæg's user avatar
0 votes
0 answers
63 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 ...
OGBond's user avatar
  • 75
-1 votes
1 answer
168 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} ...
1587795171qqcom's user avatar
7 votes
2 answers
265 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 ...
Mariano Suárez-Álvarez's user avatar
0 votes
1 answer
115 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 ...
user avatar

1
2 3 4 5
7