Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
How to present a vertical multiplication/addition

Like, for example:

  9
+ 8
---
 17

Is this possible? Is there a specific LaTeX thingy (like \frac), or is custom markup needed?

share|improve this question
    
Will this previous question help you? tex.stackexchange.com/questions/11702/… –  hpesoj626 Dec 29 '12 at 0:01
1  
Possible duplicate: Primary school operations with LaTeX –  Werner Dec 29 '12 at 0:04
add comment

marked as duplicate by hpesoj626, Harish Kumar, Werner, Paul Gaborit, Kurt Dec 29 '12 at 1:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

Even though you might have found your answer in the comments, here how you could use the xlop package.

\documentclass{article}
\usepackage{xlop}

\begin{document}
\opadd{9}{8}
\end{document}

Which will result in:

Output

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.