5

I use the term ^*\mathbb{R} in my thesis, and this works fine. However if i have something like x\in^*\mathbb{R}, the asterisk moves to the left, like it belongs to the \in sign. How do I prevent this from happening and make it stick to the \mathbb{R}?

Thanks

5

A “prescript” should be set as a superscript to an empty formula, unless the symbol this should be attached to has a big size, when something else must be devised; for instance, you could say

\usepackage{mathtools}

and then use

\prescript{*}{}{\mathbb{R}}

but it would be probably too much, in this case. However, you should define macros for this:

\newcommand{\numberset}[1]{\mathbb{#1}}
\newcommand{\hypernumberset}[1]{{}^{*}\numberset{#1}}
%% or, with mathtools,
% \newcommand{\hypernumberset}[1]{\prescript{*}{}{\numberset{#1}}}

\newcommand{\R}{\numberset{R}}
\newcommand{\HR}{\hypernumberset{R}}
\newcommand{\N}{\numberset{N}}
\newcommand{\HN}{\hypernumberset{N}}

Not only typing

$x\in\HR$

is simpler than $x\in{}^{*}\mathbb{R}$, but this also allows much more flexibility. In case you eventually decide that blackboard bold is not the best and that normal boldface is to be used, you just need to change one definition, namely that of \numberset.

|improve this answer|||||
  • if the prescript is attached to a large operator (e.g. sum or product), then \sideset from amsmath is suggested. (since you mentioned "big size") – barbara beeton Jun 16 '14 at 13:43
4

The superscript is added to the symbol before. Thus \in^* puts the asterisk to the symbol \in. A trick is using an empty subformula: \in {}^*, then the superscript is set to the subformula:

\documentclass{article}
\usepackage{amssymb}
\begin{document}
\[
  x\in{}^*\mathbb{R}
\]
\end{document}

Result

|improve this answer|||||

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.