3
votes
0answers
21 views

Tabular alignment of text and figure

I am preparing an exam. And I want to properly build a top page header, with the university logo, and two block of text side-by-side (for course, department, etc.). I have already seen some possible ...
0
votes
1answer
26 views

Centering vertically in table cell with other rotated cells

I would like to center the Available Expression, Very Busy Expression... Live Variables cells. The following code aligns the quoted cells only on the bottom of the cell itself: is there a way to ...
3
votes
1answer
43 views

tabular vertical align based on lowest line in a cell, not on the base line

I want to make an enumeration that looks like this 1. This is some very long sentence that might need several lines. Does the next cell line up with the last line of this ...
2
votes
2answers
35 views

How to align an image to the bottom inside a table cell

I created the following document: Code: \documentclass[11pt]{article} \usepackage[a5paper]{geometry} \usepackage{tabularx} \usepackage{graphicx} \begin{document} \begin{tabularx}{\textwidth}{|X|} ...
3
votes
2answers
53 views

tabular can't vertically align the cell to the top

I have the following code: \documentclass[11pt]{article} \usepackage{array} \begin{document} \begin{tabular}{|p{1cm}|m{1cm} | @{}m{0pt}@{}} \hline 1-1 & 1-2&\\[1cm] ...
4
votes
1answer
25 views

Vertical alignment of the `aligned` environment in table cells

I think most people will agree that the vertical alignment in the table cells below is less than ideal--especially if I want to remove the \cmidrule to be more in line with accepted "best practices" ...
5
votes
1answer
49 views

m column doesn't center text vertically

I want vertically centered text in a simple table like this: \documentclass{article} \usepackage{array} \newcolumntype{Z}{>{\centering\arraybackslash}m{0.2cm}} \begin{document} ...
4
votes
2answers
66 views

(How) Can I vertically align parts of cell contents differently?

I am trying to create the following game matrix and am wondering how exactly can I vertically align the cell contents? Especially since I need them to be offset differently in the same cell.Is this ...
3
votes
2answers
67 views

Vertical alignment in tabular cells with variable height

I have the code: \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{tabularx} \usepackage{lipsum} \begin{document} \begin{tabularx}{\textwidth}{ | X | c | } \hline \lipsum[1] ...
4
votes
1answer
46 views

Vertical alignment in tabularx X column type

I'd like to create a new column type which works exactly like a X column from tabularx but that also has the text vertically centered. I tried with the newcolumntype command but I can't figure out ...
3
votes
3answers
42 views

Vertical alignment in tabular cells with fixed height

I have the code: \documentclass{article} \usepackage[a5paper]{geometry} \begin{document} \begin{tabular}{ | c | } \hline top\\[8ex] \hline center\\[8ex] \hline bottom\\[8ex] \hline ...
3
votes
3answers
53 views

Alignment of \includegraphics in a tabular

When putting a graphics inside a table, the text at the right is too much at the bottom Minimum example : \documentclass{article}[12pt] \usepackage{graphicx} % This is already loaded by the ...
3
votes
3answers
65 views

Bad vertical alignment in latex \tabular

I've got a little question about my tabular vertical aligment. I've a two-column tabular with letter and text : \begin{tabular}{p{0.1\textwidth} p{0.8\textwidth} } Hypothèse & Description\\ ...
5
votes
2answers
139 views

Why doesn't LaTeX vertically center contents of table cells by default?

Or perhaps provides an easier way to do so? Most tables rendered (that I have witnessed) seem to require vertical centering of content in table cells, purely for aesthetics. So what is the reason that ...
3
votes
1answer
57 views

How to increase the vertical space between two “touching” tables?

I skimmed Can't generate vertical space between tables but am looking for sth slightly different: I don't really want to keep the tables together necessarily - I'm happy to let LaTeX (or whoever ...
3
votes
1answer
88 views

Multirows, multicolums and vertical centring in the tabu environment

I have a table, using the tabu environment, in which I would like multirow and multicolumn cells. Inside the cells, any content that doesn't vertically fill the cell should be vertically centred. ...
4
votes
1answer
77 views

tabularx: bottom alignment on r or l-columns when X column wraps

In tabularx, when the X-column wraps on more than one line, l/r/c-columns remains top aligned: MWE: \begin{tabularx}{5cm}{lXr} 1 & qwer asdf zxcv qwer asdf zxcv qwer asdf zxcv & 1 \\ 2 ...
4
votes
0answers
47 views

Aligning a table (vertically) with a subfigure [closed]

I want to show three pictures and a tabel with explanatory text: --------- --------- | | | | | Pic 1 | | Pic 2 | | | | | --------- --------- ...
0
votes
1answer
67 views

Centering table in landscape page [duplicate]

I'm trying to get a table centered both vertically and horizontally in a landscape page. I've tried some of the solutions proposed around here but I can't get them to work in my specific case. Here ...
3
votes
1answer
48 views

Vertical misalignment due to beamer onslide? [duplicate]

The following MWE displays the problem: \documentclass{beamer} \begin{document} \begin{frame}\onslide<+-> \begin{tabular}{p{4cm}r} Text\\Text & Text \\\hline Text\\Text & Text ...
1
vote
1answer
53 views

Last cell in complex table not behaving

I am having a hard time figuring out why the text in the last cell on each row of this complex table I am creating is not positioning correctly. As you can see from my code, the issue only occurs when ...
1
vote
1answer
113 views

Horizontal line through table cell

I have a very long, thin table that I'm folding onto itself to make a wider, shorter version. The table has a couple horizontal rules to separate data categories. For example, the original table is ...
3
votes
1answer
141 views

Top-aligned table cells with different font sizes and controlled spacing

I am trying to achieve a table where a few things have to work simultaneously. Several of these things have been discussed before, but I have been unable to make everything work at once (and some ...
3
votes
3answers
98 views

Top alignment of cell content in tabularx

I would like to align the content of each cell (of the first column) to the top. The approaches presented here did not apply. Maybe it has something to do with die tabular-environment inside the ...
1
vote
1answer
70 views

Extra space added in table with multi-rows and columns

I am working with a table with multi-rows and headers. The problem is when I run it, extra space is added both between rows and at the end of the last column. \documentclass{article} ...
6
votes
2answers
128 views

How to vertically align multiline column

I am trying to set up a table with the tabularx package (although the used package does not really matter to me). The table should stretch across the entire line. I am trying to get both columns ...
3
votes
1answer
67 views

Line break in a table cell for a math equation?

In the middle of typing up an assessment and trying to work out how to get equations to work inside a table environment \documentclass [11pt] {article} \usepackage{amsmath} \usepackage{pdflscape} ...
2
votes
1answer
92 views

Top aligned tabular: \cline equivalent of \firsthline

When aligning tabular environments with the [t] option, one can use \firsthline (from the array package) instead of \hline when a line is required at the top of the table. Like so: ...
2
votes
2answers
93 views

How to align rotated table texts?

I turned the captions of my table by 90 degrees. Unfortunately, the headings do not fit to the table contents. Screenshot: Can this be changed? I already tried parbox but that did not work. Here ...
3
votes
1answer
66 views

Vertical alignment of nested table

I have two tables nested inside of a larger table. One of the nested tables is taller than the other, and I'd like to have the two tables line up together at the bottom. I've tried inserting [b] in ...
6
votes
1answer
128 views

\hfill in in table cells

There are tables in my document. The baselines between the last row of each table and the following text is usually circa 16,25p (see below). Now I wanted to add right-aligned text to some selected ...
3
votes
1answer
45 views

Enumeration marker appears centered to the left of the table

\item \begin{tabular}{ |l| l| l| } ... \end{tabular} \quad \begin{tabular}{ |l| l| l| } ... \end{tabular} The following causes the enumeration marker (ie, "(b)"), to appear in the ...
3
votes
2answers
75 views

vertical alignment in a row

I have a one-row table with a number of columns. Each cell in this row is another table, which can be either 2x1 or 3x1. I want to make sure that all these sub-tables are aligned to the top of the ...
2
votes
1answer
103 views

How to vertically center text in a table cell with multiple lines?

I want to vertically center "Apple iPad". Does someone here knows how to do that? My code looks like this: \begin{table}[H] \noindent \centering{} \begin{tabular}{cc} \hline ...
2
votes
1answer
220 views

Vertically center a table on a landscape page

I have a landscape page with one table on it. My current code horizontally centers the table, but how can I also vertically center it? \documentclass[10pt,a4paper]{report} ...
3
votes
0answers
97 views

Text in table with images is not aligned on top

I have table with text in the first column and image in second. I want both columns to be top aligned. I use following code: \begin{tabular}{p{3cm}l} Internal state after adding 2 elements & ...
3
votes
1answer
86 views

Use \fill (or similar) to extend a table to the end of the page

I am currently trying to make an invoice from a template which requires a table to extend to the end of the page regardless of the content. I tried using \fill as below (in \tabularnewline[\fill]), ...
4
votes
1answer
173 views

Vertical alignment of cells in LyX

How can you set the vertical alignment of table cells in LyX? The right-click menu shows three choices ("Top", "Middle", "Bottom") but none of them is enabled, they are all greyed out.
1
vote
1answer
63 views

Vertical alignment with array package when the line width is fixed

I created a post earlier on the same topic (Vertical alignment in tables). I got an answer but it triggered another question. Below the solution that has been provided. I would expect vertical ...
1
vote
1answer
108 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 ...
0
votes
1answer
121 views

Adding color to table columns with alignment

I am trying to add color to certain columns in a table for highlighting purposes. In said columns, I have positioned the data presented to be aligned by the decimal point. However, when adding color ...
3
votes
1answer
125 views

Tables: Automatic adjustment of columnwidth to its content gives error “Misplaced \noalign” at \toprule

I am trying to put two tables next to each other, vertically aligned top, with some below listed adjustments I unfortunately can't get together. First, I'd like to know if/how I can avoid the error ...
2
votes
1answer
161 views

Vertical alignment of text spanning multiple rows [duplicate]

Possible Duplicate: How to vertically-center the text of the cells? I am using multicolumn to create a table. The code that I have is here: \documentclass[10pt]{article} ...
4
votes
1answer
159 views

vertical aligning images in table with \adjustbox only works when not every image is in an \adjustbox

I'm trying to center all images vertically and horizontally within a table cell. Therefore I'm using the adjustbox packet. This is the code I use for my table: \begin{table}[b] \begin{center} ...
3
votes
1answer
170 views

How to draw the following table (simplex tableau)

I would like to draw table, I tried, \begin{equation} \begin{array}{c} z \\ s_1 \\ s_2 \\ s_3 \end{array} \begin{bmatrix} \begin{array}{c|ccccc|c} z & x_1 & x_2 & s_1 & s_2 ...
6
votes
1answer
163 views

Align siunitx columns in numbers table

Here is a table but it has a problem: the column of 1, 20, 50, and 100 aren't perfectly aligned to others. How can I do that? MWE \documentclass{article} \usepackage{siunitx,booktabs,multirow} ...
3
votes
2answers
219 views

latex table layout problem

Hi Im having some trouble aligning the text in the second column of a two column table. The first column the text aligns the way i want but the seconds columns text is not positioning properly. ...
4
votes
2answers
90 views

Why does the vertical alignment not match the expected behaviour at p columns in tabular env?

I have the following code: \documentclass{scrartcl} \begin{document} \begin{tabular}{lp{5cm}} a & \begin{itemize} \item sd \end{itemize}\\ \end{tabular} \end{document} I want to get a table ...
3
votes
2answers
105 views

Vertical align in a table

I have the following code: \begin{table}[H] \begin{center} \caption{Quarks and leptons of the Standard Model.} \label{TablaQuarks} \begin{tabu}{|m{2cm}|m{2cm}|m{4cm}|[2pt]} \hline ...
3
votes
3answers
141 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 ...

1 2 3 4