How to get the result circled in red? I tried 3^\cancel{4} but it doesn't work.
Asked
Active
Viewed 287 times
0
Simeon Simeonov
- 819
- 5
- 11
1 Answers
1
You can not to use cancel package and to adopt the simple negation \not. Here there is a small example with a screenshot:
\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


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