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

8
votes
3answers
143 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 ...
10
votes
1answer
324 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
119 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
95 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
104 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
16 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
219 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). ...
6
votes
0answers
115 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
48 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
48 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
183 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
58 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
40 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
127 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
83 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
115 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
60 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
270 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
51 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 ...
3
votes
1answer
35 views

Alignment issue?

I am trying to align the 2 equals signs and the minus sign at the beginning of each line of the following code, but no matter what I do, it won't work. $C_{n}$ = $ \dfrac{1}{4\pi{i}} $ $ ...
4
votes
1answer
71 views

Aligning variables vertically in a cases environment

I'm creating a system of equations in LaTeX, using a cases environment, with variables $x_1$, $x_2$, $x_3$ and $x_4$. Here's my MWE: \documentclass[a4paper,12pt,onecolumn]{article} ...
5
votes
2answers
85 views

Unwanted vertical space before tabular on title page

I worked on my title page, and there is some undesired vertical space before a tabular environment. I made two fboxes to illustrate the vertical distance I wanted to be the same 116 pt. But after the ...
4
votes
2answers
102 views

Left and right aligned minipages, with table layout

I am trying to create a layout with two "columns," where the right-hand column itself has two columns, which are right and left aligned, respectively. For instance: This is some text in the first ...
2
votes
1answer
100 views

Vertical alignment of multiple consecutive tables

The aim is to align multiple (often quite large) consecutive captioned tables within respective chapters, for example: chap 1, table 1.1, table 1.2, table 1.3 --- chap 2, table 2.1, table 2.2... ...
6
votes
1answer
64 views

How to prevent distributing vertically over whole page in Lyx?

I work with the documentclass book (koma-script) in Lyx. In the final pdf, all text, pictures, etc., are distributed vertically over the whole page. I prefer to put them on the page from the top with ...
3
votes
2answers
148 views

Vertical space between chapter heading and table

In my appendix I have only chapters followed by one or more tables each. These tables are captioned. But I'd like the tables to begin after the usual vertical space which is put if you simply write ...
3
votes
1answer
93 views

Table: rule spanning two side-by-side tables

I have a little problem for which I desperately need help. Basically I want to span a midrule (or any other type of rule) over two vertically aligned side-by-side tables. As in the MWE below, I could ...
2
votes
2answers
222 views

Vertical space between align and alignat environments

I have a problem with the vertical space between align (1) and alignat (2). How can I reduce this space to the same vertical space as before (1)? How can I completely erase the vertical space? I know ...
7
votes
2answers
78 views

Align numbers with each other

In using the align* environment, how can I get specific numbers to align with each other? In the following example, I want each term of the top sum and the bottom sum to be aligned with each other: ...
2
votes
1answer
83 views

Displaying Examples Side By Side [duplicate]

I am currently learning LaTeX from 'The Not So Short Introduction To LaTeX' and in that book many examples are displayed side by side: $a^2$ 'Left side of page' --------------------------------- ...
9
votes
2answers
108 views

Custom pagebreak in align equation

I got the following problem: Right now I am checking my equations, which are usually written in align. This looks great in most of the cases, but sometimes the pagebreaks are weird, ie there is a lot ...
2
votes
2answers
61 views

Putting text next to a kmap

I want to put the equation next to the kmap, but it seems the kmap is located higher. How can I align the text and the kmap to start at the same height? \documentclass[12pt]{article} ...
1
vote
0answers
77 views

Horizontal alignment (problem with minipage)

I'm new here. I just have a problem with the minipage environment. The problem is that the tables aren't horizontally aligned. I want these table aligned one by one, but I don't know what's wrong. ...
2
votes
1answer
66 views

How do I extend my text width while keeping the text in the center of the page [closed]

I don't like that latex makes the margins really huge. However, instead of changing my margin width, I want to change the width of my text. I added the following to my doc: ...
5
votes
3answers
156 views

Troubles with column width in the tables headings

Well, we all know that compose tables in LaTeX is not easy, however, despite the large number of existing packages and options to facilitate this, I still have some problems I could not solve, and I ...
7
votes
2answers
100 views

Uneven vertical alignment with $\in$

Here's a simple example: \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} \usepackage{commath} \newcommand{\st}{\text{ s.t. }} \begin{document} \[ (x_n) ...
2
votes
1answer
59 views

Possible solution to make tabulars fill page vertically!

I wrote this code which fills a tabularx with blank lines until the end of the page. It worked but has one problem: When the space to fill is less than one line (e.g. paperwidth=180pt), it inserts one ...
4
votes
2answers
67 views

How to center vertical one symbol in my table

I know that this question in some way is duplicate, but I spent 2 hours trying some solution that I saw on this csite and I failed to solve my problem. I made next table and I would like to center ...
4
votes
1answer
67 views

Vertical alignment of figures within tabular

\begin{tabular}{p{0.30\paperwidth}p{0.30\paperwidth}p{0.30\paperwidth}} \rowcolor{gray} & & \\[4ex] \rowcolor{gray} \multicolumn{2}{l}{\hspace{1cm} \textcolor{white}{\Large ...
6
votes
1answer
58 views

prevent \vadjust from influencing bottom line

In most circumstances, a \vadjust{\someverticalmaterialofzeroheight} is "harmless", but not so if it is issued in the bottom line of a page: Top of page\par\vfill Bottom of page\par and Top of ...
3
votes
1answer
70 views

Placing many floating tables

I have written a chapter with many tables (20+) that are all set to 'tbp' for bottom, top and page. There is also text around these tables. The placement of most of the tables turned out to be on top ...
10
votes
4answers
158 views

Vertical alignment of degree unit and other elements in table

I am trying to improve the appearance of the below table such that: The set union symbols \cup align vertically with the commas from the 2nd and last rows The middle column angle values are still ...
1
vote
0answers
40 views

Same vertical space at the top and bottom of the statement of changes [duplicate]

How to center horizontally and vertically cell contents of this table ? \documentclass[a4paper,12pt]{article} \usepackage[upright]{fourier} \usepackage[no-math]{fontspec} ...
0
votes
0answers
70 views

Vertical alignment between Figure and Table

I will have a meeting in a few and don't have much time to solve this "problem", I'm trying to vertically align a figure and a table, I provide a minimal working example \documentclass[10pt]{beamer} ...
3
votes
1answer
65 views

Vertical space only after every second row in a table

I have several tables in the following custom format, to which I would like to add vertical space (e.g. 6 pt) after every second row. I know this can be done manually. I am only wondering, if there is ...
0
votes
0answers
20 views

Can we set the contents of each frame be top aligned? [duplicate]

Is there any way to make the contents of each frame top aligned? We know that \begin{frame}[t]{The test} This is a top aligned frame. \end{frame} will work, but how to change it into one such ...
5
votes
1answer
126 views

Changing the vertical alignment of `multlined` from the mathtools package

Package mathtools provides the vertical alignments top, center, and bottom: \documentclass{report} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \makeatletter ...
3
votes
1answer
130 views

Problems with itemize inside tabular and rotated text

I have some problems with a table in LaTeX. I want to have itemize inside cells and at the same time 90 degrees rotated text in the first column, vertically centered. I have a screenshot of the result ...
4
votes
4answers
105 views

Alignment of TikZ pictures in enumerate environment

I want to draw some trees in tikz and align them like this (mockup): Note that the enumerations align to the top. Ideally, this should "just work", breaking lines as needed, and automatically ...
0
votes
0answers
29 views

vertical line between cells crashed after used itemize environment in Parallel

I used Parallel package. When I start itemize environment or long text in first cell Vertical line between cells is broken. Why it happened? Here is my result: Here is code: ...