Questions tagged [vertical-alignment]

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

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 instead. If your question involves aligning elements of or , add the relevant tag along with this one.

Frequently Asked Questions

  1. How can I reduce the space between items in an enumerate environment?
  2. How can I vertically center text in a table cell?
  3. What's the difference between \pagebreak and \newpage?
  4. How can I get text underneath an \underbrace?
  5. How can I position text in Beamer at the top of the slide by default?
  6. How can I get one vertically centered equation number for two equations?
  7. How can I vertically center text on a page?
  8. How can I vertically center two adjacent images?
  9. How can I increase the row height of a table?
  10. How can I shift the title and author text up?
3769 questions
207
votes
5 answers

Vertically center text on a page

How do I vertically center the text on a page?
Neil G
  • 17,947
45
votes
2 answers

Putting text at the bottom of the page

Have a look at the MWE example below. I want the text to appear at the bottom of the page rather than on top. I tried the \vfill option, but this does not seem to do the job. Any ideas? \documentclass{report} \begin{document} \vfill © Copyright by…
PieterKJ
  • 1,055
25
votes
3 answers

Vertical text (not in table)

For a book cover, I want to write the title vertically (like in Japanese, but using English text): T T I H T I I M L S S Y E How do I do this without jumping through a host of \vbox and \hboxes?
user3671
  • 655
20
votes
2 answers

How to make an exact vertically centered object in a page?

Note: the red lines have the same length. \documentclass{minimal} \usepackage[showframe,paperwidth=4cm,paperheight=4cm,margin=1cm]{geometry} \begin{document} % \vspace*{\fill}% \fbox{test}% \vspace*{\fill}% % \end{document}
Display Name
  • 46,933
17
votes
2 answers

Which package defines \smash?

I sometimes see \smash used to control local vertical alignment. Which package defines it?
Roly
  • 4,221
  • 4
  • 26
  • 56
15
votes
2 answers

Optional ornament

For chapters that end with a mostly empty page, I'd like to insert some form of ornament. The ornament should not be inserted if there is not enough room in the page. Is there some way of testing available vertical space? (I don't need any help for…
13
votes
1 answer

\raggedbottom in book. Is it right way?

I recently noticed there is random spacing between paragraph in my book document class and from this community, I found the solution to use \raggedbottom (I don't have footnote). There are question related to this here but all are technical…
Selva
  • 361
12
votes
2 answers

Dedication page in article class

Alignment of dedication page in the document class article. \documentclass[a4paper,12pt]{article} \usepackage[paper=a4paper,left=30mm,right=20mm,top=25mm,bottom=30mm]{geometry} \newenvironment{dedication} …
rnish
  • 147
  • 1
  • 2
  • 5
11
votes
2 answers

Correct placement of sum limits

this is maybe some captious question like the correct placement of := but I always notice the unattractive placement of the limits between two sums. Lower limit example (The same holds for the upper limit as well.): \sum_{j=1}^m \sum_{\langle i,j…
Suuuehgi
  • 887
  • 4
  • 18
10
votes
1 answer

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} \usepackage{tikz,pgfplots,filecontents} …
Mohammad
  • 101
10
votes
2 answers

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: \begin{multicols}{4} \begin{parts} …
Garth
  • 103
10
votes
3 answers

How to start a paragraph from the middle of the page?

How to start a paragraph from the middle of the page, when something is already written in the first half of the page? e.g. \chapter*{Blabla} \lipsum[1-2] \gotohalf \lipsum[3] <- the first line of this paragraph should start from the half of the…
10
votes
1 answer

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 preface (consisting of multiple paragraphs on its own…
8
votes
1 answer

How to prevent book class from vertically justifying the contents?

If we use the book class, the output looks like the following screenshot. But if we use the article class, the output looks better as follows. The MWE is given as follows. Note: please enable -shell-escape! \documentclass[12pt]{article}% please…
8
votes
2 answers

Alignment using "\lesssim" command

I'm sure someone has asked this before, but can't find where! I use the code: $ a < b \lesssim c$ Unfortunately, it appears as: I want the "approximately less than sign" to be a bit lower. How can I do this?
slew123
  • 547
  • 2
  • 6
  • 15
1
2 3
11 12