General ⇒ Controlling the vertical align of contents in table cell?
Controlling the vertical align of contents in table cell?
is there any way to vertically align the contents of a table cell? I have a table with 2 columns. The content in the second column is big enough to cause line wrapping. Now, the content of the first column is just a single word and it gets centered vertically. What I would like is the content of the first column to align on top of the cell and not the center.
The code I use for the table is:
\begin{tabular}{ m{.25\textwidth}@{\extracolsep{5mm}} m{.60\textwidth} }
Thanks,
Ben
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Controlling the vertical align of contents in table cell?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Controlling the vertical align of contents in table cell?
B.A.
Re: Controlling the vertical align of contents in table cell?
Thanks,
Ben