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

5
votes
2answers
58 views

Problem with table lines in a footer

Hello dear LaTeX users, I'm having difficulties with table horizontal lines positions. I'm using a table in a footer to obtain such an composition with page number: While everything works fine for ...
3
votes
4answers
66 views

Aligning answer choices vertically on a multiple choice test

I am making a multiple choice calculus test and have the following code. \documentclass[12pt]{article} \usepackage{amsmath,amssymb} \usepackage[margin=1in]{geometry} \usepackage{enumerate} \...
1
vote
1answer
127 views

Alignment problem with fancyhdr for a report page layout

I am trying to define a base class for some reports to share the same page layout. I use the fancyhdr package for creating the header and footer but I am experiencing some vertical alignment problems. ...
1
vote
0answers
41 views

Align a picture partly outside a cell

I have this code: \documentclass[a4paper]{article} \usepackage{graphicx} \usepackage{multicol} \usepackage{longtable,tabularx,ltxtable} \usepackage{tabularx} \usepackage{multirow} \usepackage{...
2
votes
1answer
50 views

How do I vertically align a theorem environment at the top?

The following code renders the picture below. \documentclass[oneside,12pt]{book} \usepackage[a4paper]{geometry} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{enumitem} \usepackage{...
1
vote
2answers
63 views

\qed vertical alignment in Beamer

I am using beamer for some presentation and when I end the proof with a multi-line equation, I cannot set the positition the \qed symbol at the end of the last equation line. \documentclass[10pt]{...
5
votes
1answer
166 views

TikZ: force two pictures to use the same baseline/frame of reference

I have two TikZ automata I would like to place side-by-side: However, I would prefer the 'start' nodes to be aligned vertically on the page. This happens automatically if I add help lines large ...
1
vote
1answer
74 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
45 views

Possible to vertically shift baseline without using a box?

I would like to adjust the relative vertical alignment (baseline) of stretches of text; I'm aware of \lower, \raise and \raisebox, but as far as I can see those commands require / represent boxes and, ...
3
votes
1answer
59 views

reledmac: in double-spaced document, single-spaced two-col footnotes not aligned

In a double-spaced document with two-column single-spaced footnotes in the reledmac environment (using this solution), the lines across the footnote columns don't line up vertically. This issue ...
6
votes
1answer
114 views

Left aligning centered equations

I have set of equations which I would like to just assign one number to. The equations should be aligned at the center of the page. The problem is that I would like all equations to begin at the same ...
3
votes
1answer
243 views

How to place two boxes on the same line?

I need to place two different boxes on the same line with the word 'and' separating them, if anyone could help it would be much appreciated, thanks. Something like this:
2
votes
1answer
130 views

Vertical space command which is between \intertext and \shortintertext

Is there a way to define a command like \notsoshortintertext with two parameters to define the vertical space before and after it? The problem I have is that \intertext is to wide on a specific page ...
3
votes
1answer
71 views

Baseline of aligned equation

How can I fix the alignment of this equation? \[\aligned A = \aligned \Bigg( &a \\ &b \\ &c \Bigg) \endaligned dt \endaligned \] Current output: Desired output: I know I can ...
3
votes
1answer
139 views

TikZ Circle/Ellipse Around Text

I'm making a multiple choice question and answer. How do I make an appropriate shape (probably an ellipse, oval, or rectangle in this case) around the correct answer without messing with the text ...
5
votes
1answer
148 views

Extra space around nodes in forest multiline mode

In multiline mode (align=center) in forest, there is extra vertical space around the node. The first tree below is not in multiline mode. The second is in multiline mode, and there is extra space ...
2
votes
1answer
96 views

Beamer: Footnote vertical align problem

The usual trick to get rid of the Beamer navigation symbols and replace them only by a page number is to use % Make footline contain only page/pages \setbeamertemplate{footline}[page number]{} \...
2
votes
2answers
110 views

vertical space after \hrulefill

I use the following as a title for my draft document: \documentclass[12pt]{article} % Various packages \begin{document} %%% Title \begin{center} \hrulefill\\ \textit{\bfseries \Huge The name of ...
2
votes
2answers
33 views

Vertical alignment in new macro

I have the following macro: \newcommand{\mycommand}[4]{ \begin{tabbing} \hspace{2cm} \= \kill \textbf{#1} \> {#3} \\ \textbf{#2} \> \begin{minipage}{\...
1
vote
1answer
92 views

chemfig formula in table - vertical alignment

I want to create numbered chemical formula via chemfig environment. MWE: \documentclass[a4paper,fleqn,leqno]{article} \usepackage{polyglossia} \usepackage{tikz,tikz-3dplot,graphicx} \usepackage{...
4
votes
2answers
29 views

Wrong padding when using 'm' column in table with `\lipsum`

I'm having some troubles with the 'm' column type in my tables. For some reason when using the m column type the content is offset bit to the top causing the top padding to be reduced and the bottom ...
1
vote
1answer
54 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
72 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
78 views

Problem with centering header in pgfplots table

I followed some of the posts that deals with centering of the headers in the pgfplots table, line that found here, however, I still cannot seem to be able to center the headers over the number in the ...
0
votes
1answer
103 views

vertically align cell in table that includes minipages

In the following table (code included below), how can I vertically center the text RowName1? (note that each bulleted list must be within a minipage environment). Code: \documentclass[letter]{...
2
votes
1answer
44 views

Multirow vertical aligment issue

I am having issues with creating my table with multirow. Vertical aligment is not centered properly (letters are more at "top"). I think that is caused by "hline". When I use "toprule, midrule,.." ...
1
vote
1answer
68 views

How to align two side by side equations at the top?

\begin{equation*} \begin{array}{ll@{}ll} \text{minimize} & \|Ax-b\|_\infty &\\ \end{array} \quad \begin{array}{ll@{}ll} \text{minimize} & t &\\ \text{subject to} & Ax-b \preceq ...
2
votes
1answer
52 views

Flushleft align text in in align environment

I wanted to flushleft align the text in my align environment. Basically, I wanted to get this effect: Here is my code: \documentclass{article} \usepackage{amsmath,amsfonts,amssymb,amsthm, bm} \...
10
votes
3answers
301 views

Aligning matrices

Sorry if this might be a very banal question. I am fairly new to LaTeX and I am having issues with matrices alignment. I am trying to achieve pretty much what is shown in this picture, I have tried ...
2
votes
1answer
52 views

Vertical Alignment issue at random places in JCST Journal

I am currently, writing a paper for JCST journal and facing following problem. I have tried almost all possible solutions to fix it but all in vain. Here is the MWE \documentclass[12pt,twoside]{...
3
votes
1answer
133 views

Common caption below vertically centered figure and table

I want to extend the answer from Table and Figure side-by-side with Table caption above, Figure caption below by making a common caption beneath the vertically centered image and table instead of ...
2
votes
1answer
38 views

Blocks alignment

I'm new with LaTeX, so to start I've downloaded a template of CV. I want to do a newline in the left block, but the result that i obtain is this: As you can see the two blocks are no more ...
0
votes
0answers
41 views

\begin{language} causes unwanted vertical space e.g. in tabular

The \begin{language} environment in polyglossia seems to create an extra vertical space which misaligns text, for example in a table. Here is an example. I have tabular with 2 columns of type p{} , ...
0
votes
1answer
177 views

Absolute value size! (\lvert doesn't scale) [duplicate]

Everyone seems to ask about this and the usual solution seems to be to use \lvert and \rvert with the amsmath package, but that doesn't work for me either. example: f_{3,2} = \left(\sqrt{13}-2-\...
2
votes
2answers
191 views

Vertical align text next to image in rhead without influencing the positioning of lhead

I try to vertical align a text next to an image in a fancyhdr environment. This is my LaTeX code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \usepackage{...
4
votes
0answers
37 views

vocalised arabic changes baselines in tabular environment

Using polyglossia I often set an Arabic text opposite and English text, and I want the baselines to match vertically within a tabular environment. Sometimes the Arabic text is vocalised, and ...
0
votes
0answers
107 views

How can I make wrapped figure float at bottom of page?

I have a wrapped figure and I want to make it float the bottom of the page (like one can do with the figure environment). Using wrapfigure I can choose left or right {l}({L}) or right {r}({R}), but ...
1
vote
0answers
94 views

Align beamer slides with frame breaks

As addressed in First slide of references in beamer starts one line further down, a bibliography across several slides is not vertically aligned from the first slide to the next. In that case, it ...
2
votes
2answers
91 views

Merge table rows vertically and align text vertically

I want to create a table that looks like this: So this is what I already got: \documentclass[]{article} \usepackage[T1]{fontenc} \usepackage{booktabs} \usepackage{multirow} \usepackage{graphicx} ...
4
votes
2answers
128 views

Problem with vertical alignment and centering of caption for pgfplot

I am having a problem keeping the vertical alignment of the plots. Also, my caption text is not centered. This is what I get in my document: Can you assist me in getting the graphs to align ...
5
votes
1answer
44 views

polyglossia and vertical tabular alignment

I have two tabular side by side and I want their tops aligned. When I use English language, it works fine. When I use Arabic language, the tables suddenly become bottom-aligned, even though I used ...
2
votes
1answer
61 views

Alignment problem when using enumerate with the answers package

When using enumerate inside the answers package to generate a list of exercises the first item is not correctly indented compared to all other items which come after it. Is it possible to use ...
6
votes
1answer
138 views

chemfig: how to align the arrows of different schemes?

I am trying to get the arrows of three different schemes aligned but would like to have text in between them, as you can see below. Despite searching for hours, i haven't found a solution.. \...
2
votes
1answer
100 views

The text is not flushed to the bottom in Koma-script [closed]

I have a problem using the scrbook class. Since I updated my miktex (and the koma-script package), I noticed that the vertical alignment of my document has changed. The bottom of the pages are now ...
3
votes
4answers
258 views

How to move math symbols vertically and horizontally

How do I move the double arrow horizontally to the right? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{p{5cm}p{5cm}} {\begin{align} \underset{u(t), \eta(t), r}{\...
2
votes
2answers
49 views

How do i begin a statement just below some text?

I wish to begin a statement just below some text. e.g. This is the point . below which i wish to begin the next statement I wish to start this statement from just below the dot
6
votes
2answers
250 views

\underbrace spacing

I am currently using the \underbrace command and would like to center \cdot between the two terms. How can I better format this dot product and also line up the underprice text to the same heights? ...
6
votes
2answers
98 views

How to (best) align this list?

The desired result: My attempt: \documentclass[12pt,a4paper]{article} \usepackage{amsmath,enumerate} \usepackage{tablists} \usepackage{multicol} \title{Extension Multiplication of Algebra} \date{}...
1
vote
1answer
61 views

Vertical space between a word and a line

I want to reduce the vertical distance between "Education" and the line. How to do that? I am using the following code: \usepackage{tikz} \newcommand*{\Line}[3][]{\tikz \draw[#1] #2 -- #3;}% \textbf{...
3
votes
3answers
103 views

Automatic vertical spacing after minipage when used in tabulator environment

I encountered some issues with the minipage package combined with the tabulator options. For clarity, I provide a MWE: \documentclass[10pt, a4paper]{article} \usepackage{multicol} \newcommand{\ntab}[...