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

3
votes
2answers
31 views

How to have a figure with multiple groups of image and each image with individual name?

I have several images and I must put their names below them. Moreover, I need to give the name of the group of that images too (for example, "first layer", "second layer" ect as show below). I need to ...
1
vote
2answers
27 views

aligning text in a cell of a table

How to vertically align short stack in a cell of a table? I am using "\shortstack" and would like it vertically centred in the cell of a table
4
votes
1answer
86 views

Why Won't m{} Vertically Center My Contents?

I am trying to center ALL the contents of ALL the cells in the table below. It's working horizontally, but not vertically. I definitely don't know how to best vertically center the last column, ...
2
votes
1answer
21 views

vertically align pgfplots using subfigure

I need to align my two plots. They seem to be anchored by something other than the text. Because one pgfplot has more text in the caption then the other, it offsets it. Please see image. I tried ...
2
votes
2answers
29 views

Vertical alignment with cases environment

I hope this question is not duplicate: How is it possible to align all of these equals signs? The main problem is the cases environment, because I don't know how to reference the &-Operator. ...
1
vote
1answer
49 views

change vertical position of footer in scrlttr2 from KOMA

I have a document that uses KOMA script. It is a scrlttr2. I want to set a footer, which I did with \setkomavar{firstfoot}{ bla bla bla } Now the bla bla is a little bit longer, too long for the ...
3
votes
2answers
49 views

Vertical alignment when using { or math symbols

How can I adjust the vertical alignment in the following table for the cell which have for example the value \{0.91,0.15\}: ...
3
votes
1answer
50 views

How to align horizontally tikz picture and text in a tabular in LaTex?

I have a table as shown below: My code is: \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amsfonts,amssymb,tikz} \usepackage[left=1cm,right=1cm,top=1cm,bottom=0cm]{geometry} ...
1
vote
1answer
24 views

Aligned multiline equations

I'm using an align environment in a long derivation. Each equality is aligned at the equal sign. Individual lines are too long to fit the page, so I need wrap them. However, I don't just want them to ...
2
votes
2answers
70 views

Listings: add vertical padding without abusing frame

I have the following setup for my displayed listings: \documentclass[a4paper]{article} \pagestyle{empty} \usepackage{listings,xcolor,lipsum} \lstset{ backgroundcolor = \color{yellow}, ...
3
votes
1answer
24 views

Vertical alignment in sections beginning with itemize

I'm working on a résumé which places section headers in a widened left margin. In the example below, I am trying to get the itemize in section Bar to be vertically aligned with the section title, ...
2
votes
1answer
41 views

parbox vertical alignment after brace in equation

In the code below, I am trying to center the parboxes vertically, relative to the braces. I have been playing around with the position argument, to no avail. Can you help me with this? Thanks in ...
0
votes
1answer
19 views

Signature image on line with text beneath

I try to make a signature inside a latex template with a hand written signature image from a png. I like to place it on a line with the name as text beneath. I've tried to make it with a table, but i ...
1
vote
2answers
91 views

How to do ( figure and text)

How do I place the figure aligned with the text? \begin{tabular}{cc} \includegraphics[width=0.25\linewidth]{IFSPMTO} & \begin{tabular}{cc}\hline \textbf{Instituto Federal de Educação Ciência e ...
2
votes
1answer
122 views

Vertical alignment when title is empty in beamer template

I'm using a customized template for Beamer. Among other things, I have completely rewritten the headline template. However, when I use a frame without title, the vertical alignment is not the same as ...
6
votes
1answer
160 views

How can I correctly align the nodes of this TikZ picture?

I have the following TikZ picture: and I would like to have my nodes aligned in the way indicated in red. How can this be done? What I have so far is pretty messy and I don’t see how to achieve ...
4
votes
1answer
47 views

align pgflots with axis as baseline

Consider the following snippet: \documentclass{article} \pagestyle{empty} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[scale=0.35,baseline=(current axis.south)] \begin{axis}[axis ...
1
vote
1answer
25 views

vertical alignment of minipages in two columns in a longtable

I began to learn latex and I use it to prepare a CV. I made good experiences by organizing my CV with a longtable, in order to define the widths and the alignments of the different text blocks. In my ...
3
votes
2answers
48 views

Centering figures vertically on a page?

I am finishing off a book, and there are a few issues with some page layouts. Specifically, the publishers have requested figures to be on the top and bottom of pages as much as possible. I have ...
5
votes
1answer
43 views

How to prevent alignment changes in beamer due to changing line height in list items?

Consider this simple setup: \documentclass{beamer} \begin{document} \begin{frame} \begin{block}{The One} \begin{itemize} \item \only<1>{This is a tall row.} ...
3
votes
1answer
17 views

catchfilebetweentags error with multicol

I am using the catchfilebetweentags library to store equations in an external file and then import them into my document. This is useful when you need to use the same equation in multiple documents. ...
2
votes
2answers
58 views

Draw rectangular nodes defined by opposing corner coordinates with vertically centered text

I've got some coordinates in a tikz-picture and I'd like to draw some rectangles defined by two opposing corner coordinates. The seemingly easiest way to do that I found with this answer: Placing a ...
3
votes
1answer
19 views

\flusright in Tikz-timing

MWE \documentclass[border=2mm]{standalone} \usepackage{tikz} \usepackage{tikz-timing} \usetikztiminglibrary{nicetabs} \newcommand\gtikzset[1]{% \begingroup% \globaldefs=1\relax% ...
0
votes
1answer
2k views

Vertical centering of figure

I understand from other posts that a single float should automatically be centered vertically on the page; however, this does not seem to be the case in my code. Why? I use the book class. Both ...
4
votes
2answers
118 views

Why have floats smaller headsep?

I am typesetting an illustrated book, and the author pointed at the pictures seemint to have a smaller headheight. I think he is right and I am wondering why. Here is my MWE: ...
1
vote
0answers
38 views

“you can't use '\end`' in internal vertical mode” [closed]

I use Texpad on Mac. All was well, and then while typing, no significant change added (except a \cite, now deleted), I get this error: "you can't use '\end`' in internal vertical mode" Tried ...
2
votes
1answer
46 views

vertically align column in a table with wrapped text

In the following table, I want the first column to be top-aligned and the second column to be vertically-aligned. In contrast, LaTeX is aligning with respect to the baseline of the first line of ...
4
votes
1answer
69 views

How to make vertical alignment of columns different in Beamer?

I try to make a frame in which I indicate a figure on the right side and add a description about it on the left side. I want the description top-aligned and the figure center-aligned, but I have ...
5
votes
1answer
52 views

Vertically oriented “row names” for subfigures

How can I create vertically oriented "row names" for subfigures? I tried to visualize my idea here: Here is the code for the images using the subcaption package to get subfigures within a larger ...
2
votes
1answer
28 views

Horizontal Line before and after abstract, different alignment

I'm trying to set up a basic .lyx file for my lab reports. I'm now struggling with the abstract: I'd like to put before and after the abstract environment two horizontal lines. So, I did it ...
1
vote
2answers
31 views

Long text in rotated multirow

I created a minimal example with the bad table in red. \documentclass{article} \usepackage{siunitx} % To align the numbers later on \usepackage{booktabs} ...
6
votes
2answers
245 views

\left( and \right) too big when surrounding a sum (etc.) with no superscript; exacerbated by substack

When I write \varphi^{-1}\left(\bigcap_{\substack{\mathfrak{p} < B \\ p \text{ prime}}} \mathfrak{p}\right) I get something like this: Apparently it's leaving symmetric amounts of room for ...
3
votes
1answer
51 views

Images not aligning below text

I have some text and I want the images I have inserted to show up below it. However when I try to insert the image it appears to move to the next column, How do I have the image to be position ...
1
vote
1answer
28 views

Unwanted space above pictures in table cells

I'm new to LaTeX and have a question about placing external graphics in table cells and align them correctly. Yes, I did read a similar posts but couldn't find the solution to my problem yet. Here is ...
2
votes
2answers
54 views

Abbreviation list align left with space between

Hi, Here is a sample code of my problem: \documentclass[12pt,a4paper]{report} \usepackage[labelfont=bf]{caption} \usepackage{listings} \usepackage{acro} \DeclareAcronym{loT}{ short = IoT , long = ...
1
vote
1answer
36 views

Shared legend below a group of horizontally aligned figures in pgfplots [duplicate]

How should I run the following example code using /pgfplots/legend to name={<name>} to put a shared legend below a group of horizontally aligned figures? The example code using ...
3
votes
1answer
26 views

Height of text in minipage - columns not parallel

I’m using minipage for the design of my thesis’ titlepage. I have two columns and the problem I see there is, the texts in both are not at the same height. \begin{minipage}{0.4\textwidth} By:\\ ...
1
vote
1answer
19 views

Trouble aligning table on landscape page

I am trying to print a large amount of data onto pdf files using LaTeX. I have tabulated this data (a selection of which is in my example below). In order to fit all these data onto the page I have to ...
1
vote
3answers
44 views

Vertically aligning content in table cell

I have the following code: \begin{table}[h] \begin{tabularx}{\textwidth}{ m{4cm} X } & Derivations \\ $v=v_0+at$ & test \newline test \newline ...
3
votes
1answer
45 views

Horizontal alignment - two tabulars in minipages

I originally had a list in itemize that I wanted on the left and a "legend" created by tabular I wanted on the bottom right of a slide in a presentation. Then, I learned that wraptable doesn't work ...
3
votes
1answer
111 views

Text and picture top-aligned, where text is left-aligned and picture is right aligned

Using the answers from this sight, I tried to accomplish top-aligned text and image where text would have to start from the left side of the page, and picture would be at the right side. However, ...
3
votes
3answers
75 views

Vertical stacked parboxes: Spacing and Calculating

I need a table which will work in twocolumn mode and can span over multiple pages. Since I've given up with supertabular (too buggy, too less control), I wrote a simple solution for my purposes with ...
2
votes
1answer
96 views

Strange \parbox issue: vertical positioning

I'm working on updating my resume and converting it into a LaTeX-based CV. I'm reusing features from several open templates, which I liked, but I'm trying to modify the document per my taste and ...
2
votes
1answer
45 views

Mixing m and X in tabularx

I have a problem with tables containing m and X columns. I need one column which should be vertically centered and another one which should fill the available horizontal space. My problem is that the ...
3
votes
1answer
52 views

Tikz: multi-line vertically aligned node

Can I align these multi-line nodes vertically? \documentclass{article} \usepackage{tikz} \usetikzlibrary{ fit, positioning, matrix, } \begin{document} \begin{tikzpicture} \tikzset{ ...
4
votes
2answers
71 views

Adjusting vertical position of a dingbat font symbol

At the end of brief sentence I inserted a dingbat font symbol to point to an area on the page to the right. Since the original size looked small, I enlarged the symbol by using font size control ...
1
vote
2answers
25 views

Table value alignment

I have a table that looks like this. I generate it using: \begin{table*} \centering \caption{ The parameters obtained from the fit for the real-space correlation function \xir{} on the sample with ...
13
votes
2answers
16k views

Table rowspan and colspan

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. I want: Fixed width columns and fixed height rows; Centered cells ...
2
votes
2answers
42 views

Top-align beamer from .sty

I know I can top-align all frames by writing \documentclass[t]{beamer} However, I am creating a theme for my department. Is there a way I can pass this option from the .sty-file?
2
votes
1answer
47 views

Subcaption: Adjust vertical position of three images inside multirow

I want to put three images in a figure. Two shall be above each other on the right. The third one shall be on the left. The left picture shall be vertically centered. I tried several approaches using ...