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, 2020 at 14:18
  • Thanks a lot ! Haven't used LateX in a while !!
    – Asinus
    Sep 8, 2020 at 14:20
  • 1
    Not relevant to your question, but amssymb automatically loads amsfonts, so you don't need the penultimate line. Sep 9, 2020 at 9:24

2 Answers 2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .