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

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: ...
0
votes
1answer
76 views

Vertical Alignment of Digits with MinionPro

First of all, thanks for your great help and support - I have been able to find answers to pretty much all my latex questions on here. For this one, however, I could not find a solution. I am ...
2
votes
2answers
42 views

Move title to top of page but keep the top margin value

Having a lot of problems with LaTeX at the moment. I need my article to have a top margin of 33mm, but for some reason my title page has a much larger margin. Is there a simple fix I have overlooked? ...
5
votes
1answer
66 views

Restore default \raggedbottom footnote behaviour when using one of the Koma script classes

Using the standard LaTeX classes (article,...), footnotes are set directly below the text if the page is in \raggedbottom instead of \flushbottom mode. The KOMA script classes change this behaviour, ...
8
votes
3answers
10k 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} ...
6
votes
1answer
95 views

Uneven columns' height!

I'm new to LaTeX and, although I find the program quite interesting, it is difficult to get things right immediately. This time I need to do something simple, but I haven't managed to find a solution. ...
3
votes
1answer
25 views

How to align enumerate and image [duplicate]

I have the following code which doesn't align a) and b) with the top of the image. How can I align them? ... \begin{enumerate} \item Find the unknown values and in each case, give a reason. ...
3
votes
1answer
43 views

\marginnote misalignment in \begin{split}

When I use \marginnote in \begin{equation}\end{equation}, it seems to work fine, but if I try to place a margin note inside a multiline equation (at least when I use \begin{split}\end{split}), there ...
10
votes
4answers
2k views

Spread bullet points across block in slide using beamer

I'm using beamer to create some slides for a presentation. I've got a block containing a bulleted list. The list only has three items, and all three items are bunched up in a small block at the top of ...
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)] { ...
5
votes
2answers
316 views

Aligning several '=' symbols across two lines

I'd like to write two lines of equations, each containing two '=' symbols, in such a way that the corresponding '=' symbols will be vertically aligned. I tried using the align environment thus: ...
2
votes
2answers
212 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 ...
5
votes
1answer
281 views

Perfect-centering characters in a box

I have made in Inkscape a page layout with some boxes here and there that should contain a single Kanji character. These Kanji should be horizontally and vertically centered in the box. At the very ...
3
votes
2answers
119 views

Center frame title vertically in beamer

Is it possible with beamer to center the frame title vertically (as well as horizontally), together with the frame content? That is, have the frame title and content appear together in the center of ...
5
votes
1answer
66 views

aligning several trees to the baseline

I want to have the following trees aligned to the baseline. There is a problem which is probably due to the "g" in some of the trees. How do I get these trees aligned? I tried \strut, but this somehow ...
3
votes
2answers
77 views

Why is \txt element of \xymatrix moved downwards?

I wonder why is the textual "A" in \xymatrix{A \ar[r] & \txt{A}} moved downwards. All I want is to have textual elements in xymatrix with possibility of line breaks inside the element. I thought ...
1
vote
2answers
62 views

rotated text and figure side with vertical alignment

I am using subfig package to place three figures and a one rotated text side by side. Attached below is the mwe \documentclass[draft]{article} \usepackage{subfig} \usepackage[demo]{graphicx} ...
5
votes
2answers
90 views

Aligning two pictures without subcaptions to the top with the subcaption package

My problem is similar to this one: Align by the top borders of figures when using subcaption I want to align two pictures to the top. The solution given works fine for pictures with subcaptions. ...
3
votes
1answer
71 views

vertically center to text height

Minimal working example: \documentclass{scrartcl} \usepackage{fontspec} \setmainfont{Linux Libertine O} \usepackage{graphicx} \usepackage{tikz} % correct spelling and hyphenation ...
6
votes
4answers
122 views

Enumerate environment without vertical space in tabular

I am trying to typeset a hierarchical proof structure as defined by Leslie Lamport in How to Write a Proof. In particular, I am trying to typeset the portion Assume: 1. $r \in \mathbf{Q}$ ...
1
vote
1answer
43 views

Locking boxes vertical position

The fboxes and section titles generated with this code: \documentclass{article} \usepackage[left=6cm,right=6cm,top=3cm,bottom=3cm]{geometry} \usepackage{blindtext} \begin{document} \vspace*{1cm} ...
3
votes
1answer
34 views

vertical alignment of text with slides class

I would like the content of each slide to be aligned at the top of each slide. How can one achieve that? By default the text is centered vertically, and that looks sloppy. There are many answers ...
3
votes
1answer
43 views

Vertical tablecell alignment fail for the last one [duplicate]

Using array m{} to vertically align cells in a tabular, and changing row height with \\[] the last cell is not properly aligned: \documentclass{article} \usepackage{array} \begin{document} ...
4
votes
3answers
92 views

parbox + itemize = empty space

Consider the following MWE \documentclass[12pt,a4paper]{article} \begin{document} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text: ...
3
votes
1answer
48 views

Command to increase spacing in table

WHen I needed to increase vertical space in a matrix I found this great custom command: \makeatletter \renewcommand*\env@matrix[1][\arraystretch]{% \edef\arraystretch{#1}% \hskip -\arraycolsep ...
8
votes
1answer
142 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 ...
6
votes
2answers
117 views

Vertical alignment of equations

I'm trying to put three equations in the same line. I used the tabularx package as was advised by this post: How to place and number 3 short equations in one line?. However since I am using ...
3
votes
1answer
49 views

Vertical alignment in a tabular environment with asymptote image

In a tabular environment, I would like to align text vertically at the top of one cell while placing an Asymptote image in an adjacent cell. There are numerous posts on vertical alignment with images ...
2
votes
0answers
44 views

Text displacement with line numbering in eledmac package [closed]

I'm using the package eledmac, and when I use line numbering I have a text displacement, with a disruption of the correct vertical alignment: \documentclass[a4paper, 12pt, twoside, draft]{article} ...
5
votes
2answers
63 views

Need good looking replacement for \widetilde{s'} (to mark something with a prime)

Throughout my document I have several formula elements named s with variants marked as s'. Furthermore, I need to mark these using some other means. Currently, I use \widetilde, giving me ...
5
votes
3answers
112 views

Drawing aligned boxes with shaded section

I would like to draw several boxes with vertical line split but so far have not been very successful. Here's the code I attempted so far \documentclass{article} \usepackage{tikz} ...
5
votes
2answers
124 views

how to write vertical vectors in plain TeX

I would like to right a column vector in plain TeX without using the \matrix command (it seems too wide otherwise). How can I do it?
8
votes
2answers
99 views

Need help with making Logic Trees in qtree/tikz-qtree (i.e. aligning, numbering lines)

I would like to make something similar to the logic tree below. I've tried using tikz-qtree, but I can't figure out how to number every line in the tree. I did however find something else doable in ...
1
vote
2answers
812 views

How to vertically align multiple equations with text underset?

How do you vertically align equality signs when one of them has some text underset? My solution is: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[american]{babel} ...
5
votes
4answers
105 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
69 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 ...
6
votes
2answers
3k views

Increase LaTeX table row height

How to increase the height of the rows in a LaTeX table?
3
votes
1answer
70 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. ...
23
votes
4answers
21k views

Stable vertical alignment of columns in Beamer

In Beamer, I often use a two-column slide layout, picture on the left and text on the right. Sometimes the same picture is used on multiple slides, with the text on the right changing. I use the ...
6
votes
2answers
88 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 ...
10
votes
3answers
136 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] ...
9
votes
1answer
242 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} ...
8
votes
1answer
282 views

How to vertically center the fraction line?

I feel a bit weird because this is a really simple issue that apparently nobody has brought up so far but I find that very simple fractions produce output that looks vertically unbalanced. The ...
2
votes
1answer
59 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
42 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
38 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
59 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 ...
8
votes
2answers
5k views

Include centered full page figure with no margins

I have a big figure that takes up a full page. I'd like to include it in my latex document on a separate page, centered horizontally and vertically. I managed to put it on a separate page (or it is ...
2
votes
0answers
37 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. ...