Linked Questions

131
votes
6answers
265k views

How to vertically-center the text of the cells?

I have a simple table as follows: \begin{table*} \centering \begin{tabular}{|l|c|c|c|c|p{2in}|} ... ... \end{tabular} \caption{The factors the camera solver depends on to ...
5
votes
4answers
750 views

Vertical alignment of equations including fractions in a table

I need to cramp a table into a tight space, but unfortunately the equations aren't aligning/fitting into it vertically. Here is the code: \documentclass[12pt]{article} \usepackage[a4paper, top = 0....
5
votes
4answers
3k views

Vertically align cell table in figure

I have the following figure: \begin{figure}[ht!] \centering \begin{tabular}{|c|c|} \includegraphics{combo} & \includegraphics{combomenu} \end{tabular} \caption{A combo box ...
7
votes
2answers
1k views

Tabular paragraph vertical alignment

How to make this kind of tabbed paragraph: 3 columns 2cm 10cm 2cm, the last column is right aligned and it's content starts on the last line of the paragraph of the second column. 10. Some text ...
1
vote
2answers
609 views

vertical centering in tabular using array and booktabs

In the following school timetable for my 4 kids I am trying to use array and the m{} command (vertical align middle) to get the word Peter to be vertically aligned in its cell, (at the cmidrule), ...
10
votes
1answer
23k views

How to vertically and horizontally centre text and images in (different) table cells?

I have a table which contains images in one column. I would like the first column to have text centred vertically and horizontally. I would like the second column to have text left justified and ...
4
votes
1answer
1k views

Positioning of text in cells/tables

I want LaTeX to place the text of some of the cells in my table (using tabularx) at the bottom of the cell. Right now all the text I write in the cells will be positioned at the top of each cell. Can ...
3
votes
1answer
2k views

Vertical alignment with nested tables

It's almost embarrassing to ask: How can I vertically align the contents of one column to the top beside a second column holding nested tables. Please have a look at the minimal working example: \...
2
votes
1answer
575 views

Centering in a table

\documentclass{article} \begin{document} \begin{center} \begin{tabular}{ | p{5cm} | p{5cm} | p{7cm} |}\hline \centering{A} & \centering{B} & \centering{C} \\ \hline \end{...
2
votes
1answer
1k views

Vertical alignment in tables

I would like to create a table where I control the height of the cells and wish to vertically center all the cells. At first sight, the issue here might look quite similar to Problem with Table ...
1
vote
1answer
123 views

Tabular Columns with Different Vertical Alignment

I'm trying to arrange a poem with one word followed by a block of text followed by one word aligned with the bottom. I keep getting stuck \documentclass[11pt]{article} \usepackage{tabularx} \...
1
vote
1answer
2k views

Vertical text alignment in tabular is wrong

According to http://en.wikibooks.org/wiki/LaTeX/Tables ('The tabular environment' paragraph), I would have expected to be able to use 'p', 'b', 'm' to define vertical text alignment for a column. This ...