4

I love to use mathfrak letters. However I need an `A' and the mathfrak A looks a lot like a U to me:

enter image description here

Are there alternative `mathfrak' looking fonts?

  • 2
    There are several alternatives, see e.g. on p. 119 of the comprehensive catalogue, otherwise see here how to look up a symbol. – marmot Jun 25 '18 at 2:19
  • Have you taken a look at the mathalfa package? It provides an easy interface to (and various examples of) fraktur-type math alphabets. – Mico Jun 25 '18 at 2:47
  • Have a look at tex.stackexchange.com/q/58098/15925 for various possibilities. – Andrew Swann Jun 25 '18 at 6:36
  • You want to look at fraktur alphabets? tex.stackexchange.com/questions/320403/…. Of course, they are not set up currently for LaTeX math... – Steven B. Segletes Jun 25 '18 at 11:01
  • 1
    @marmot I don’t think this is a question about how to look up a symbol; the asker knows that the source is \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
9

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 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}

Unifrak Maguntia Sample

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}

Unifrak Maguntia Variant

This example keeps the default bold Fraktur, which Maguntia does not cover. There are many other fonts in Steven B. Segaletes’ list here.

With NFSS

As Mico mentioned in the comments, you can select between the available Type 1 Fraktur fonts using 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}

Gotisch

  • +1 Is symfrak a custom name or predefined? – Dr. Manuel Kuehner Jun 25 '18 at 14:05
  • 3
    @Dr.ManuelKuehner It’s defined in 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.