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

10
votes
2answers
9k views

tikzpicture alignment and centering

I have several very similar images except some have some extra graphics that enlarge them slightly. This causes some pictures to be offset and not aligned visually when it's clear they should be. How ...
10
votes
2answers
3k views

Two figures side-by-side with inequal height and aligned captions

I have an addition to this question: Two figures side by side. Suppose we have two pictures, making them of uneven height. I am looking for a way to not use subfig and align two figures side-by-side, ...
10
votes
2answers
353 views

Sideways text with rule as table label

I've been trying to achieve the following vertical sidebar effect in LaTeX for my resume, but turns out it's far more difficult than I thought (created easily in InDesign): I've tried everything ...
10
votes
2answers
156 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 ...
10
votes
1answer
165 views

How I can align a table with a figure from above?

I want to have a table and a figure plotted by \pgfplot in two column but have alignment from above: \documentclass[a4paper,10pt]{article} \usepackage[utf8x]{inputenc} ...
10
votes
1answer
467 views

Context: Placing float (figure) and text-top at same height

I would like my figures to be flush with the text line beside them if they are positioned left or right and top. Currently the top edge of the figures are roughly flush with the 2nd line. This seems ...
10
votes
2answers
385 views

equation, equation number and itemize bullet all on the same line

I think the following sample says it all. I need to get the item bullet in the right place on the same line as the equation, and have this followed by an normal equation number. Someone asked the ...
10
votes
2answers
663 views

Horizontal alignment within an equation using Tikz

I am trying to center horizontally the first terms of a system of equations inside the alignat environment. I don't know if Tikz is the right way to go, but as I might have to add some other ...
10
votes
1answer
1k views

How to align picture top left in a table?

is there a way to create a table with 2 columns, in the left column should be some text, in the right column should be a picture. The problem is - to align both to the left, top corner. The image ...
10
votes
4answers
2k views

\qed or \qedhere at the end of split environment

While I was trying to improve my latest document with respect to its \qed symbols at the end of amsthm's proof environment i came across an interesting point. Assume the proof ends with some formula, ...
10
votes
1answer
1k views

How to vertical align a text and an tikzpicture?

I am using a TikZ picture followed by a text. How do I create a picture that aligns with the top of the text? \begin{minipage}[t]{0.45\textwidth} \tikz[baseline=(current bounding box.north)] { ...
10
votes
1answer
272 views

marginnote vertical alignment

I've run into a problem using the marginnote package; the vertical position changes if the note is wider than the margin. An MWE: \documentclass{article} \usepackage{lipsum,marginnote} ...
9
votes
2answers
516 views

How to correctly shrink the bullets of itemize

How can I shrink the bullets of itemize without change its positioning and the centering versus the items? My code below show that behaviour in fact the two item underneath have a bullet shifted down ...
9
votes
1answer
12k views

underfull \vbox

What do the following messages mean? LaTeX Font Info: Try loading font information for U+msa on input line 205. ("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\amsfonts\umsa.fd" File: umsa.fd ...
9
votes
3answers
552 views

Align text on top of a framebox

I am trying to create a series of boxes so that my students can input there id number for there final exam. \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \newsavebox{\idbox} ...
9
votes
3answers
369 views

Letter “p” ruining vertical alignment

I have a simple diagram I have created. \begin{figure}[t] \begin{center} \setlength{\unitlength}{10pt} \begin{picture}(24,4) \setlength\fboxsep{0pt} ...
9
votes
2answers
237 views

How to put a list and an equation side by side

I'd like to get a list and an equation side by side so that I fill the page width better for aesthetic reasons, I've tried the following but doesn't compile: \begin{tabular}{cc} Known values: ...
9
votes
2answers
633 views

Why do I need a '\vspace{0pt}` to align a table and a figure along the bottom line when using '\vbox' and '\hbox'?

Recently, I fiddled with placing a table and a figure next to each other such that their bottom parts aligned with each other. I managed to do by using \vbox and \hbox, but there is one thing that ...
9
votes
3answers
102 views

Cases environment without the brace

I want to vertically align one equation against two, similar to the cases environment but without the brace: e.g. similar environment to: There must be another solution to the alignment solution ...
9
votes
5answers
4k views

When I use [shrink], I lose vertical centering. How do I get my stuff shrunk and centered?

I am creating a beamer slide with a table on it. This table is too big with the normal font size, so I am using the shrink command to try to make it smaller. shrink is working, however it is ...
9
votes
1answer
316 views

How to vertically center the \vdots in this node?

I'd like the \vdots in this chain to have the same distance to both of the arrows. I know that I could manually shift the node so that it looks right, but there must be a better solution. How? ...
9
votes
3answers
13k views

Tabular, parbox, vertical alignment

What i want to achieve is really simple: I want to be able to align cell content at the top (which is the default behavior of tabular) while being able to manually break lines (and anything you could ...
9
votes
4answers
170 views

How to prevent the opening curly brace from going out over the top equation?

Constraints: I have to use top aligned aligned to let the baseline of the top equation be aligned with the enumerate label. Issues: The curly brace goes beyond the top equation so it does not look ...
9
votes
2answers
854 views

Vertically misaligned margin note

I'm trying to use a \marginnote along with a specified \parskip. However, I'm having an alignment issue. With the code in the group with the \parskip the margin note is misaligned with the text on the ...
9
votes
1answer
788 views

Vertically aligning a marginnote and a section title

In the following code, the marginnote is logically aligned to the lipsum text. I would like to align the marginnote to the title of the section. What's the trick to use ? % Source : ...
9
votes
2answers
191 views

Using memoir, how do I number paragraphs?

I am trying to implement paragraph numbering with memoir. I would like the numbers to be in the outside margin, flush against the text block, and vertically aligned with the first line of the ...
9
votes
2answers
1k views

How to level columns in bibliography?

I have been writing a scientific paper il Latex for an IEEE conference. The paper style is in 2 columns, and the last page of the paper contains a part of bibliography references. These last ...
9
votes
2answers
9k views

How to align image

If i have in my beamer presentation some list of items and on that slide i wanna add a picture, which i want to be aligned e.g. to right top corner. \begin{frame}[fragile]{III. Override pages} ...
9
votes
3answers
1k views

Tables do not align side by side

. . \usepackage{tabularx} \usepackage{multicol} \begin{table}[ht] \begin{minipage}[b]{0.5\linewidth}%\centering \begin{tabular}{|c|c|c|c|} \hline & One & Twp & Three \\ ...
9
votes
2answers
717 views

How to get headings to be an integral number of lines high (using the memoir class)?

I use the memoir class and the \checkandfixthelayout command to calculate the \textheight so that an integral number of lines will fit. This works very well: But now I want to add a few section ...
9
votes
1answer
265 views

How to split and align equations when they are inside an enumerate environment?

How to make the first line of aligned equations sit in the same baseline as the bullet and make the equation left justified? \documentclass{article} \usepackage{amsmath} \begin{document} ...
9
votes
1answer
261 views

What is best practice for aligning distinct arrays or tables side-by-side?

I have two related tables that could naturally be displayed side-by-side but don't have to be. However, it saves space to display them side-by-side rather than one atop the other. If I do so without ...
9
votes
1answer
118 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 ...
9
votes
1answer
10k views

Vertical alignment in 'tabular'

I have a problem with vertically aligning content in a tabular environment: \documentclass{article} \begin{document} \begin{tabular}{ p{2em} p{2em} } test & \begin{tabular}{l} s s s \\ s s s ...
9
votes
1answer
2k views

Consistent vertical spacing with tabu

In the following table I get some vertical space after the rows whose content is short but not after the row having a cell with long content. The problem is that I want to generate the report from ...
9
votes
2answers
5k views

Vertical centering of figure in landscape environment

I am using the pdflscape package to insert landscape pages in my document. On one of these I would like to have a figure that is vertically centered on the page, but I can't find how to do it. MWE: ...
9
votes
1answer
201 views

Why does color cause a vertical shift?

this TeX-source \documentclass[a4paper,12pt]{book} \usepackage[usenames,dvipsnames,svgnames,table,x11names]{xcolor} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead[LO,RE]{} ...
9
votes
1answer
136 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 ...
9
votes
3answers
16k views

vertically align text in table in LaTeX

Probably a straightforward problem. Why is the final column not center aligned vertically? Here is the code I'm using: \documentclass{article} \usepackage{array} \begin{document} ...
9
votes
3answers
2k views

How can I save the bounding box of a TikZpicture and use in other TikZpicture

I need 2 different TikZpictures with the same bounding box (the one of the first TikZpicture) because I need a perfect vertical alignment of the subfigures side by side. Please, how can I handle ...
9
votes
3answers
121 views

Aligning different matrices

I want to write the companion matrix of a recurrence relation and its use (the notation will be a bit unusual since it is "for cryptography", where we always do stuff in a different way). ...
9
votes
1answer
152 views

Measuring align

From what I read it seems that align environments are processed twice: the first time for measuring, the second time for actual typesetting. My question is whether one can get access to these ...
8
votes
3answers
749 views

Align \sqrt with baseline of other mathematical input

The following mathmatical expression is not being displayed the way I expect it to be. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} $3x\sqrt{y}-4-2\sqrt{y}+6x$ \end{document} ...
8
votes
3answers
260 views

Vertically Centering Text/Numbers in Rows of Array using Math Mode

I am trying to center text in an array of two rows inside a math mode environment so that the text in the second column of the array appears half way between the first and second row of the first ...
8
votes
4answers
302 views

Enumerate alignment

Is it possible to improve the alignment of the first item? \documentclass{article} \begin{document} \begin{enumerate} \item \begin{tabular}{cccccccccc} $x[n] = $ & \{1/3 & -1/2 & ...
8
votes
3answers
5k views

Problem with TikZ and vertical alignment of text inside nodes

I have a problem in TikZ with the vertical alignment of text inside nodes. With a very minimal example like this: \usetikzlibrary{arrows,positioning,shapes.geometric} \begin{tikzpicture}[% ->, ...
8
votes
3answers
336 views

Aligning text and a tikZ picture vertically

Here is my current slide: \documentclass{beamer} \usepackage[english]{babel} \usepackage{tikz} \usetikzlibrary{backgrounds} \begin{document} \begin{frame} \frametitle{My slide} ...
8
votes
3answers
353 views

Poster text positioning: Get width of \hfill

How can 0123456789 be aligned as shown in red: Same baseline as abcdefghij, aligned left with ABCDEFGHIJKL? \vlines are just for illustration. I am designing a poster where exact text positioning ...
8
votes
2answers
1k views

Subscript vertical position dependent on presence of superscript - how to change? [duplicate]

Possible Duplicate: Subscripts for primed variables If I have a variable which is always subscripted but only sometimes superscripted, the vertical position of the subscript varies. For ...
8
votes
3answers
222 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 ...