9

enter image description here

Does anybody know how I can get exactly that symbol for the set of real numbers in LaTeX?

Additional image: enter image description here

In this picture you have the symbol for the set of integers, real numbers and complex numbers. I think this must be a package.

  • 6
    \mathbb{R} (amsfonts packagage) – David Carlisle Oct 30 '16 at 9:41
  • Does the symbol have to be rendered in Arial (or some other sans-serif font that features a "straight-legged" uppercase-R letter)? – Mico Oct 30 '16 at 9:43
  • 5
    The letter C looks just awful. Are you sure you want to replicate such a disaster? – Mico Oct 30 '16 at 10:17
  • 6
    that isn't a font it's just over-printed letters which is what we used to do before blackboard bold fonts came available, surely you don't want to do that now? – David Carlisle Oct 30 '16 at 10:17
  • 1
    BTW: what book is it from? It looks as a Polish book to algebra, written using LaTeX methods from the previous century... And I know at last one person, who still writes in such manner. :-) – Przemysław Scherwentke Oct 30 '16 at 10:29
31

An exact font for the symbols does not exist, because the symbols are composed from letters. The image clearly shows, that especially the Z- and C-symbols are poor man's versions of the symbol. All the three symbols are generated by two shifted letters:

\documentclass{article}
\newcommand*{\CC}{%
  \textsf{C\kern-1ex C}%
}
\newcommand*{\RR}{%
  \textsf{I\kern-.3ex R}%
}
\newcommand*{\ZZ}{%
  \textsf{Z\kern-1ex Z}%
}
\begin{document}
\textbf{a)} nad \ZZ,
\textbf{b)} nad \RR,
\textbf{c)} nad \CC
\end{document}

Result

Alternatives for comparison

Package amssymb

\documentclass{article}
\usepackage{amssymb}
\begin{document}
\textbf{a)} nad $\mathbb{Z}$,
\textbf{b)} nad $\mathbb{R}$,
\textbf{c)} nad $\mathbb{C}$
\end{document}

Result \mathbb of package amssymb

Package fourier

\documentclass{article}
\usepackage{fourier}
\begin{document}
\textbf{a)} nad $\mathbb{Z}$,
\textbf{b)} nad $\mathbb{R}$,
\textbf{c)} nad $\mathbb{C}$
\end{document}

Result fourier

Package dsfont

\documentclass{article}
\usepackage{dsfont}
\begin{document}
\textbf{a)} nad $\mathds{Z}$,
\textbf{b)} nad $\mathds{R}$,
\textbf{c)} nad $\mathds{C}$
\end{document}

Result \mathds of package dsfont

Sans serif version of dsfont

\documentclass{article}
\usepackage[sans]{dsfont}
\begin{document}
\textbf{a)} nad $\mathds{Z}$,
\textbf{b)} nad $\mathds{R}$,
\textbf{c)} nad $\mathds{C}$
\end{document}

Result dsfont, sans serif

Font "Segoe UI Symbol" (LuaTeX/XeTeX)

\documentclass{article}
\usepackage{fontspec}
\newfontface\SymbolFont{Segoe UI Symbol}
\begin{document}
\textbf{a)} nad {\SymbolFont\symbol{"2124}},
\textbf{b)} nad {\SymbolFont\symbol{"211D}},
\textbf{c)} nad {\SymbolFont\symbol{"2102}}
\end{document}

Result for Segoe UI Symbol

Font "FreeSans" (LuaTeX/XeTeX)

\documentclass{article}
\usepackage{fontspec}
\newfontfamily\SymbolFont{FreeSans}
\begin{document}
\textbf{a)} nad {\SymbolFont\symbol{"2124}},
\textbf{b)} nad {\SymbolFont\symbol{"211D}},
\textbf{c)} nad {\SymbolFont\symbol{"2102}}
\end{document}

Result for FreeSans

  • Heiko, you have also a sans serif with dsfont, if I remember correctly you activate them with sans option. – Manuel Oct 31 '16 at 11:11
11

Yet one more to the collection:

Font "Bbold"

\documentclass{article}
\usepackage{bbold}
\begin{document}
\textbf{a)} nad $\mathbb{Z}$,
\textbf{b)} nad $\mathbb{R}$,
\textbf{c)} nad $\mathbb{C}$
\end{document}

mwe

Note: In text mode you can use also {\bbfamily Z}

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.