# Number sets symbols in LaTeX

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

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

• \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
• The letter C looks just awful. Are you sure you want to replicate such a disaster? – Mico Oct 30 '16 at 10:17
• 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
• 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

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}
\end{document}


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


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


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


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


## Font "Segoe UI Symbol" (LuaTeX/XeTeX)

\documentclass{article}
\usepackage{fontspec}
\newfontface\SymbolFont{Segoe UI Symbol}
\begin{document}
\end{document}


## Font "FreeSans" (LuaTeX/XeTeX)

\documentclass{article}
\usepackage{fontspec}
\newfontfamily\SymbolFont{FreeSans}
\begin{document}
\end{document}


• 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

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}


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