0

I have a table with line-breaked cells (using \makecell) and want to align the content vertically. The ``makecell'' command has an optional parameter for that -- however, only horizontal, not vertical alignment works. I was following a question asked here (which, however, does not use the tabular environment)

\documentclass{article}
\usepackage{makecell}

\begin{document}

\begin{tabular}{ | m{8em} | m{10cm} } \makecell[tr]{This should be \right aligned} &\makecell[tl]{This should be top left aligned} \end{tabular}

\end{document}

Output:enter image description here

As one can see, the `t' parameter does not work for the right cell.

black
  • 372
  • 5
    This is weird because I copied and pasted your code, and the right text is aligned correctly for me (top, left). If this is a MWE then maybe there is something else causing the error? I'm not sure. – Devano Bethel Aug 06 '22 at 00:47
  • Strange -- thanks for pointing this out. The issue seems to be with TexpadTex. – black Aug 06 '22 at 08:49

0 Answers0