# What is a good latex method for arithmetic?

#### TheJason

Staff member
Moderator
What kind produces a good visual for stuff like decimals etc.?

#### MarkFL

##### La Villa Strangiato
Staff member
Moderator
Math Helper
Do you mean for example long multiplication and division?

anemone

#### TheJason

Staff member
Moderator
Yeah, that and also a way to make the display of addition etc. more neat. - without doing weird things like adding latex spaces etc..

#### MarkFL

##### La Villa Strangiato
Staff member
Moderator
Math Helper
I don't see how to get around using spacing, but I would do something like:

$$\displaystyle \begin{array}{cc} & 12 \\ + & 13 \\ \hline & 25 \end{array}$$

$$\displaystyle \begin{array}{cc} & 12 \\ \times & 13 \\ \hline & 36 \\ & 12\quad \\ \hline &156\,\,\,\, \end{array}$$

#### harpazo

##### Pure Mathematics
Banned
I don't see how to get around using spacing, but I would do something like:

$$\displaystyle \begin{array}{cc} & 12 \\ + & 13 \\ \hline & 25 \end{array}$$

$$\displaystyle \begin{array}{cc} & 12 \\ \times & 13 \\ \hline & 36 \\ & 12\quad \\ \hline &156\,\,\,\, \end{array}$$
Box P and Q

Staff member