{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
4answers
117 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
89 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
12k views

Increase LaTeX table row height

How to increase the height of the rows in a LaTeX table?
6
votes
2answers
108 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
80 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
87 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
73 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
76 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
100 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
125 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
277 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
55 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
316 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
270 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
643 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
133 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
99 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
116 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
83 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
112 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
608 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
75 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
124 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
225 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
263 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
736 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
185 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
109 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
123 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
278 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
1answer
189 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
67 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 ...
2
votes
1answer
57 views

How to vertically align makeup page in ConTeXt?

I have a minimal example \usemodule [simplefonts][size=12pt] \setmainfont[dejavusans] \definemakeup[titlepage] \starttext \startmakeup[titlepage] {\tfd Title at top} \stopmakeup[titlepage] ...
5
votes
2answers
523 views

Top-aligned subfigure with bottom-aligned caption

This is a follow-up to an earlier question regarding left-aligning subfigure captions. Having achieved the left-alignment goal, I would now like the caption of the subfigure to be bottom-aligned, ...
0
votes
0answers
68 views

Superimposing characters in text mode (pdfTeX)

I'm trying to compose a non-Unicode character by arranging Unicode characters one above the other or one next to the other close-up, but I'd need a negative space which in text mode isn't available. ...
3
votes
1answer
44 views

Floating parameter [H] streches table vertically

I am currently using [H] as a floating parameter for a list of tables in the appendix. The idea is to make the tables in the appendix start at the same vertical distance from the top on every page ...
9
votes
1answer
138 views

Vertically align the top of a box to the top of the tallest box of a line

This is a follow-up question on this thread. I want to mark a line by putting a star to the left of it. If the line contains a box that is tall, the marker should be aligned with the top of this ...
5
votes
1answer
158 views

Raggedbottom before Headings

I'm using the scrbook class, which uses flushbottom paragraphs by default. Usually this is OK, as a book looks better when the bottom part of the pages are aligned. But when a new section starts, a ...
4
votes
1answer
154 views

Widetilde and prime (derivative) position

I need to write something like {\widetilde f}' in my text, but the result looks rather ugly since the prime (derivative) sign is too low. It looks like \widetilde{f'}. Is there any way to do this ...
3
votes
1answer
91 views

Tikz: Alignment of labels relative to a split rectangle

Is there a way for accurate placement of labels relative to the center of each of the parts of a split rectangle? The following example shows two errors: Alignment is with the left side of the ...
4
votes
2answers
458 views

How to draw two \hline and two vertical line?

I want to draw a table with two \hline and two vertical line. But as shown in the figure, the first vertical line do not cross the two hline. How to solve this problem? \documentclass{article} ...
1
vote
1answer
58 views

Adjusting the summation sign: [duplicate]

I would like the limits to be vertically above and below the summation sign. I also need a larger summation sign... This is currently what I have: $x^2sin(x) = \sum_{n=-\infty\atop n\ne \pm ...