{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)

0
votes
0answers
19 views

Local nomenclature alignment

In order to keep symbols and descriptions in a nomenclature with the nomencl package vertically aligned, \nomlabelwidth has to be set to the maximal symbol width. This has effect on the whole ...
2
votes
1answer
46 views

Dividing page into equally sized sections, vertically and horizontally

I am the editor of a student-paper for mathematicians and physicists, which is made entirely through LaTeX. Right now I need to make a page with several different sections, a lot like the ad-pages of ...
5
votes
2answers
48 views

Default value of the space between rows in a tabular environment

Consider the following MWE. \documentclass[12pt]{report} \usepackage[francais]{babel} \usepackage[utf8]{inputenc} \begin{document} \vspace*{\fill} \begin{tabular}{l} \textbf{« Ah ! comme la ...
5
votes
1answer
43 views

Newtheoremstyle head aligned with top of tabularx

Here's an example : \documentclass[12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{tikz} \usetikzlibrary{shadows} ...
12
votes
1answer
120 views

Why is the \underbrace off the line?

I have the following problem with \underbrace: As you can see, the third underbrace and its comment are not in the line with the first two. Here is my code: \documentclass[a4paper,12pt]{article} ...
0
votes
0answers
54 views

Slanted fractions

I'm trying to develop a command to typeset slanted fractions. I know about nicefrac and xfrac packages, have tried both, and disliked both. At the moment, in text mode I use \nicefrac with a bit of ...
4
votes
3answers
162 views

How to write two *unaligned* multi-line braces on both sides

I have a theorem which is about some 4 conditions, 3 of which are equivalent in one case, and some other three are equivalent in some other case, hence I would like to typeset something like this: ...
7
votes
2answers
91 views

How to place an image in a chapter title (perfectly centered)

Before to begin, I know about: \chapter{My Chapter Title\hfill\includegraphics{image}} But it's not what I'm searching. I want the following result: Next are all the methods I tried (and their ...
6
votes
1answer
97 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
49 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
67 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
57 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
78 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
48 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
94 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
120 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
181 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
59 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
33 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
29 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
81 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
46 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
53 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
68 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
38 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
38 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
25 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
45 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
31 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
48 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
79 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
102 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. ...