30 votes

Give me my fancy math 𝒳 from mathptmx back!

The author of newtxmath also wrote (and actively maintains) the package mathalpha, to easily declare calligraphic, script, fraktur, and blackboard bold math alphabets. With mathalpha, you can get your ...
user avatar
  • 15.6k
26 votes
Accepted

Choice of consistent unicode open-type fonts for Phd Thesis in Engineering

The situation with fonts is much better than you thought! I absolutely agree with your advisor that you should use OpenType fonts (and therefore, the unicode-math package on either XeLaTeX or ...
user avatar
  • 38.2k
14 votes
Accepted

Give me my fancy math 𝒳 from mathptmx back!

You can get the desired X by loading the mathrsfs ("Ralph Smith's Formal Script") font package and writing \mathscr{X}. \documentclass{article} \usepackage{newtxtext,newtxmath} \usepackage{mathrsfs} ...
user avatar
  • 46.3k
14 votes
Accepted

Is this math font available in Latex?

The answer to ”is this math font available in LaTeX“ is no. But it's worth noting some interesting things: Before Times Roman became the dominant default typeface, many (most?) mathematical texts were ...
user avatar
  • 13k
13 votes
Accepted

What is this M font?

At first glance I thought it was some Fraktur style, but a quick search on WhatTheFont leads to the following result: As expected, this typeface (French Script) is commercial (maybe it is a built-...
user avatar
  • 9,278
13 votes
Accepted

Why don't these words look to have have the same size?

This is unrelated to tables. You are using inline textstyle math designed to fit in a normal height line. fractions use a smaller font just as superscripts do. The W is smaller just as the second 2 is ...
user avatar
12 votes
Accepted

Beamer metropolis theme, recommend a math font that matches with Fira

Update I have just discovered the existence of FiraMath font, here an example of the font from https://github.com/firamath/firamath The Github repository above gives instructions for installing the ...
user avatar
  • 669
12 votes
Accepted

Alternative to $\mathfrak A$?

With unicode-math You can select the Fraktur alphabet of any math font, or map any Unicode blackletter (or other!) font to the Fraktur alphabet. You might try UniFraktur Maguntia with its sets of ...
user avatar
  • 38.2k
12 votes

Change font for 'operatorname'

In unicode-math, you can use the command \setoperatorfont\mathsf Otherwise, you can use code like egreg’s here to set the \operator@font to \sfdefault: \documentclass{article} \usepackage{amsmath} \...
user avatar
  • 38.2k
11 votes
Accepted

Are `mathfont` and `mathspec` intended for same purpose?

mathfont and mathspec have similar purpose, but mathfont works not only with xelatex but also with lualatex. Both packages allow to change the font of various math symbols and math alphabets. Both ...
user avatar
10 votes

Context : How to install and use new opentype (math) fonts?

You can get out of the box opentype math by setting mm (or math) with \definefontfamily: \definefontfamily [mainface] [ss] [GFS Neohellenic] \definefontfamily [mainface] [mm] [GFS Neohellenic Math] \...
user avatar
  • 19.5k
10 votes
Accepted

Context : How to install and use new opentype (math) fonts?

Where should I look for documentation of this feature? There is a manual which is distributed with ConTeXt standalone, called Fonts out of ConTeXt. It is also sometimes referred to as “the new font ...
user avatar
10 votes
Accepted

Looking for Math Font to match IBM Plex Serif / Sans

Thanks to @Ross showing me mathastext I reckon I've got a working solution. Solution Math Symbols \usepackage{fourier} In my opinion, fourier's symbols matches better stylistically, however I don'...
user avatar
  • 843
10 votes

An Exquisite Mathematical Font

That book was published by Dover Books which was a legendary English metal foundry and publishing house (today only a shadow of itself, so can be said of the US business side). Sooo... Your chances of ...
user avatar
  • 361
9 votes
Accepted

How to create symbol "cross product with dot under it"

Using \ooalign (one of my favorite toys) together with \mathpalette for properly scaling the symbol if in subscripts or superscripts. Note that the dot is properly centered, contrary to what the image ...
user avatar
  • 993k
9 votes
Accepted

Accessing *all possible* math styles of the STIX font

latex math alphabets (unlike math symbol fonts) are assigned on demand as they are used. This means that you can declare any number of math alphabets but you may only use a total of 16 math fonts (...
user avatar
9 votes
Accepted

newpxmath: accents are always bold

Update 2021-06-02 Version 1.423 (released 2021-05-31) of NewPX fixes the issue. From the README file Changes in version 1.423 Corrected weight of regular math accents, which were rendering in bold ...
user avatar
  • 993k
9 votes

Why don't these words look to have have the same size?

Please tell me if you have any idea to make it look nicer. In addition to the use of \dfrac, I played around with the table structure a bit to make better use of the full textwidth within the assumed ...
user avatar
  • 2,050
8 votes
Accepted

Commands inside textbf

The fix is simple: use \mathbf and not \textbf: \renewcommand{\vec}[1]{\mathbf{#1}} Your code produces errors, the first of which is ! Missing $ inserted. <inserted text> $ l....
user avatar
  • 993k
8 votes
Accepted

Teletype Greek letters

This much depends on the main document font. For Computer Modern, you can use the cbgreek fonts. Other font families support Greek, though. Take your pick. \documentclass{article} \usepackage[LGR,T1]{...
user avatar
  • 993k
8 votes
Accepted

An Exquisite Mathematical Font

I propose two solutions after about two hours I have arrived at this conclusion: one more complicated and one very fast. For my memories the \pi greek character is similar to Mathematical Pi 1 which ...
user avatar
  • 46.3k
8 votes
Accepted

How can I get an upright \hbar using unicode-math?

You don't need to construct things by hand, you want U+0127 ħ \documentclass{article} \usepackage{unicode-math} \begin{document} \renewcommand*{\hbar}{\mathrm{^^^^0127}} \( \hbar \scriptstyle\hbar ...
user avatar
7 votes
Accepted

EB Garamond numbers in XeLaTeX

You have to call fontspec with the no-math option. \documentclass{article} \usepackage[no-math]{fontspec} \usepackage{ebgaramond} \usepackage[cmintegrals,cmbraces]{newtxmath} \usepackage{ebgaramond-...
user avatar
  • 993k
7 votes

fontspec no-math option changes the math bold alphabet

You have made some misunderstood claims here: 1) \mathbf does not give you lite-bold; 2) \mbf does not give you heavy-bold. I’d like to first correct some misconceptions and then present a ...
user avatar
  • 9,278
7 votes

Give me my fancy math 𝒳 from mathptmx back!

mathptmx uses this font here: \documentclass{article} \pagestyle{empty} \usepackage{newtxmath} \DeclareMathAlphabet{\mathcal}{OMS}{ztmcm}{m}{n} \begin{document} Let \(\mathcal{X}=\{X_1,\ldots,X_n\}\)...
user avatar
7 votes
Accepted

Concrete Roman operator names

The solution is simple to do after the nice comments. Here there is the complete solution whete you not see \sin and \cos being typeset with a bitmap font. \documentclass[a4paper,12pt]{article} \...
user avatar
  • 46.3k
7 votes
Accepted

Blackboard bold greek letters

The OP cites this question, Who can write a package for the new mathbb font as in the picture and compatible with Computer Modern font?, as a desired endpoint, in which it appears that an outline font ...
user avatar
7 votes
Accepted

Unknown math font

I think this is the symbol \varkappa (you need the package amssymb).
user avatar
  • 201
7 votes

Typing Latex symbol

I have choosen another option, looking the https://ctan.mirror.garr.it/mirrors/ctan/macros/latex/contrib/mathalpha/doc/mathalpha-doc.pdf (mathalfa=mathalpha) package. You can see to pag. 5, 6 and 7 ...
user avatar
  • 46.3k
7 votes
Accepted

Something is wrong with `\setmathdigitfont` of XePersian

The issue is that xepersian uses the command \etex_iffontchar:D which has been deprecated since 2018 and removed in current versions. The functionality is still available under the name \...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible