Wednesday, December 03, 2008

Writing a number set in LaTeX

I needed to write the formal notation of a multi-dimensional dataset in my PhD dissertation. Since I'm using LaTeX and this dataset consists on a real number set I just have to use the mathbb font, provided by amsfonts or amssymb packages.

Thus, providing that the proper packages were included in the preamble of the document, I just had to use, in math mode:

\mathbb{R}^n


to obtain:

No comments: