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.

Is it possible to use \begin{align} in an inline math mode with \displaystyle?

share|improve this question
1  
Well, have you tried it? I suspect it will not work, though. \begin{aligned} has a better chance of working. –  Harald Hanche-Olsen Jan 8 '11 at 17:51
1  
Why would you want to do this? –  Seamus Jan 8 '11 at 17:54
    
@Harald, \begin{align} does NOT work, but \begin{aligned} works. –  xport Jan 8 '11 at 17:54
    
@Seamus, I want to put it in a tabular cell. I notice that inline equations get vertically centered by default in m{} type column. –  xport Jan 8 '11 at 17:58
2  
the align environment cannot be used in math mode –  Herbert Jan 8 '11 at 19:19

1 Answer 1

up vote 10 down vote accepted

aligned is intended for this. But also align works if you use \parbox:

Text $\displaystyle\parbox{2cm}{\begin{align}
x &= 1 \\
y &= 0
\end{align}}$ \quad more text 

alt text

share|improve this answer
    
thanks for answering. –  xport Jan 9 '11 at 18:18

Your Answer

 
discard

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.