0

enter image description here

How to get the result circled in red? I tried 3^\cancel{4} but it doesn't work.

Simeon Simeonov
  • 819
  • 5
  • 11
  • 4
    Superscripts should be braced: 3^{4} and 3^{\cancel{4}}. It's true that3^4` works, but you need to know the precise rules of TeX to understand why. In doubt, use braces. – egreg Mar 01 '20 at 20:39
  • Oh, I have used it before but i had forgotten it. – Simeon Simeonov Mar 01 '20 at 20:41

1 Answers1

1

You can not to use cancel package and to adopt the simple negation \not. Here there is a small example with a screenshot:

enter image description here

\documentclass{article}
\usepackage{amsmath}
\usepackage{cancel}
\begin{document}
$3^4$, $3^{\not 4}$, $3^{\cancel{4}}$
\end{document}

Excellent, after, the comment of @egreg.

Sebastiano
  • 54,118