I want to achieve the output shown below using multiple line verbatim
My attempt so far is
\documentclass[a5paper]{article}
\usepackage{listings}
\begin{document}
\begin{lstlisting}
123
$\times$ 456
=============
738(this is $123 \times 6$)
\end{lstlisting}
\end{document}
This is definitely not what I need and so I didn't write the code further.Can someone help me with the multiplication symbol and the desired result
Best Answer
Here's one option, but are you sure you want this formatting?