I love to use mathfrak letters. However I need an `A' and the mathfrak A looks a lot like a U to me:
Are there alternative `mathfrak' looking fonts?
I love to use mathfrak letters. However I need an `A' and the mathfrak A looks a lot like a U to me:
Are there alternative `mathfrak' looking fonts?
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 character variants, including three forms of uppercase A. Here is its “easy-reading” or “21st-century” variant.
\documentclass[varwidth, preview]{standalone}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
% From http://unifraktur.sourceforge.net/
% Stylistic Set 1 is the “Easy Reading” variant. Character variant 4:1 is an
% alternative modern A.
\setmathfont[range=frak/{latin,Latin},
Scale=MatchUppercase,
StylisticSet=1,
script-features={},
sscript-features={}
]{Unifraktur Maguntia}
\begin{document}
\( \symfrak{ABCDEFGHIJKLM}\\
\symfrak{NOPQRSTUVWXYZ}
\)
\end{document}
And a different variant A, plus other modernized letters:
\documentclass[varwidth, preview]{standalone}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
% From http://unifraktur.sourceforge.net/
% Stylistic Set 1 is the “Easy Reading” variant. Character variant 4:1 is an
% alternative modern A.
\setmathfont[range=frak/{latin,Latin},
Scale=MatchUppercase,
CharacterVariant={4:1,5,6,7,8,9,10},
script-features={},
sscript-features={}
]{Unifraktur Maguntia}
\begin{document}
\( \symfrak{ABCDEFGHIJKLM}\\
\symfrak{NOPQRSTUVWXYZ}
\)
\end{document}
This example keeps the default bold Fraktur, which Maguntia does not cover. There are many other fonts in Steven B. Segaletes’ list here.
As Mico mentioned in the comments, you can select between the available Type 1 Fraktur fonts using mathalpha (formerly mathalfa).
Another set of Fraktur fonts that aren’t designed for math mode, but can be used there, are the Y fonts by Yannis Haralambous, which are now available as Type 1. For example, here is Gotisch.
\documentclass[varwidth, preview]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % The default since 2018
\usepackage{oldgerm}
\usepackage{amsmath}
% Gotisch:
\newcommand\varfrak[1]{\mathord{\text{\textgoth{#1}}}}
\begin{document}
\( \varfrak{ABCDEFGHIJKLM}\\
\varfrak{NOPQRSTUVWXYZ}
\)
\end{document}
ETA: Looking back at this answer in 2020, I notice a small bug in the MWE: I use \text to select a symbol alphabet in math mode. In theory, formatting of the surrounding text, such as \bfseries or \itshape, would bleed through. This might be desirable if you’re including math symbols in a title where you want both \bfseries and \boldmath, and I don’t believe there’s any \itshape, \scshape, or so on for these fonts.
However, you might prefer to use \DeclareMathAlphabet instead (if you aren’t using legacy tools with a very limited number of math alphabets), or \usefont or \normalfont inside \text.
unicode-math. You could also use \mathfrak but give a package option to interpret it as \symfrak, so you don’t get ligatures like sz in math-mode. In practice, if you’re just writing \mathfrak{A}, they’re basically equivalent.
– Davislor
Jun 25 '18 at 14:09
\text to select the font in math mode, so theoretically, text-mode formatting such as \bfseries or \itshape would bleed through.
– Davislor
Apr 17 '20 at 13:38
As an alternative you could try the fraktur style of kpfonts package: see the example below without to use XeLaTeX or LuaLaTeX (fontspec/unicode characters).
In my humble opinion, they are not aggressive characters :-)
\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{kpfonts}
\newcommand{\Alphabet}{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\begin{document}
$\mathfrak{\Alphabet}$
\end{document}
mathfrak. It is necessary declare every mathsymbol from the slot of the package, and to use them without to change the principal document. See the example https://tex.loria.fr/ctan-doc/macros/latex/doc/html/fntguide/node18.html \DeclareMathSymbol{\alpha}{0}{letters}{"0B} \DeclareMathSymbol{\lessdot}{\mathbin}{AMSb}{"0C} \DeclareMathSymbol{\alphld}{\mathalpha}{AMSb}{"0C}
– Sebastiano
Sep 18 '20 at 07:48
\mathfrak characters with their equivalents from the kpfonts package, leaving everything else unchanged. I don't suppose you could shed a little more light on it, by any chance?
– N. Virgo
Sep 18 '20 at 09:06
\mathfrak{A}. It’s a question about how to select a blackletter font that’s less Fraktur and more Antiqua, and use it in math-mode. – Davislor Jun 25 '18 at 14:16