{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
1answer
49 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
143 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
57 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
83 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
72 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
80 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
135 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
147 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
129 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
135 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
116 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
12 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
88 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. ...
8
votes
2answers
10k views

Increase LaTeX table row height

How to increase the height of the rows in a LaTeX table?
6
votes
2answers
102 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
79 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
158 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
81 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
67 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
42 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
73 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
38 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
98 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
115 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
189 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
51 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
233 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
252 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
628 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
116 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
92 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
107 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
90 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
78 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
103 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
599 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
72 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
117 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
111 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
173 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 ...
8
votes
3answers
214 views

Vertical align a tabular and tikz figure in a minipage

How can I vertically align a tabular left to a tikz figure? With minipage without a vertical align option it looks good: The problem is that I need it aligned at top (for this I replaced ...
11
votes
1answer
630 views

How to vertically align underbraces

I am trying to balance underbraces in the equation below, how can I ensure that both underbraces at the same depth? \begin{equation} y = \underbrace{ \left [ x^2 + r^2 (a^2+\frac{a^{0.3}}{b}) ...
3
votes
1answer
162 views

Aligning Tikz Graphs of x-y coordinate systems

I have 5 different x-y coordinate planes I am trying to draw, and I'd like to have them aligned. In particular, I'd like to make 3 in one row, 2 in the next, and have the x-axes all aligned within ...
4
votes
2answers
108 views

How to ensure footnotes being at the same height on every page?

I have added a footnote to the text but I also have some "unbreakable" code listings. Because of that the footnote gets dragged "higher" in the page. As you can see there's more space between ...
2
votes
1answer
118 views

Centering text in a table cell

I know the question has been asked before, but the answers don't seem to apply. I have a table defined below: \begin{table}[!ht] \begin{center} \caption[Micromagnetic simulators]{Micromagnetic ...
0
votes
0answers
17 views

How to prevent page breaking for lstinputlistings? [duplicate]

In my pdf created from latex sources I can see that sometimes \lstinputlisting will have a page break in the middle just because it happened to be in the end of the page. I would like to prevent it. ...
10
votes
2answers
263 views

\pagebreak[number] only breaks with number = 4

I wanted to try out encouraging of pagebreak using \pagebreak[number]. As far for now it only breaks the page when I define \pagebreak[4] and only then (it won't work on any other circumstances). ...
7
votes
0answers
161 views

align margin note to vertical center of text block or environment, with optional bar

Here is what I wish to achieve: section title as usual (optional) subsection in left-margin, aligned to top of its contents group of text/theorem/etc blocks within subsection margin note or label ...
4
votes
1answer
63 views

Aligning the Left Hand Side of a big equation with fraction

After spending quite some time making sure this wasn't already answered, I decided to post this anyway, as I haven't found what I'm looking for. I have this equation with nested fractions, and I want ...