{vertical-alignment} is about aligning document elements vertically, e.g. using \raggedbottom or \flushbottom or adjusting the vertical position of several equation or table components. If your question is generally about (vertical) white space, use {spacing} instead.

learn more… | top users | synonyms (2)

6
votes
1answer
86 views

Aligning both tikz pictures and their captions

I am using two tikz pictures in subfigures. The baseline parameter allows aliging the subfigures via the nodes, however the caption (b) is much above the caption (a) in such case. If I don't you ...
3
votes
2answers
45 views

Unexpected behavior of arraystretch and figures in table cell

Using the graphicx and the includegraphics command, I want to place a figure in a table cell. In addition, I use the arraystretch command the increase the padding of cells. Unfortunately, I get a ...
0
votes
0answers
13 views

Image next to paragraph, start next paragraph below both

In LaTeX, I have a number of short paragraphs, each with a headline and an image on the right side. % First section \spacedlowsmallcaps{Some headline} \begin{floatingfigure}[r]{4.5cm} ...
0
votes
2answers
15 views

How can I position the tag of a “nested” aligned environment?

I have an equation that is two wide to fit on a single line, but it has \left(-\right) split over two lines, and I can't align to something inside these for some reason... The wanted output is ...
0
votes
0answers
42 views

Aligning figures in a table

I'm trying to align four figures vertically and horizontally. But I couldn't get it right in spite of repeated tweaks. I guess its a fairly small error. Can someone help me out? Here is a MWE -- there ...
2
votes
1answer
65 views

How to line up a tikz image with the bottom of a cell in a tabular

The code for the two images below is identical except for the colors and the 4pt in the bounding box in the bottom image. In the bottom image the diagonal line touches the corner of the blue area; in ...
3
votes
3answers
55 views

Vertical align \underset

I have this equation: \lim_{d \rightarrow \infty} \left [ \underset{a\leq x\leq b}{\mathrm{max}_p} \left | f(x) - m(x) \right | \right ] = 0 which produces this: As you can see the max part is ...
0
votes
1answer
77 views

How can I align 2 plots vertically?

I have two plots with tikzpicture above each other. (they have quite difficult text files as source, so I can not show them here). The plots have the same width, the problem is that the legend is ...
2
votes
2answers
47 views

Align the word input of algorithm2e with a tabularx table

I'm referring to this post. I like the idea from 'a different ben' of the tabularx table inside the \Input command. But I would like to have the word Input: at the top, on the same line as the first ...
0
votes
0answers
21 views

Options to allow for more vertical stretching possibilities

I'm writing my PhD thesis and am using the document class scrbook (with the twosides option), which uses the \flushbottom command as default. This means that my text (which contains a lot of formulas) ...
4
votes
3answers
93 views

Vertical text in multirow

I'd like to realize the following: But I can not bond the vertical text and the line together. I use a tabular environment and this is what I get: My code is this: %!TEX program = xelatex ...
9
votes
3answers
119 views

Aligning different matrices

I want to write the companion matrix of a recurrence relation and its use (the notation will be a bit unusual since it is "for cryptography", where we always do stuff in a different way). ...
8
votes
2answers
178 views

Correct placement of sum limits

this is maybe some captious question like the correct placement of := but I always notice the unattractive placement of the limits between two sums. Lower limit example (The same holds for the upper ...
1
vote
0answers
20 views

Float goes to bottom of page even with forced 'H' placement [duplicate]

I have a certain document with a few tables one after another. Each table is in its own subsubsection. The peculiar thing about these tables is that two tables can fit on a page with a subsubsection ...
1
vote
0answers
22 views

Nice size of image of graph by staying the table at the same page

If I make the height of the image more than 3cm, the table will automatically go to newpage which I don't want to. How can I make the table stay while having a nice image at the top-right of the ...
1
vote
1answer
57 views

vertical alignment of multirow tables in lyx

After having searched a lot, I still didn't find an option to align multirow cells vertically correctly in Lyx' native tables. There seem to be some solutions but I haven't found any for use with Lyx ...
1
vote
2answers
32 views

Beamer: problems with \only, \pause, and fixed spacing

I have a slide with three blocks, say 1, 2, 3a, and 3b, where 3a and 3b have exactly the same height (they are the same equation with some change of variable). I want to use \pause and \only to obtain ...
1
vote
0answers
28 views

Table with vertical and horizontal text

I need to mimic this awful Word table in LaTeX: This is as far as I got: My main problem is that when header text is rotated it doesn't align vertically to the bottom anymore. Any tips? This is ...
4
votes
4answers
75 views

\vtop vertical top alignment of \vsplit \vbox

Well, I wanted to have a minipage spanning across pages, so first I thought to split a minipage so it can , but I learned you cannot; so I got to breakable vboxes, and in trying that, learned that ...
4
votes
2answers
44 views

Aligning two minipages - one with lstlisting, one without - on top?

I'm already aware that two minipages with [t] align at the baseline of the top line, not at the top of their respective boxes/containers; however, this is somewhat different: when I use a small ...
5
votes
1answer
41 views

Align top of images using subcaption

I'm trying to align the tops of two images using the subfigure environment from the subcaption package. Unless I'm misinterpreting the other questions, I believe I have read multiple questions asking ...
0
votes
2answers
51 views

How to vertically center a minipage within a tabular environment

My goal is to have the minipage of the second column vertically centered but I could not manage do do it. I tried the array package with the 'm' option : \tabular{c|m} but it did not worked, I also ...
4
votes
1answer
59 views

How to place in the middle v-aligment of cell? in a tabular/table with graphs?

How can I place a word in the middle by v-aligment? \documentclass[12pt,a4paper,x11names,landscape]{article} \usepackage{lipsum,mwe} \usepackage{caption} \usepackage{incgraph,graphicx,subcaption} ...
5
votes
0answers
66 views

Multirow cells with centered multiline text

I use tabu package to easily typeset tables. Now i need to typeset long table. So i used longtabu. The head of the table consists of much columns. Also there are lots of text in each cell and some ...
3
votes
3answers
137 views

Why does `gather` behave this way, and what can we do about it?

Here's a simplified version of the code I'm having trouble with. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{center}\underline{First set of identities.}\end{center} \[x+x = ...
4
votes
1answer
29 views

Vertically align minipages caption (no subfigures used)

After aligning a table and a plot horizontally I want them to be vertically aligned at the top of their captions(see last image). I have found solutions using subfigures or the floatrow package but ...
4
votes
1answer
36 views

lstlisting environment as item in description

I would like to show some listings inside a description environment like this: \usepackage{listings} % fancy code listings \usepackage{caption} % fancy chapters for fancy code listings ...
3
votes
1answer
37 views

Align cell contents at top

Consider the following example: \documentclass{article} \usepackage{diagbox} \newcommand*\mc[1]{\multicolumn{1}{c}{#1}} \begin{document} \begin{table} \centering \begin{tabular}{l | *{8}{c}} ...
3
votes
1answer
140 views

Setting the right distance to “=”

Consider this expression: How can I code this in LaTeX such that everything is aligned at the "=" sign such that the distance to the left and the right of the "=" sign at each line is the same as ...
3
votes
1answer
37 views

Text and picture top-aligned, where text is left-aligned and picture is right aligned

Using the answers from this sight, I tried to accomplish top-aligned text and image where text would have to start from the left side of the page, and picture would be at the right side. However, ...
0
votes
0answers
24 views

Bottom margin seems optional to LaTeX - text alignment doesn't always go to bottom

I apologize, if I'm missing something simple here, but I'm attempting to meet graduate school dissertation formatting requirements after (almost) finishing a PhD and I'm running into bottom text ...
0
votes
1answer
53 views

Tabular - Problem in aligning text

I've created a table and I want the text to be centered and aligned vertically in the middle so I used this code \documentclass[a4paper]{article} \usepackage[french]{babel} ...
9
votes
1answer
201 views

Why does color cause a vertical shift?

this TeX-source \documentclass[a4paper,12pt]{book} \usepackage[usenames,dvipsnames,svgnames,table,x11names]{xcolor} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead[LO,RE]{} ...
3
votes
2answers
51 views

How to vertically center an image in table, using p{} and without using m for tex4ht?

Ok, I gave up on this. This is the problem. I'd like to center an image in table columns. There are solutions for this, for example here but this does not work when I use p for column ...
4
votes
1answer
44 views

Vertical alignment of marginnote and section heading

Following on from a previous question I asked, I am now having difficulty in vertically aligning my margin note with a section heading. To be clear, the problem is only when I invoke the solution ...
4
votes
2answers
40 views

Aligning proofs from the proof package

I am trying to align several proofs produced with the infer command from the proof package. I want to be able to produce the following: But I cannot align is this way. Here is a minimal example: ...
5
votes
2answers
60 views

A problem with vertical positioning of `multicols`

In my previous question, I asked about a problem with vertical alignment at the bottom of the page; the solution (provided by egreg) was simple and obvious. However, here is a less-minimal example ...
4
votes
1answer
29 views

A problem with alignment to the bottom of the page with different font sizes

I want all my pages' bottoms to fall in the exact same place. Assume also that I want two different font sizes on one page (first a larger one, then a smaller one), so using the heightrounded option ...
7
votes
2answers
66 views

Beamer: \abovedisplayskip inactive in sublist?

A weird mechanism is observed below: \documentclass{beamer} \begin{document} \abovedisplayskip=0ex \belowdisplayskip=0ex \frame{\frametitle{Title} \begin{itemize} \item text text text text text text ...
2
votes
1answer
46 views

minipage misalignment when using multicol in a tikzposter

Is there anyway to align the multicolumn text with the fiure in the follwoing MWE? \documentclass[25pt, a0paper, portrait, margin=0mm, innermargin=15mm, blockverticalspace=15mm, colspace=15mm, ...
1
vote
2answers
77 views

Different vertical alignment with multirow

I have longtable with multirow: \documentclass[a4paper,12pt]{report} \usepackage{multirow} \usepackage{longtable} \usepackage{makecell,array} \begin{document} { ...
2
votes
2answers
98 views

Multicol: why do columns not align properly?

The following code does not align the contents of the two columns do not align properly; in particular, the content of the left column is a bit lower on the page than the content of the right column. ...
2
votes
1answer
38 views

Alignment of images in \minipage environment

I have a problem with \minipage alignment: I want to place two images side by side with a top alignment, so I used this code: \begin{figure}[!h] \begin{minipage}[t]{0.5\linewidth} ...
2
votes
2answers
65 views

vertically center text in a table

I've got the following table: \documentclass[11pt]{article} \usepackage{rotating} \usepackage[ lmargin=1.0in, rmargin=1.0in, tmargin=2.0cm, bmargin=2.0cm ]{geometry} ...
1
vote
0answers
29 views

Problems with two sided print in Latex [duplicate]

I am trying to enable even and odd margins in latex. When I use \documentclass[12pt, twoside]{report}, the structure of report becomes very bad. I am attaching a screenshot of a page. There is ...
0
votes
0answers
33 views

How can I change the vertical alignment of a rotated deluxe table?

I am working in AASTeX using the deluxetable package. I have a deluxe table spanning several pages which I have rotated (using \rotate) to the landscape orientation, but the right edge of the table is ...
2
votes
0answers
47 views

\vfill throws my boxed text at the end and cannot be read

I'm trying to place a boxed text at the end of the page, but \vfill sends my box out of the page. There is another command that can do the same but in the way I need it? This is my code: ...
2
votes
1answer
59 views

Alignment of toc in beamer class

I have some problems with vertical alignment of toc in beamer class related to this question. The answer works for me, but i would like to center the toc and decrease the horizontal space between ...
3
votes
2answers
158 views

.jpg image inserted in a column is shrinked or squeezed

When I am trying to insert a .jpg image in one column of a table in latex. it is getting shrunk and not able to stretch or fit into the whole column. it is getting shrunk or squeezed & when I am ...
7
votes
4answers
297 views

Vertically aligned table in plainTeX / LaTeX / Context etc

My last answer about vertically aligned table inspired me to write my first question at this site. How to create the following table in various TeX approaches: plainTeX, LaTeX, Context, eplain, OPmac ...