In LaTeX, when I write something like this:

  asdf &
  $ \begin{alignedat}{10}
      a +  b & = c    \\
      c      & = b+ a
    \end{alignedat} $ \\

I get the following result:

Result of LaTeX code

How can I align "asdf" to the top instead of the vertical centre of the cell? Ideal would be if this could somehow be done by manipulating it in the tabular options, the way I can adjust it with the l-thing, perhaps by creating a new type with the \newcolumntype command.

  • 1
    \begin{alignedat}[t] Commented Oct 19, 2022 at 15:46
  • @DavidCarlisle thank you very much for this quick and helpful anwer! Not the first time you are helping me out I believe! If you write it as an answer I can mark it a solution.
    – Hebol
    Commented Oct 19, 2022 at 15:54

1 Answer 1


You can use \begin{alignedat}[t] so the reference point of the alignment is on its top row, so that aligns with the reference point of the first column (which is on its baseline)

  • Thanks a lot, also for the explanation. Worked perfectly!
    – Hebol
    Commented Oct 19, 2022 at 15:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .