Sign up ×
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.

I wish to number equations in a table, like numbering them in


Since all the equations are written as "inline" equations (for example, $a = b+c$) in tabular environment, I have no idea how to number them. Can you help me to find out a way?

share|improve this question
are you sure you want a table rather than a numbered equation environment such as amsmath align? If you do want a table the simplest is to use \begin{equation} in a p column, or if you do want to number inline expressions just go \refstepcounter{equation}(\theequation) whereever you want the number. – David Carlisle Jul 11 '12 at 16:02
Welcome to TeX.SE. For future reference, please keep in mind that while code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. – Peter Grill Jul 11 '12 at 17:06

2 Answers 2

I answered a similar question at the German community MrUnix:

Here the code:

\usepackage{amsmath, amssymb, tabularx}


Anode: & $\frac{1}{2}O_{2}+2e^{-}$ & $\longrightarrow$ & $O^{2-}$ & \tagarray\label{2}\\
Kathode: & $H_{2}+O^{2-}$ & $\longrightarrow$ & $H_{2}O+2e^{-}$ &\tagarray\label{3}\\
Gesamtreaktion: & $H_{2}+\frac{1}{2}O_{2}$ & $\longrightarrow$ & $H_{2}O$ &\tagarray\label{4}


enter image description here

share|improve this answer

How do we do it without cheating? I mean without \ref{1}\qquad\ref{2}\qquad\ref{3}\qquad\ref{4}\qquad\ref{5}

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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