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

5
votes
1answer
46 views

Itemize exactly after description

I have an itemize environment in a description, unfortunately that doesn't look that nice. Here's an MWE: \documentclass{article} \begin{document} \begin{description} \item[Long description] ...
3
votes
1answer
93 views

How to vertically align nodes of different sizes using relative positioning

I am trying to draw a timeline and I want to label an interval of time using a horizontal double arrow such as <--->. Unfortunately, because the nodes $t$ and $t + \ell_t$ have different ...
7
votes
4answers
119 views

Proper alignment of three boxes

I want two text boxes to appear next to a photo which is 5cm wide. The combined height of the boxes may be greater than or less than the height of the photo. If the combined height is less than the ...
0
votes
0answers
25 views

pagestyle{fancy} will cause second page to have different alignment [duplicate]

In the below image I copied the second and third page above one another. As you can see the alignment is incorrect. After the third page (including the third page) everything works fine. I am using ...
0
votes
1answer
32 views

How adjust the vertical space in aligned equations (in the Preamble)?

I always find the standard \\ to be too little in aligned equations. I used to do \\[5mm] or similar in the past, but there must be some automatic way to do this once and for all in the preamble. Is ...
1
vote
1answer
47 views

Decrease vertical whitespace when stacking above and below arrow

I'd like to have symbols below and above an arrow. The best result so far is accomplished using \stackrel{\tau}{\underset{\equiv}{\rightarrowtriangle}}}} However, the vertical distance between the ...
5
votes
1answer
86 views

Tables: vertical alignment of cell

I have a tabu-table and my default row-style is and has to be p. But I want the head-row (Column 1 and Column 2 in the MWE) to be vertically centered. How can I achieve that? MWE: ...
10
votes
4answers
202 views

putting two indices and exponents side to side

I did not find the answer to my following question on the web. I apologize in advance if this question has already been answered somewhere. I would like to write a matrix with the two subscripts and ...
4
votes
1answer
111 views

How to center cells vertically in sideways table?

I'm trying to build a comparison table, I want to center the symbols vertically on the cells and I tried a lot of methods that I found here unsuccessfully. This is the last code: ...
0
votes
0answers
20 views

Vertical centering of text in Beamer Boadilla [duplicate]

In the Boadilla theme of Beamer, text in each frame is vertically centered: Example of vertically centered text \documentclass{beamer} \usetheme{Boadilla} \begin{document} \begin{frame} ...
10
votes
2answers
267 views

How do you align equations parts vertically?

I have read many other solutions but this situation seems unique. \documentclass{exam} \usepackage{multicol} \usepackage{amsmath} \begin{document} \begin{questions} \question Simplify the following: ...
1
vote
1answer
81 views

Vertically align text to the top

I have some issue with latex. My content is vertically aligned to the middle. How can I change it my contents starts like \onecolumn \begin{table} \caption{Topics found by LDA} \label{table:topics} ...
3
votes
1answer
142 views

Reason of existense of the extra space in align environment and removal of it between two align environments

This is a follow-up question regarding the extra vertical space in amsmath's align environment. Why when in use align uses so much vertical space in contrast with other environments like for example ...
2
votes
1answer
121 views

latex typesetting multiline alignment with flalign

I'm trying to align the second line equation below the integral in the first line. How do I go about doing that? I have used \right. commands to be able to move onto the next lines. I didn't have to ...
2
votes
2answers
561 views

Which package defines \smash?

I sometimes see \smash used to control local vertical alignment. Which package defines it?
1
vote
1answer
98 views

Simple vertical text in TikZ

How do we write this title vertically in TikZ - similar to vertical text (not in table)?: T T I H T I I M L S S Y E
2
votes
1answer
92 views

Vertical alignment of image an text within tabular environment placed in header using fancyhdr package

The adjustbox package provides a way to vertically align image and a paragraph of text within the tabular environment; I have included an example which shows this: mwea.tex \documentclass{article} ...
3
votes
1answer
105 views

Streched vertical space between two subfigures

I want to add vertical space between two subfigures so that so that the upper figure is aligned with the top of the page and the last line of this figure caption is aligned with the bottom of the ...
3
votes
0answers
115 views

How to keep footnotes to the bottom of the page with \sloppybottom in memoir?

I am using the the memoir class to typeset a book, where the text has many footnotes. To avoid widows and orphans I use the option \sloppybottom. That has the result of under full pages. memoir ...
2
votes
0answers
31 views

Why is the second column of my tabu not vertically aligned to the middle? [duplicate]

I'm trying to create a SWOT (strengths, weaknesses, opportunities, threats) table, which is a basic 4x2 table. The cells that aren't part of the header will contain itemized text. All cells have to be ...
15
votes
2answers
330 views

How to align `tcolorbox` at the top?

I want to align Some text with Lead Programmer like this: But the leftrulebox (a tcolorbox) inside the description environment doesn't align properly. The following code gives this: The code: ...
2
votes
0answers
42 views

How can I achieve this aligned two-column word-list-like layout? [duplicate]

This is my first tex question. I couldn't find a duplicate since I'm not even sure how to describe this layout in English...It looks like this: [item1] [explanation of item1......may be very long ...
1
vote
1answer
60 views

How to reduce page margins and center text on it?

I need a custom title page, where the margins create a tighter area for the page contents and a title text is centered horizontally and vertically. How do I do that? By tighter margins I mean margins ...
2
votes
2answers
150 views

Centering vertically inside a block with figures

I want to center vertically different height figures inside the block they reside in. I use the 'tikz-qtree' for the trees, and I want the '5' tree and the right arrow aligned vertically. ...
7
votes
3answers
182 views

How to start a paragraph from the middle of the page?

How to start a paragraph from the middle of the page, when something is already written in the first half of the page? e.g. \chapter*{Blabla} \lipsum[1-2] \gotohalf \lipsum[3] <- the first line ...
3
votes
1answer
76 views

Remove spacing after blank section with title formatted with leftmargin

I have some sections that have no direct text (other than subsections). For these blank sections, I am trying to make the subsection text (or heading) start at the same place as those sections that do ...
3
votes
1answer
63 views

Avoiding breaks in vertical bars in a tabular environment

I'm having problems defining the width of a vertical line. I want those 2 lines in the pic to join: \documentclass{article} \begin{document} \begin{tabular}{r|p{11cm}} \ {Feb, 2014 - } & Master ...
0
votes
1answer
49 views

Align formula with amsmath

I know similar questions have already been asked, but still I couldn't get the alignment to work. I know that align is supposed to replace eqnarray, but I just don't manage to achieve the same ...
5
votes
1answer
158 views

Multiline footer with bottom of text aligned to bottom margin

When a single line of text is added to a footer, it is bottom-aligned to the margin as I would expect: However, when I add a second line of text, the alignment is still with the first line of text. ...
2
votes
1answer
51 views

Problem with vertical space in enumerate environment

I have a problem regarding the vertical space between \item and an image. I use the following code and the image doesn't move vertical as it should. Why is that? And how can I fix it? ...
5
votes
1answer
52 views

Changing the whitespace before the List of Schemes header

I'm using chemstyle to create a list of schemes and also tocloft. I noticed that the whitespace above the List of Schemes header is larger than the whitespace above the Table of Contents and List of ...
4
votes
2answers
440 views

How to vertically align text in table cell?

Here is the latex code to create a table in BibTxtMng \begin{table}[!htbp] \centering \caption{Spanish Traffic Sign according to the color and shape \cite{Paper12}} ...
1
vote
1answer
79 views

Table: vertical alignment with variable height [duplicate]

I have the following code \usepackage{tabularx} \begin{document} \begin{table}[t] \begin{center} \renewcommand{\arraystretch}{1.3} \begin{tabularx}{\textwidth}{crX} \hline \textbf{Chapter} & ...
6
votes
1answer
176 views

Vertically Aligning text at top in tabular* - [t] is ignored

I am setting a small tabular environment using tabular* (note the asterisk!), which is supposed to be used as a list item. My problem is that the [t] option I am passing to tabular* is getting ignored ...
1
vote
0answers
85 views

how to vertical-align a figure

how can I vertical-align a figure? I've tried with: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[margin=1in]{geometry} \usepackage{chngcntr} \usepackage{tabularx} ...
4
votes
2answers
109 views

Anchoring Table (Tabularx) from the Bottom of Table

Can you anchor a table at the bottom, inline with text? I have another question posted which I seemed to have solved myself - List Numbering Through Multiple Tables - but I have since found my way ...
6
votes
2answers
120 views

How to align these tqft cobordisms?

I find placement and alignment with the otherwise great tqft package irksome. I'm trying to align several cobordisms in a tikz matrix: \documentclass{article} \usepackage{tikz} \usepackage{tqft} ...
2
votes
1answer
45 views

Temporary removal of `\ChapFrame` used in 'Chapter Title in rotated vertical box at the margin'

I would like to, temporarely, not assign new coloured boxes for some chapters. Is that possible, e.g. using or resetting the \ChapFrame command?
1
vote
1answer
68 views

Horizontal and vertical alignment of an element to the centre of a whole page

I am trying to place a code frame generated with listings package in the middle of a page both horizontal and vertical. How can I do it? Edit I: My code is this: \documentclass[12pt]{article} ...
5
votes
2answers
199 views

Vertical aligment with tikzpicture

I have a problem with vertical alignment in a tabular environment with tikzpicture. My code so far is: \documentclass[12pt,a4paper]{article} \usepackage{tikz} \begin{document} \begin{tabular}{ccccc} ...
3
votes
1answer
78 views

parcolumns, Vertical Misalignment of Columns

The columns produced by parcolumns are not vertically aligned. Why, and how can this be fixed using the parcolumns package as intended? I have found similar questions with answers that I find ...
1
vote
2answers
121 views

Need vertically centered text in latex table

I want the text in each cell vertically centered. \documentclass[12pt,a4paper,onesided]{report} \usepackage{array} \usepackage{booktabs} ...
3
votes
1answer
88 views

Nested itemize with large lines in ConTeXt

When I try to nest lists like this: \starttext \startitemize[n] \item bla \item \startitemize[a] \item bla $\displaystyle\int$ \item bla \stopitemize \stopitemize \stoptext I get this ...
6
votes
1answer
130 views

How to specify row height and align the text vertically in middle of a cell?

How to align the text in middle by specifying the row height could someone help me. The latex code is as follows.. \begin{table}[htbp] \centering \begin{tabular}{|c|l|c|} \hline ...
10
votes
3answers
434 views

Move tabular entry to bottom of row

How do I get the last column text to be at the bottom of the row? That is I want the XXX to be aligned with the line containing the arrow. I tried playing around with \multirow{3}{-3ex}{XXX}, but ...
1
vote
0answers
23 views

floatingfigure doesn't start at first paragraph after page wrap

A floatingfigure I created is not aligned at the first possible paragraph. It is put directly after subsection. The space on the page does not fit for the figure, so it wraps to the next page (which ...
2
votes
2answers
56 views

Vertical Justification of Elements of Enumerate Environment?

How do I automatically vertically justify (evenly vertically space in a page) the \items of an enumerate environment? Is adding \vfill after each \item the only way to do this?
4
votes
3answers
124 views

Alignment of bullets within the itemize environment

I have a question regarding the alignment of bullets within the itemize example, here a short example. Basically I have an \item with an inserted table and I want the bullet to be at the top of the ...
5
votes
2answers
185 views

Images stacked horizontally : unwanted vertical gap

I am trying to stack three images horizontally. The images have the same size, I want to align them without any vertical gap. I followed the instructions that I found on this answer: \blindtext ...
3
votes
3answers
131 views

Minipages' vertical alignment

I use three minipages so to make a table and two images be placed next to each other and although the images are in the right place the table is placed much lower producing an ugly result. Why is ...