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

6
votes
1answer
174 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 ...
1
vote
1answer
30 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 ...
4
votes
1answer
51 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 ...
3
votes
2answers
52 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
50 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
19 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
60 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
21 views

\flusright in Tikz-timing

MWE \documentclass[border=2mm]{standalone} \usepackage{tikz} \usepackage{tikz-timing} \usetikztiminglibrary{nicetabs} \newcommand\gtikzset[1]{% \begingroup% \globaldefs=1\relax% ...
4
votes
2answers
120 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
86 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 ...
4
votes
1answer
83 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
58 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
34 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
33 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} ...
2
votes
1answer
51 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 ...
3
votes
1answer
54 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 ...
3
votes
2answers
64 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 = ...
3
votes
1answer
27 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
44 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 ...
1
vote
1answer
29 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 ...
1
vote
1answer
20 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 ...
3
votes
1answer
50 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 ...
2
votes
1answer
52 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
3answers
81 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 ...
1
vote
1answer
67 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
1answer
63 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
81 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
27 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 ...
2
votes
2answers
49 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?
3
votes
2answers
46 views

subfigure caption incorrectly aligned

I have the following code with two tikz pictures (I am not an expert sorry if it can be simplified) \documentclass{article} \usepackage{tikz} \usepackage[ format={hang}, figurename=Figura, ...
0
votes
1answer
24 views

Multiline subscripts in summation notation [duplicate]

\documentclass{amsart} \begin{document} \[ \prod_{k=0,\ k\neq i}^{n} \frac{x-c_{k}}{c_{i}-c_{k}} \] \end{document} I would like to make the k \neq i, which is next to k=0, parallel to k = 0. I tried ...
1
vote
2answers
41 views

Vertically align vector arrows

I'd like to write an expression with several vectors: $\vec{t} + \vec{a}$ I'd like the arrow to appear at the same level, but the t arrow appears higher than the a arrow. I tried with ...
2
votes
1answer
70 views

Centering in a table

\documentclass{article} \begin{document} \begin{center} \begin{tabular}{ | p{5cm} | p{5cm} | p{7cm} |}\hline \centering{A} & \centering{B} & \centering{C} \\ \hline ...
2
votes
0answers
44 views

Positioning of text and table always at the bottom of a page

I need to align some content (text/tables) always at the bottom of a page. In between there is a tableofcontents - this is obvisouly of relative length. That's why I cannot use absolute distance with ...
4
votes
4answers
52 views

Align by relations of different width

I am typesetting some expressions using the align environment given by LaTeX's math mode. Here my MWE: \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
3
votes
1answer
30 views

Aligning a Acronym Glossary

I have a simple Acronym glossary using the following code: % arara: pdflatex % arara: makeglossaries % arara: pdflatex \documentclass{article} \usepackage[acronym,toc]{glossaries} \makeglossaries ...
2
votes
1answer
90 views

Vertical spacing problem in Beamer frametitle several lines long

I'm using Beamer with a custom template. Among other things, I have re-defined the headline to render the title within a parbox, together with other things that make the template, such as a logo, some ...
1
vote
1answer
47 views

How do you align page numbers 2 and 3?

I am formatting a 115 page book. I have a really strange problem. Page numbers 2 and 3 are not horizontally aligned as you can see in the screenshot. I have checked other page numbers and they are ...
2
votes
2answers
38 views

Rotate all but one table header

I want to rotate all table headers, except the one to the top left. The attached MWE does the job, but there is some space there that is caused by the one header that is not rotated. How can I avoid ...
1
vote
1answer
31 views

Vertically aligning fixed height tables

I'm trying to create a table with fixed height and width cells, which I have accomplished through other posts, but now the content inside my cells seems to begin at the halfway mark. As of now, the ...
3
votes
1answer
140 views

How to add vertical space between two figures in tikzpicture environment?

I would like to add a vertical space between two figures in tikzpicture environment. I use this option to have y axis aligned. So, how can I add a vertical space between figures? ...
2
votes
1answer
49 views

Line between two lines

I'm trying to make a business card using LaTeX. This is what I have come up with so far. The only thing I'm unhappy with is that I'd like the phone number to move down half a line so that it is ...
2
votes
1answer
24 views

Turn off floats temporally

I have written a command which puts content into a minipage to measures its height. It uses this information to insert "intelligent" pagebreaks, newpages, clearpages and warnings. To do the ...
1
vote
1answer
27 views

Align a chapter* title with a chapter title in memoir

I want to align chapter*-title with chapter-title in memoir, as show in the following +---------------------------------+---------------------------------+ | | ...
3
votes
2answers
35 views

Multirow verticle text centering on the last column [duplicate]

I have scoured other articles trying to find a way to vertically align the last column in a multirow table in the middle. Without luck, no matter what I have tried the text will not budge. The code ...
3
votes
0answers
52 views

Beamer columns misaligned vertically

I'm trying to pu my beamer TOC on two columns and I have this problem. When I divide my page in two equal columns, the left column is vertically misaligned. \begin{frame}[plain] \frametitle{Le ...
0
votes
1answer
35 views

Centering only a part of a presentation

I have the following code \begin{itemize} \item Optimal Effort:\\ $DPV{\Pi}_1(e)=-\psi(e)+(I+pe)\delta \longrightarrow \overline{e}=p\delta$ \\[0.2cm] \item Participation ...
2
votes
1answer
21 views

Center alignment of text with matrices

I am trying to reproduce output similar to the following: Notice the center alignment of the Y, X, beta, and e with the matrices above them. My attempt for something similar (assume all ...
0
votes
1answer
80 views

beamer full vertical centering

I am working with no predefined theme. It appears that with \begin{frame}[c] Hello world! \end{frame} the text is not fully vertically centered; it's a little bit too high. I managed to solve ...
3
votes
1answer
26 views

Alignment of only some subfigures

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \usepackage{subcaption} \usepackage{siunitx} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...