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

3
votes
2answers
680 views

Center frame title vertically in beamer

Is it possible with beamer to center the frame title vertically (as well as horizontally), together with the frame content? That is, have the frame title and content appear together in the center of ...
5
votes
1answer
98 views

aligning several trees to the baseline

I want to have the following trees aligned to the baseline. There is a problem which is probably due to the "g" in some of the trees. How do I get these trees aligned? I tried \strut, but this somehow ...
3
votes
2answers
108 views

Why is \txt element of \xymatrix moved downwards?

I wonder why is the textual "A" in \xymatrix{A \ar[r] & \txt{A}} moved downwards. All I want is to have textual elements in xymatrix with possibility of line breaks inside the element. I thought ...
5
votes
2answers
113 views

Aligning two pictures without subcaptions to the top with the subcaption package

My problem is similar to this one: Align by the top borders of figures when using subcaption I want to align two pictures to the top. The solution given works fine for pictures with subcaptions. ...
6
votes
4answers
170 views

Enumerate environment without vertical space in tabular

I am trying to typeset a hierarchical proof structure as defined by Leslie Lamport in How to Write a Proof. In particular, I am trying to typeset the portion Assume: 1. $r \in \mathbf{Q}$ ...
1
vote
2answers
129 views

rotated text and figure side with vertical alignment

I am using subfig package to place three figures and a one rotated text side by side. Attached below is the mwe \documentclass[draft]{article} \usepackage{subfig} \usepackage[demo]{graphicx} ...
3
votes
1answer
88 views

vertically center to text height

Minimal working example: \documentclass{scrartcl} \usepackage{fontspec} \setmainfont{Linux Libertine O} \usepackage{graphicx} \usepackage{tikz} % correct spelling and hyphenation ...
1
vote
1answer
68 views

Locking boxes vertical position

The fboxes and section titles generated with this code: \documentclass{article} \usepackage[left=6cm,right=6cm,top=3cm,bottom=3cm]{geometry} \usepackage{blindtext} \begin{document} \vspace*{1cm} ...
3
votes
1answer
74 views

vertical alignment of text with slides class

I would like the content of each slide to be aligned at the top of each slide. How can one achieve that? By default the text is centered vertically, and that looks sloppy. There are many answers ...
3
votes
1answer
53 views

Vertical tablecell alignment fail for the last one [duplicate]

Using array m{} to vertically align cells in a tabular, and changing row height with \\[] the last cell is not properly aligned: \documentclass{article} \usepackage{array} \begin{document} ...
4
votes
3answers
169 views

parbox + itemize = empty space

Consider the following MWE \documentclass[12pt,a4paper]{article} \begin{document} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text: ...
3
votes
1answer
64 views

Command to increase spacing in table

WHen I needed to increase vertical space in a matrix I found this great custom command: \makeatletter \renewcommand*\env@matrix[1][\arraystretch]{% \edef\arraystretch{#1}% \hskip -\arraycolsep ...
3
votes
1answer
95 views

Vertical alignment in a tabular environment with asymptote image

In a tabular environment, I would like to align text vertically at the top of one cell while placing an Asymptote image in an adjacent cell. There are numerous posts on vertical alignment with images ...
2
votes
0answers
90 views

Text displacement with line numbering in eledmac package [closed]

I'm using the package eledmac, and when I use line numbering I have a text displacement, with a disruption of the correct vertical alignment: \documentclass[a4paper, 12pt, twoside, draft]{article} ...
5
votes
2answers
90 views

Need good looking replacement for \widetilde{s'} (to mark something with a prime)

Throughout my document I have several formula elements named s with variants marked as s'. Furthermore, I need to mark these using some other means. Currently, I use \widetilde, giving me ...
6
votes
2answers
149 views

Vertical alignment of equations

I'm trying to put three equations in the same line. I used the tabularx package as was advised by this post: How to place and number 3 short equations in one line?. However since I am using ...
5
votes
3answers
168 views

Drawing aligned boxes with shaded section

I would like to draw several boxes with vertical line split but so far have not been very successful. Here's the code I attempted so far \documentclass{article} \usepackage{tikz} ...
8
votes
2answers
152 views

Need help with making Logic Trees in qtree/tikz-qtree (i.e. aligning, numbering lines)

I would like to make something similar to the logic tree below. I've tried using tikz-qtree, but I can't figure out how to number every line in the tree. I did however find something else doable in ...
5
votes
2answers
139 views

how to write vertical vectors in plain TeX

I would like to right a column vector in plain TeX without using the \matrix command (it seems too wide otherwise). How can I do it?
5
votes
4answers
118 views

Multiple alignment points in equations and no curly brackets for correcting spacing

Consider the following example: \documentclass{article} \usepackage{amsmath} \usepackage{siunitx} \begin{document} \begin{alignat*}{5} &\text{Honning:}\qquad ...
0
votes
0answers
13 views

Even-spaced (two) columns in reference page using bibtex - automatically [duplicate]

I have a document I keep compiling, using latex and bibtex, and it automatically creates my reference page. My final page is references and I use two columns, so naturally, assuming the reference page ...
3
votes
1answer
90 views

Text/character alignment in table tabular environment

I'm having some difficulty with the text alignment in some table columns and was wondering if someone could help me work out what's going on? I've provided a MWE and image of the table output. ...
9
votes
2answers
14k views

Increase LaTeX table row height

How to increase the height of the rows in a LaTeX table?
6
votes
2answers
113 views

How to vertically center cell content when its height is stretched by \arraystretch?

\documentclass[preview,border=12pt,varwidth]{standalone} \renewcommand\arraystretch{5} \begin{document} \begin{tabular}{|c|c|}\hline Time & Monday \\\hline 16:00-16:30 &\\\hline 16:30-17:00 ...
3
votes
1answer
82 views

How can I make text from the first line align with an image?

I'm writing a letter and I want to use an image as the first letter (A la olde time book Initials). See the below screenshot of what I've thrown together so far. What I would like to do is have the ...
10
votes
3answers
165 views

How to correctly pad and align a displaystyle inline equation in a table

I've got the following code in a document and am at a loss trying to figure out how I can correctly pad the cells and/or align the equations correctly. \begin{table}[h] ...
2
votes
1answer
93 views

Spreading out text vertically inside a parbox or minipage automatically [duplicate]

How can TeX (whether it is in its own terms or in those of LaTeX2e) be told to typeset the text spread out vertically and evenly inside a parbox or a minipage that has been defined with a given ...
4
votes
1answer
78 views

How can I automatically insert a command in a BibTeX-generated bbl file?

This question asks how to keep a code in a bbl file. Fortunately, the root cause could be found and solved without fiddling with the bbl file. Several answers pointed out that the bbl file should not ...
1
vote
1answer
44 views

Auto align is not straight

I have this code: \documentclass[11pt,a4paper]{report} \usepackage[utf8x]{inputenc} \newcommand{\lt}{\latintext} \newcommand{\gt}{\greektext} \usepackage[english,greek]{babel} \begin{document} ...
3
votes
1answer
82 views

Vertically aligned equation number with underbrace

I would like to vertically aling an equation number for the following MWE: \documentclass{scrartcl} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \begin{align} \begin{aligned} a ...
2
votes
0answers
39 views

Aligning equations with a label [duplicate]

I just discovered how to use flalign* to left justify my multi-line equation, but I would like it to start immediately after the a) lim... in my enumerate without going to the next line. ...
2
votes
2answers
105 views

Aligning a Table and a diagram in the same line

I wish to align a table and a diagram vertically on a line. Here is my code: \begin{flushleft} \begin{tabular}{l||c|r} & a & b \\ \hline $q_0 & q_1 & q_0$ \\ ...
6
votes
1answer
127 views

How to align two PgfplotsTable objects with graphs?

This is a follow-up for the fantastic question and answer here. I have been struggling with this so long that I would really appreciate help. Say that I have two datasets that are related, but on ...
3
votes
1answer
322 views

Proper centering with cmidrule and multi- row and column

The code below produces the following figure: The issue I am having is that Sample is not vertically aligned, I get proper alignment if \cmidrule(l){2-3} \cmidrule(l){4-5} is removed. How do I ...
1
vote
0answers
27 views

How to create column - aligned entrys in a itemize enviromenment (in 2nd. level) [duplicate]

i'd like to itemize a list of properties for my experiment protocol. What I want is: there is some nice way to align itemized entrys in How to create columns within an itemize environment? and in ...
1
vote
0answers
57 views

uncover cells in siunitx table beamer

I wish to show a calculation and update a table to help keep track of things. I use siunitx and booktabs in my beamer presentation. I want to have the numbers in the table aligned on the decimal ...
2
votes
1answer
392 views

Text section in right bottom of side

How can I write a text section in latex in the right bottom side of the page with a nice font ? It is for some thanks text. Now I have: \vfill {\sffamily \begin{flushright} ...
3
votes
0answers
279 views

Stretch line spacing to fill page

I'm writing a thesis which has to be double spaced with a 12 point font size and with set margins. However, due to each page having different subsections, pictures etc., the text doesn't line up ...
13
votes
5answers
653 views

Alignment in inline math

I want to enclose a tabular environment with a bracket, inside an enumerate environment, and be aligned to top. In the following example: \documentclass[a4paper]{article} \begin{document} ...
3
votes
2answers
147 views

Specifying vertical alignment in a table, column-by-column

I am creating a very simple table with three columns and one row. The alignment and content of each column is as follows: Col. 1 - (H) center, (V) middle, single character Col. 2 - (H) left, (V) ...
4
votes
2answers
100 views

Vertical Alignment of Matrix Cells

In the equation below, I would like to have the horizontal dashed lines that seperate different cells of the matrix to be vertically aligned. Furthermore it would be nice if the square brackets of ...
2
votes
1answer
122 views

How to vertically center content of page without makeup in ConTeXt?

I need to vertically center the content of page, content is forced to be on a separate page (delimeted with \page command). previous page content \page this content must be verticaly centered on ...
4
votes
3answers
92 views

How do I center and scale vertical harpoons?

I need to create something very much like this: However, I'm having trouble scaling the vertical harpoons to make them look right with the rates on either side. For the horizontal harpoons I'm ...
4
votes
1answer
86 views

Chapter headings at different heights

I'm completely new to LaTeX - just started this morning, and I've come up agaisnt an annoying problem. For some reason when I compile my LaTeX code the vertical position of the Chapter 1 heading is ...
4
votes
1answer
135 views

Multipage tables - vertical centering in cells

I know there were many topics like this but I read a lot of them and it is impossible to understand them for me or they just dont work. I want ALL cells to be centered vertically. I would also like to ...
21
votes
2answers
611 views

List with several types of items

How can one create a list with different types of items ? I am using the package enumitem, which is great for defining items and referring to them, but it seems to allow only one type of item. I have ...
4
votes
2answers
80 views

clean, breakable left-aligned array-like environment

The centered, yet left-aligned aspect of \begin{array}{lll} ... \end{array} is what I usually go with to give a list of conditions. My only problem with it, is that it is not breakable, so I try to ...
9
votes
1answer
130 views

How do I center entire content of a page vertically?

I am using MacTex distribution of Tex, and using xetex for extended font support. My document class is 'article', and I am typesetting a booklet. I can't seem to find solution on how to center a ...
4
votes
5answers
114 views

How to not have an equation in the first line using the align environment?

Here is my code: \begin{align*} (a-bu)e^{-\frac{1}{4}(v^2+u^2)(1+c)+\frac{1}{2}(1-c)u|v|} &=(a-bx-by)e^{-\frac{1}{4}((x-y)^2+(x+y)^2)(1+c)+\frac{1}{2}(1-c)(x+y)(y-x)}\\ ...
6
votes
3answers
257 views

Vertical alignment of subfigures of different horizontal length

I have four different tikzpictures merged in one single figure by means of the subcaption package and the \subfigure environment. However, the figures have different horizontal lengths, so I don't get ...