TransWikia.com

How can I write one number vertically above another?

TeX - LaTeX Asked by Kami on February 20, 2021

I wonder if you can help me in how to place one number on top of another (vertically) just as I show in the following image. I appreciate too much any help.

Example

One Answer

documentclass{article}
usepackage{stackengine,amsmath,cancel}
stackMath
newcommandoverNot[2]{stackon[2pt]{cancel{#1}}{scriptstyle#2}}
newcommandunderNot[2]{stackunder[3pt]{cancel{#1}}{scriptstyle#2}}
begin{document}
[
x=frac{overNot{9}{3}}{underNot{2}{1}}times
  frac{overNot{4}{2}}{underNot{3}{1}}
]
end{document}

enter image description here

Correct answer by Steven B. Segletes on February 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP