Text Formatting ⇒ Text Formatting in a table
Text Formatting in a table
I have a two column table and the text in just near the top line of the block.
Can you assist in getting the text in the middle of the block instead of the top. That is aligning the text in the block to be in the center and not the top part
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
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Text Formatting in a table
tabular within a tabular cell (and make a macro for it not to have to type so much, or \vcenter, or \adjustbox, or \parbox within the cell for alignment, putting \parbox into a column type specifier for example.Stefan
Text Formatting in a table
array's m column. Just don't mix m with p columns within the same tabular environment, that may have the opposite effect: if, say, you specify m for the shorter text (that ended up at the top) but p for the longer text, the shorter text gets vertically centered to the longer text's top line, so instead of vertically centering both column's cells you'd drop the longer cell by about half the height of the shorter cell (if that goes over more than a single line, too).Pitfalls all around
KR
Rainer