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

6
votes
1answer
1k views

Within table, vertically align top of a list and normal text in horizontally adjacent cells

I am making a table where two of the columns constitute a pros/ cons list. I have created a custom list environment with minimal white space around it for this purpose. However, I still find that the ...
1
vote
1answer
1k views

Align table-text in Lyx 1.6.9

I created a table with normal font text inside. After I select the text and go to Edit>>Text style>>Customized and select Larger, in the input the text looks aligned ok (it's right in the ...
11
votes
4answers
4k views

Vertically centered horizontal rule filling the rest of a line?

I'd like to have a horizontal line extending from the end of the text on a line to the right margin. So far I've found \hrulefill and \leaders\hrule\hfill, but these draw a line that's flush with the ...
4
votes
3answers
563 views

Lining up leaf nodes in pstree

I am a TeX newbie, trying to make a syntax tree. What I'm going for is this: X / \ X \ / \ \ X \ \ / \ \ \ X \ \ \ / \ \ \ \ A B C D ...
3
votes
2answers
1k views

How to make two rectangles top adjusted horizontally in TiKZ?

I have 2 rectangles and an operator between them, the one on the right is longer than the one on the left: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} ...
17
votes
2answers
22k views

How to move a paragraph to the bottom of the page (without vspace)

I am looking to move a text paragraph of a few lines (like a disclaimer) at the bottom of a 2 page document. Each time I do that, I need to adjust that specific paragraph with the \vspace function. ...
8
votes
3answers
326 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 ...
15
votes
5answers
23k views

Centering mutirow text in a table whose cells contain several lines of text

I'd appreciate advise in centering a multirow text. In the MWE below the multirow text "spring" is NOT centered over the three rows that it spans. ...
6
votes
2answers
2k views

Image Dropping Down in MultiRow Table

I am trying to build a table of images in Latex. Two of my images are portrait, two are landscape. My end goal, is to have them look like this: | | B | | | A |---| D | | | C | | With my ...
16
votes
2answers
4k views

Aligning enumerate labels to top of image?

I asked a question a while ago about vertically aligning enumerate labels to the top of table. Now I am having the same problem, but with images. Since my problem was solved in my previous thread, I ...
72
votes
2answers
105k views

How can I get text underneath an underbrace?

I am looking to do something of the following: To get text underneath the underbrace. Is it involving \stackrel or some sort of similar command?
11
votes
2answers
3k 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 ...
4
votes
1answer
5k views

Align text and logo in footer

I can't seem to be able to align our logo and page number in the footer. I have the code below: \pagestyle{fancy} % enable fancy page style \renewcommand\headrulewidth{0pt} ...
2
votes
2answers
8k views

How can I use multline within an align environment?

I've been looking around and I know that there are possibilities to mimic the multline environment within the gather or align environments, or by using multlined but not in a way that I like, I think. ...
46
votes
4answers
47k views

Shift title and author text up?

What is the best way to shift the title text 'up' in a LaTeX document compiled with pdftex? When I do this: \documentclass[12pt,letterpaper, onecolumn]{article} \setlength{\topmargin}{0in} ...
10
votes
2answers
1k 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 ...
15
votes
3answers
6k views

Vertically align subfloats at the top while having subcaptions vertically aligned below the subfloats

I have a float with two subfloats: I want the circles to be vertically aligned from their top such as in the following figure. But I don't want the subcaptions to be placed above the subfloats but ...
26
votes
4answers
6k views

Sharing alignment between equations in two different items

In the following minimal example, I have two equations inside an itemize environment, with an item per equations. Each equation is defined in its own equation environment. \documentclass{article} ...
6
votes
1answer
3k views

\pagebreak and two-column text

When I use \pagebreak in a two-column text, the paragraphs are spread out by vertical spaces only in the current column, so the whole page looks unbalanced (the right column has large spaces between ...
7
votes
1answer
981 views

Help with vertically aligning enumerate labels

I am just getting started using latex and am having some problem vertically aligning the enumerate labels when listing tables (see image below). I would like to have the '(a)' label aligned vertically ...
4
votes
3answers
10k views

Figure and table side-by-side in subfloats

A very similar question has been asked before: Table and Figure side-by-side with independent captions I'm trying to accomplish this, but while using the subfig package. The image below depicts ...
9
votes
2answers
7k 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: ...
8
votes
2answers
7k views

Automatic vertical alignment of a single float on a dedicated page

In my large latex document, I have some figures which take a considerable height of the page (80-95%). Latex puts each of these figures alone on a page, aligned on top. I would like to have each ...
14
votes
1answer
6k 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 ...
1
vote
1answer
1k views

sig-alternate class, and twocolumn unbalanced bottom alignment problem

EDIT: turns out the below is not really a requirement for ACM - but still a good Latex exercise, I reckon :) I have bumped into a problem with the Alternate ACM LaTeX2e Style File V2.4 (APRIL 2009 ...
14
votes
1answer
9k views

Beamer background image centered

I'm trying to use an image as a background for Beamer presentation according to this post. However, I do not want the image spanning the entire background. Thus, I'm doing something like: ...
8
votes
1answer
5k views

Center sideways text in table

I'm trying to make a two-column table environment. The left column is supposed to center the sideways text "Tips" vertically and the right column should be a normal paragraph column. Here's what I ...
1
vote
1answer
543 views

newlfm - addrfrom and addrto on the same vertical height

Is there a way to put addrfrom and addrto on the same vertical height when one of them is left-justified and another is aligned to the right? This is basically the layout I'm trying to achieve: ...
5
votes
1answer
3k views

A vertical alignment problem in tabu environment with X[m]

I learned tabu for a while and I can not solve a problem about vertical alignment with X[m]. Here is the minimal working example below. \documentclass{article} ...
2
votes
2answers
1k views

Vertical centering of text in a page when text contains enumerations

I'd like a vertically centered letter under letterhead, when a letter is less than a page. When a letter is more than a page, I'd like to achieve a minimum spacing between the letter and letterhead. ...
5
votes
1answer
773 views

TIKZ: writing text top downwards

My simple question is how to set some text using tikz in a column e.g. +---+ | A | | B | | C | +---+ I do not want to rotate the text so I can not use the rotate option or the set text along path ...
11
votes
4answers
1k views

How to vertically center a content spanning multiple rows without using nested tables?

I don't want to use nested tables. My current code produces the following result. And I want to get the following output. And the minimal working example: \documentclass{article} ...
4
votes
3answers
1k views

How to change the text position

\documentclass[a4paper]{article} \usepackage[usenames,dvipsnames]{color} \usepackage{yfonts}[1998/10/03] \begin{document} \frakfamily\Large\fraklines ...
1
vote
2answers
158 views

Alignment of list environments

I am seeming to have troubles with two environments dealing with lists. The two are \begin{description} \begin{problemlist} ..... ...... \end{description} ...
1
vote
1answer
5k views

Centering contents of table cells horizontally and vertically

I'd appreciate help centering the contents of the topmost row vertically and horizontally in their cells(?). I've tried using \multicolumn without luck. \documentclass[10pt,a4paper]{scrreprt} ...
6
votes
2answers
544 views

Is there a way to modify the default vertical spacing conventions of LaTeX left and right delimiters?

I am wondering if there is a way to modify the way left and right delimiters in LaTeX handle vertical spacing. This tends to come up when they are enclosing a fraction that has a big numerator but a ...
2
votes
1answer
1k views

Define a custom align, and align* environment

I would like to redefine both the align and \align* environments such that the first line is shifted up to line up with the list identifier. I attempted to adapt the solution provided at Starred ...
25
votes
2answers
10k views

What is \null and when do we need to use it?

Up to now I don't understand well what \null actually is and when we need it. I have only known that it can be used to create hypothetical anchors as follows. \documentclass{article} ...
1
vote
2answers
344 views

How to vertically align two columns of text in a table (tabular)

This should should be a simple question, but after reviewing other responses I still can't seem to get it working. I've simplified my example to the following: \begin{tabular}{p{.5in} l } ...
5
votes
1answer
1k views

Controlling cell width and height simultaneously in a table

I'm trying to create a multi-page table with all cells having the same height (as well as certain fixed widths) so that certain manual cut-and-paste operations are a lot easier. One issue is that one ...
3
votes
1answer
600 views

How to center the tag for a multiline diagram?

I have a diagram, say five lines, the tag (equation numbering) is in the first line, this is not I want. How to force the tag stay in the middle line? Thanks in advance!
9
votes
2answers
3k views

Push marginpar up

I'm using the marginpar to put side notes, but instead of having them facing the line where they are called, I would like the whole marginpar to be pushed up. How can I achieve that? I tried adding a ...
2
votes
1answer
141 views

Alignment of material across pages

How would you make two corresponding lists on two different pages so that the corresponding items in the two lists would be at the same absolute height on the two pages? I guess the best way to ...
6
votes
1answer
1k views

How to make {multicols}{2} the same as \twocolumn ?

Using \begin{multicols}{2} gives me unexpected results. It seems like if I write 8 lines, then it divides by 2, then puts 4 lines in the left column and then the other 4 in the right column (see ...
3
votes
2answers
247 views

Aligning images in the marginal notes based on a specific paragraph height rule

Friends, I have to put some images in the marginal notes of a text. Unfortunately, I have some issues with the image alignment. Consider this minimum example: \documentclass[oneside]{book} ...
17
votes
4answers
2k views

Is there a vertical equivalent for \rlap?

I'm looking for some sort of vertical equivalent for \rlap, which can be used to typeset maybe one or more paragraphs (or minipages), but do not advance vertically the content that would appear ...
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)] { ...
1
vote
2answers
426 views

How can I make $E\subseteq F$ vertical?

I am wondering whether anyone knows how to type $E \subset F$ vertical. That is $E$ is on the top then right below it is $\cap$, and below which is $F$.
3
votes
1answer
1k views

Glossary terms not aligned vertically

I had a problem trying to set the width of a glossary column. The suggested solution solved the issue, but raised another problem where the terms are appearing weird, not aligned vertically in the ...
6
votes
1answer
254 views

Setting the same distance from the top of the page for chapter and index titles

I noticed that the distance from the top of the page to the chapter title differs from the table of contents and list of <> ones. I can see why, as these elements have specific purposes and ...