Linked Questions

28
votes
1answer
64k views

center horizontally and vertically a block of text

I would center horizontally and vertically a block of text as if it was an abstract text block.How can I do? I tried this: \null\vfill \begin{center} \end{center} \vfill\null it It correct?
19
votes
2answers
6k views

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*{\...
5
votes
1answer
22k views

Centering table in landscape page [duplicate]

I'm trying to get a table centered both vertically and horizontally in a landscape page. I've tried some of the solutions proposed around here but I can't get them to work in my specific case. Here ...
12
votes
2answers
1k views

How to vertically center content in ConTeXt?

I would like to vertically center my title page. I have tried code like this, but it does not work: \vfill \startalignment[center] Title \stopalignment \vfill I am using ConTeXt, so the ...
11
votes
1answer
2k views

TeX ignores \vskip at the beginning of document

Here is a simple Plain TeX snippet for demonstration \vskip 3in Aaaaa \vskip 3in Bbbbb \end When I compile this with pdftex, I expect to see a 3-inch-high blank space, then Aaaaa, followed by ...
4
votes
1answer
4k views

Vertically align table in a page

I would try to align vertically a table in a page. I have a page contains only a table and I would put it at the center of the page. To center it horizontally I used \centering but what command should ...
2
votes
2answers
2k 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. ...
2
votes
2answers
1k views

Evenly spacing figures vertically across page

I am compiling an appendix for my dissertation consisting only of figures. Currently the gap between the top figure and the top of the page is smaller than the gap between the lower figure and the ...
1
vote
1answer
1k views

Section heading in sideways environment does not change header

The appendix of my thesis contains some large tables which I create using the sideways environment. As, in the appendix, every table is an own section, I include the section-command within the ...
5
votes
1answer
640 views

Vertically center rule on a page

More precisely, I want to get a 18 × 26 cm² landscape box with a rule at the middle. Combining the crop package and this code I got: \documentclass{article} \usepackage[paperwidth=18cm,paperheight=...
1
vote
1answer
474 views

Create new class - reuse \NewDocumentEnvironment

I am trying to create a new class for my thesis. I defined a \NewDocumentEnvironment for the Abstract page. The usage is as follows (#1 m, #2 o, #3 O): \abstract{Your abstract}[number of blank ...
1
vote
0answers
571 views

How can I center my whole document while using the Memoir class?

The Memoir class by default does the left/right page difference in centering. How can I use the memoir class while making the whole thing centered? All I've found was this thread Vertically center ...
2
votes
1answer
297 views

How to insert a multicolumn among columns?

I want to create a table in latex in which I have a multicolumn among columns. something like the following: How can I create it?
1
vote
2answers
150 views

Vertically center (contents of) environment on page

Consider the following example: \documentclass[ 12pt, landscape ]{article} \usepackage[ a6paper, margin = 0cm ]{geometry} \usepackage{lmodern} \newenvironment{horse} { \topskip0pt \vspace*...
3
votes
1answer
64 views

Center text vertically on page with \vspace*{\fill} — More space at top of the page

I want to center text on a page vertically and horizontally. I took the answer from here https://tex.stackexchange.com/a/2327/110351 and created the following document: \documentclass[pagesize=auto, ...

15 30 50 per page