Displaying sums in column format with LaTeX

Due to my disability, I cannot write without the use of a computer. When working with numbers it is often helpful to write arithmetic problems in column format, e.g.

I have never been able to do this without assistance from an able-bodied person.

I recently began looking for a solution to this issue and found LaTeX. Is it possible to write a sum in column format in LaTeX, or is there some other more appropriate tool for this?

Note that I'm not interested in solving the sums with software, I just need to display them in a way which makes them easier for me to work with.

-
– Johan Aug 27 '10 at 6:26
Wow. Didn't even know that existed. – Crippledsmurf Aug 28 '10 at 7:16

I use LaTeX regularly to write papers. It is a very powerful piece of software, but I'm not sure how useful it would be for your needs. Here is the minimum amount of code to write your example:

 \documentclass[]{article}

\begin{document}

\begin{tabular}{r}
5 \\
+ 12 \\
\hline
17
\end{tabular}

\end{document}


And the (cropped from A4/Letter) output:

There are some WYSIWYG editors for LaTeX such as LyX which might make it easier.

-
Thanks for your answer. That looks like exactly what I was after :) – Crippledsmurf Aug 27 '10 at 4:27