6

I wrote \mathbb{R^2} in the editor, however what gets printed in the pdf is the turnstile symbol in the exponent instead of 2.

I have the following packages:

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}

The other numbers are also replaced by logical symbols.

3
  • 3
    \mathbb{R}^2 is the correct syntax – egreg Sep 8 '20 at 14:18
  • Thanks a lot ! Haven't used LateX in a while !! – Asinus Sep 8 '20 at 14:20
  • 1
    Not relevant to your question, but amssymb automatically loads amsfonts, so you don't need the penultimate line. – Especially Lime Sep 9 '20 at 9:24
8

The manual of amsfonts specifies that \mathbb should only be used with capital letters.

What happens when other characters are in the argument of \mathbb is almost random.

Type \mathbb{R}^2, which is more sensible also on a semantic point of view.

The problem would present also with \mathcal.

5

You probably don’t actually want a blackboard-bold numeral 𝟚 here. There is one in Unicode, so in unicode-math, your code would do exactly what you said.

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.