{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
3answers
194 views

How to align the conditions in a hierarchical structure?

I know how to align the conditions on the left side of the conditions with either aligned, cases, or array if there is only one level. However, I can't figure out how to do so in a hierarchical ...
10
votes
2answers
560 views

Position margin notes relative to left margin in plain TeX

I want to add margin notes in the Tufte style to my Plain TeX document. (I'm using eplain, if that matters.) I know that if I were using LaTeX I could just use tufte-latex, but as a thorough ...
10
votes
2answers
384 views

Why is picture and matrix not drawn at the same height

I'm trying to put a adjacency matrix beneath a graph using subfloat. The graph is drawn with tikz. No matter what I do, the matrix is put below the graph as shown here: The code is here: ...
10
votes
4answers
7k views

Placing Subfigures vertically

I want to use subfigures to place three figures like this: The following is the code I used: \begin{figure} \begin{tabular}{|c|c|} \hline \multirow{2}{*}{ ...
10
votes
2answers
2k views

How to put table and PNG next to each other in the same figure?

How can I put a table and a PNG (using \includegraphics) next to each other in the same figure, in the following way? +----+ +-----+ |png | |table| |png | |table| |png | ...
10
votes
2answers
268 views

How do you align equations parts vertically?

I have read many other solutions but this situation seems unique. \documentclass{exam} \usepackage{multicol} \usepackage{amsmath} \begin{document} \begin{questions} \question Simplify the following: ...
10
votes
4answers
196 views

A line of text with proper positioning but consuming no space?

Welcome to part 4 in a series of questions about me trying to improve my crazy layout! I'm using tabu to create a table with a central heading, and two small blocks of text on the left and right ...
10
votes
2answers
5k views

How can I vertically align a beamercolorbox?

I am trying to customize a beamer theme. In the footline, information such as author, title, date ... are in several beamercolorboxes. \hbox{% ...
10
votes
2answers
10k 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
4k 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
403 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
535 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
171 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
521 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
471 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
705 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
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 ...
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
2k 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
341 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
1answer
15k 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
604 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
392 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
3answers
6k 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}[% ->, ...
9
votes
2answers
269 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
2k 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 ...
9
votes
2answers
731 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
4answers
1k views

Stretching a framebox over the whole page

Does anyone know how to stretch a (framed) box down to the end of the page? In effect something like \documentclass{scrartcl} \begin{document} sometext ...
9
votes
3answers
15k 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
3answers
230 views

How To Make a Special Position Environment in LaTeX?

So I must admit I am way out of my depth and have no idea what I'm doing. I apologize in advance for a long and complicated question. I'm trying to build this output: Which I have successfully ...
9
votes
3answers
108 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
5k 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
390 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
2answers
695 views

Table: Can I shift a column by half the height of a row?

This question is best explained by giving the usecase: I have a table where I list some data and I would like to add a column to the right which gives the ratio of two adjacent rows. Now to make it ...
9
votes
4answers
204 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
983 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
867 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
216 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
2k 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
1answer
3k views

Strange space left above wrapfig figures

I'm using wrapfig to put a small figure at the start of each paragraph. For the first paragraph of the page, this lines up neatly with the top of the text. But for subsequent paragraphs, the figure ...
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
1answer
2k views

Aligning a Tikz Picture in line with the surrounding Text

I'd like to align a Tikz Picture in line with the surrounding Text. Here is a MWE Example: \documentclass[a4paper,10pt]{article} \usepackage{tikz} ...
9
votes
2answers
750 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
312 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
297 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
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
139 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
3answers
28k 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
1answer
213 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]{} ...