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

4
votes
2answers
40 views

How can I vertically center forest trees?

I wanted to typeset So, I wrote (derivation of http://tex.stackexchange.com/a/302713/82730) \documentclass[a4size]{article} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{adjustbox} % ...
2
votes
1answer
50 views

How to remove extra vertical space between vertically merged cells?

Following this thread, I have used the array package and \setlength\extrarowheight{3pt} to slightly heighten the rows in the table below in order to make room for the diacritical marks. \...
1
vote
1answer
19 views

How to fix vertical alignment of a minipage with a wrapfigure inside

In this example \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \usepackage{wrapfig} \begin{document} foo \begin{minipage}[t]{.9\linewidth} \lipsum[1] \...
4
votes
0answers
8 views

1pt vertical space after/before \includegraphics [duplicate]

Where does the approximately 1-point vertical white space between subsequent figure rows come from? You may see it in my MWE only if you zoom in between the rows. I have tried a couple of things to ...
1
vote
1answer
34 views

How working position label longtable?

2 problem: How align "continued table" and \caption text in left? \raggedright not working in this situation. How delete empty line before enumerator? Source code: \documentclass{article} \...
1
vote
1answer
27 views

Vertical alignment of attributes on long table

I have created a longtable of 4 columns. As shown below. I would like to have the attribute on the first column, in this case "Business" vertical (sideways)instead of horizontal. What is the easiest ...
1
vote
1answer
72 views

Is there a way to switch columns in paracol without introducing a paragraph break in the pre-switch column?

(M)WE: \documentclass{memoir} \usepackage[margin=1in]{geometry} \usepackage{paracol} \begin{document} \newcommand{\switchtoleft}{\switchcolumn[0]} \newcommand{\switchtoright}{\switchcolumn[1]...
3
votes
1answer
166 views

How to match vertical alignment of titlesec with tocloft?

I want to vertically align the Contents title including the horizontal rules (using tocloft) with the Introduction chapter title (using titlesec). However, I am confused as both packages seem to ...
3
votes
2answers
46 views

How to make text's vertical alignment be centered depending on a image's height?

I tried wrapfig and minipage but wrapfig gives me collisions while minipages don't center the text to the image properly. Example with minipage: \documentclass[14pt,oneside]{memoir} \usepackage{...
2
votes
1answer
152 views

ModernCV classic - family name on separate line

I'm trying to create a resume using the moderncv classic template, but the lay-out of my name is a bit off. Since my last name is fairly long and the personal information box on the right includes a ...
1
vote
0answers
15 views

How can I put a minitoc and the chapter title on the middle of the page?

So far I've managed this [1]: http://imgur.com/o2QjG8d "image" but the chapter won't be on the middle page. With this code: \chapter{\vspace*{\fill} Introdução} \centering \minitoc \label{ch:...
1
vote
0answers
29 views

I want to center vertically these group-plots but i can't do it

\documentclass[border=1cm]{standalone} \usepackage[x11names,dvipsnames]{xcolor} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{pgfplots} \usetikzlibrary{arrows,snakes,patterns,decorations....
1
vote
1answer
28 views

IEEEtran setting for 10-point type, 12-point vertical spacing

I am going to submit a journal paper that requires the following page formating: 14 double column, 12 pt pages double column page is defined as a 7.875" x 10.75" page with 10-point type, 12-point ...
12
votes
4answers
463 views

How do diacritical marks impact centering and overshooting?

I am creating a table containing several foreign names with diacritical marks in them, and it seems to me that they ruin the vertical alignment, as they are too close to the top horizontal line. How ...
6
votes
2answers
2k views

Shift page up slightly. Can't get \enlargethispage*{-2\baselineskip} to work

How would I shift up my 2nd page to the 1st page? There seems to be a lot of space left on the 1st page but I can't get the 2nd page to move up to the 1st page. I tried using \enlargethispage*{-2\...
2
votes
1answer
36 views

tabularx/siunitx table: column of integers not properly aligned

I have adapted a table format recently suggested on t.SE, which works well except for two issues. MWE is below. \usepackage{array} \usepackage{dcolumn} \usepackage{tabularx} \usepackage{...
1
vote
1answer
37 views

table in the middle of the page

I'm creating an Appendix of lots of tables. I write \newpage \section{Appendix} \label{append} \begin{table}[h] \input{table1} \caption['Tis table1]{'Tis table1} \label{table1} \end{...
1
vote
1answer
21 views

How to flushbottom in the middle of a page respective to the next page

Consider the following MWE: \documentclass[twoside]{article} \usepackage{lipsum} \usepackage{calc} \usepackage{printlen} \uselengthunit{mm} \begin{document} \newbox{\mybox} \savebox{\mybox}{\begin{...
0
votes
1answer
120 views

Beamer frame title manually change vertical and horizontal position

I am trying to change the vertical and horizontal positions of my frame titles and subtitles. So far I am using \setbeamertemplate{frametitle}[default][center] but I would like more control. Is it ...
1
vote
1answer
40 views

fix alignment to have “=”s at one column

In my answer here, The alignment is not good. How can I fix alignment to have "="s at one column? Thank you.
1
vote
1answer
52 views

Cannot set up vertical indentation of some chapters [closed]

I have a class file to set up a very long report file (a thesis). So, this document is actually a modified report class. I haven't set up the class file myself but I have got familiar with the class ...
2
votes
1answer
1k views

How to align text without two column?

I want to have the following text alignment and I don't want to use any "two column" and table because an environment I use doesn't support them. :( The text format looks like the picture below. ...
1
vote
1answer
30 views

Align text with center of picture in Beamer

\documentclass{beamer} \usetheme{Madrid} \begin{document} \begin{frame}{Members} \begin{columns}[T] \hfill \begin{column}{.32\textwidth} \hspace{2mm} \includegraphics[height=0.2\textheight]{john....
0
votes
1answer
35 views

Vertically middle placement in Beamer

\documentclass{beamer} \usetheme{Madrid} \begin{document} \begin{frame}{Members} \begin{columns}[T] \hfill \begin{column}{.32\textwidth} \hspace{2mm} \includegraphics[height=0.2\textheight]{john....
5
votes
3answers
170 views

Vertically center a table inside a subfloat

The following MWE produces two tables side by side: \documentclass{report} \usepackage{tabu} \usepackage{booktabs} \usepackage{multirow} \usepackage{subfig} \usepackage{siunitx} \usepackage[version=...
2
votes
1answer
23 views

vertical spacing macro

I want to make large numbers of slides (=pdf pages) with one large word on each slide, centered vertically and horizontally. But the output is not centered vertically. I tried using the starred ...
2
votes
1answer
17 views

Vertical positioning of “part”-level header

I am using the \part sectioning with the following definition: \def\@part[#1]#2{% <------------------------------- \part[..]{...} \ifnum \c@secnumdepth >\m@ne \refstepcounter{part}% ...
5
votes
1answer
269 views

Why do the subscript numbers look misaligned?

I have the feeling that $\mathbb{Z}_{31}$, once compiled, look strange. It seems that the digit 1 is just slightly above the digit 3, or the other way around: the curly lower part of the digit 3 is ...
0
votes
1answer
33 views

Mixing vertical alignments in a tabular

I know about tabu,tabularx, array, and the likes, but none of them seem to provide a satisfying answer to a remark made in the LaTeX Table Hints and Tips by Adrian P. Robson. Quoting: ...
2
votes
0answers
45 views

Is there a way to control vertical spacing between minipage elements?

I have a large (7-chapter) document on linear algebra. In a part of the document where I do row/column operations, I have put the matrices in a figure within a minipage. I am getting a lot of vertical ...
70
votes
3answers
38k views

How to get only one vertically centered equation number in align environment with two equations

What I have are two equations with align and I want one single equation number to refer to this system of equations. To illustrate, I have \begin{align} dr_t &= \kappa ( \theta - r_t ) dt + \...
2
votes
2answers
51 views

vertical centering in tabular using array and booktabs

In the following school timetable for my 4 kids I am trying to use array and the m{} command (vertical align middle) to get the word Peter to be vertically aligned in its cell, (at the cmidrule), ...
6
votes
2answers
769 views

Text in table with images is not aligned on top

I have table with text in the first column and image in second. I want both columns to be top aligned. I use following code: \begin{tabular}{p{3cm}l} Internal state after adding 2 elements & \...
1
vote
0answers
41 views

one chapter affects layout of the next one

I maintain a very long document, which I usually process chapter by chapter, then compile the whole when the chapter I changed satisfies my needs. however, I saw an inconsistency in one of my ...
3
votes
1answer
48 views

Items in columns are not top aligned the same

If I'm using itemize inside a beamer column, the items are not the same way top-aligned as the items without a column. I want the symbols of both items in the images to be at the very same place. \...
2
votes
2answers
55 views

How to use aligment in a list?

At the moment: What I want: Here is the code: \begin{enumerate}[(a)] \item $3,6,9,12, \dots$ \item $3,5,7,9,11, \dots$ \item $2,3,5,7,11,13, \dots$ \item \includegraphics[scale=...
2
votes
1answer
53 views

\vspace with negative value not working as expected

I want to position the image exactly in the corner of the margins, regardless of the text. However, the "Foo" gets placed slightly lower when using the code between the %s. Comment it out and you'll ...
3
votes
1answer
36 views

Side by side nodes, Horizontally aligned

I am trying to have two rows of nodes, but as you can see, the nodes are not horizontally aligned, so the arrows are off. How can I fix this? Result: MWE: \documentclass{article} \usepackage{tikz}...
1
vote
2answers
89 views

Vertical spacing in list — latex3 syntax

Consecutively to this question, I need to add something after the inclusion of on itemed file to be sure that what comes next begins on a nexwline. I don't want skip blanck line in the source I'd like ...
12
votes
3answers
23k 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 ...
2
votes
1answer
71 views

How to align something to the paper diagonal [closed]

I drew a very large proof tree using bussproofs. Now, it does not fit on the page in either horizontal or vertical alignment, but it would fit on the page if I could align it to the diagonal of the ...
1
vote
1answer
30 views

Placing two different floats next to each other (independent, float-specific captions)

I have two floats, a figure and an algorithm (new floating environment). I want then to be placed next to each other each using half the linewidth (or 48%, or whatever looks the nicest). I have tried ...
1
vote
1answer
41 views

align numbers based on their decimal point [duplicate]

I have the following table: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table} \centering \begin{tabular}{ lcccccccc } \toprule \multicolumn{5}{c}{\textbf{Training ...
2
votes
1answer
39 views

How do I centre the text in this custom paper size example?

I try to use the Swedish G5 paper size (169x239)mm with text width 111mm, text height 165mm, side margins 29mm and top margin 37mm. Why doesn't the text get centred? \documentclass[twoside,10pt]{...
1
vote
0answers
66 views

Adjust alignment of text inside TikZ

A block diagram is generated with tikz pfg via Dia. However, the text inside the blocks is misaligned vertically. This answer says that it is impossible to do from Dia. So, how can following diagram ...
4
votes
3answers
207 views

Graphics and brackets not vertically aligned within align environment

I'm trying to include small graphics within an equation setting (they're little diagrams of mathematical knots), using \includegraphics within the \begin{align} environment. The graphics themselves ...
7
votes
1answer
127 views

Alignment of TikZ pictures in subfigures

I have made two figures using TikZ that I would like to place side by side. This is done in this MWE: \documentclass{memoir} \usepackage{graphicx} \usepackage{tikz} \newsubfloat{figure} \begin{...
1
vote
1answer
35 views

Make LaTeX / KOMA-Script ignore vertical depth in sections

How can I force LaTeX / KOMA-Script (>=3.15) to ignore the vertical depth in sections? MWE showing the problem: \documentclass[twoside]{scrartcl} \begin{document} \section{ja} \rule{\textwidth}{1cm} ...
0
votes
1answer
27 views

Consolidating start of page

This is a follow-up to this question. I would like the contents of the page to start exactly where they would start if the header wasn't present. This turns out to be a lot more difficult than ...
1
vote
2answers
55 views

to vertically align text in center in table when other cells are rotated

I am trying to move first cell text "Assembly" to the center of cell. I already tried raisebox, parbox and many more things but nothing worked. Please help me. And, I don't want to change the rotation ...