2

Some sentence.... \shortstack[]{a\\b\\c} it produces like

                  a
                  b
Some sentence.... c

But I would like to produce something like this

                      a
Some Sentence...      b
                      c

I want to align the "Some sentence....." with be instead of c.

Stefan Kottwitz
  • 231,401
Aku
  • 11,026
  • Could it be that you would like to get the sentence and the stack vertically centered to each other? Aligning to b would mean that the stack, as it is, won't be centered. – Stefan Kottwitz Dec 12 '10 at 18:47

1 Answers1

1

A matrix perhaps:

Some sentence.... $\matrix{ a \cr b \cr c }$
\bye
morbusg
  • 25,490
  • 4
  • 81
  • 162
  • Package amsmath Error: Old form `\matrix' should be \begin{matrix}. See the amsmath package documentation for explanation. Type H for immediate help.
    l.745 Some sentence.... $\matrix{ a \cr b \cr c }$ When I put in a matrix this is the error I get ---- Missing $ inserted.
    $ l.745 Some sentence.... \begin{matrix} $\matrix{ a \cr b \cr c }$\end{matrix} ?
    – Aku Dec 12 '10 at 19:34
  • @Aku: use \begin{matrix}...\end{matrix} within $...$, not outside math mode, then morbusg's suggestion works. (Without amsmath it works in original syntax.) – Stefan Kottwitz Dec 12 '10 at 20:53
  • $\begin{matrix}\matrix{ a \cr b \cr c } \end{matrix}$

    This is the error I got

    Missing } inserted. } l.768 $\begin{matrix}\matrix{ a \cr b \cr c }

    – Aku Dec 12 '10 at 22:29
  • @Aku: You want Some sentence.... $\begin{matrix} a \\ b \\ c \end{matrix}$. (It works like all the other environments, pairing a \begin{envname} with and \end{envname}.) – Antal Spector-Zabusky Dec 12 '10 at 22:55