{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
133 views

Nodes on arrows not aligned nicely

I've written the LaTeX for an automaton that looks like this: As you can see, the 'b' on the arrow from q1 to q3 is positioned lower than the 'a, b, c' on the arrow from q3 to q2. Also, the 'b' ...
7
votes
3answers
121 views

Reposition Text around Images

So I'm trying to work on a visual layout for a kind of Xmas card. The idea is to have a pictures in the upper left and lower right corners with the family name and date centered in the upper right ...
3
votes
2answers
73 views

Align first line in tikz picture with surrounding text

I would like to align the baseline of the first row of the tikzpicture with the baseline of the surrounding text to get something like Let A → B be a function from A to B a → f(a) but at the ...
2
votes
3answers
63 views

Change row vertical alignment in a table

I am trying to produce a table that changes the vertical alignment of the cells for different rows. At the moment I have set up my table so that all the columns are middle and center aligned. However, ...
6
votes
2answers
77 views

Aligning stackrel signs beneath each other using split

I'm typesetting a proof by induction using split to align equality signs precisely beneath each other. One of the signs should have 'IH' on top of it to indicate that the induction hypothesis has been ...
4
votes
2answers
34 views

Alignment issues due to vspace and hfill

Facing issues with alignment (the 3 and 4 are out of alignment), I suspect it has to do with the vspace and hfill issue. Please assist. \begin{enumerate}[\textbf{(\roman*)}] \item Using a scale of 1 ...
0
votes
0answers
27 views

“Vertical array” inside multicols? Translation problem

I am using a 2-column {multicols}{2} environment for a translation of a text. On the left column is language A and on the right column is language B. Now my text has some rules which are indented ...
3
votes
1answer
68 views

How can I name a label node?

I have recently discovered the possibility to adjust the baseline of a tikzpicture via the baseline=... key. However, this requires the node at which the baseline should be oriented to have a proper ...
2
votes
2answers
41 views

Custom environment for second-level items not vertically aligning properly

While writing a document with lots of enumerate environments, I wanted to add a little subset, 1. So the item is here — and the inset is here Which I did pretty easily. However, when I ...
3
votes
2answers
46 views

arranging the arrows in align environment

I have the following code and I dont know how to align the two horizontal \Longleftrightarrows vertically higher than they are now. Ideally they need to be only vertically moved a bit up so that one ...
2
votes
2answers
52 views

Centering a table in a figure environment

I have the following code which I am trying to use to show the image of the lo shu magic square being translated into its numeric magic square equivalent: \begin{figure}[htbp] \centering ...
1
vote
0answers
43 views

Vertical chapter title in the table of contents

I'm about to write my thesis, and finally decided to do so in LaTeX. I'm still new to it though, and was wondering if something like this is possible in the table of contents: --+ | I | N | ...
3
votes
1answer
50 views

Read graphics dimensions

I'm putting sets of graphics (i.e. figures and graphs) aligned in sets of rows using caption and subcaption packages. As figures and graphs doesn't have same with/height ratio the captions in rows are ...
3
votes
2answers
41 views

Aligning three columns differently; with images, manually broken and wrap-around text

I am trying to create a situation with three columns from left to right: one with an image top-edge aligned to the top of the center column and the left of itself; one with wrap-around text having ...
1
vote
0answers
20 views

adjust vertical space between horizontal line of the radix in denominator and the horizontal line of the fraction

Even in display math I guess that there is too little space between the top horizontal line of the radix symbol and the horizontal line of a \frac. How can I control that vertical space? I have a ...
1
vote
2answers
31 views

\vspace is swallowing my column

I am using \vspace*{1cm} in my table.. Unfortunately, the column seems to have dissapeared at the location where I am placing my /vscpace.. See the picture \multirow{3}{*}{Rayleigh } & ...
0
votes
0answers
25 views

How to write text vertically right/ left to the margin to the whole document? [duplicate]

I want to write text vertically right/ left to the margin to the whole document. A sample figure is shown below. Is there any way to do this? Please suggest.
2
votes
1answer
55 views

Inconsistent Vertical Spacing Using Multicol

I've been getting random vertical spaces between paragraphs using multicol. Oddly enough, if I change the margins to 1cm I get perfect spacing. The problem gets worse if I attempt to add an asterisk ...
3
votes
2answers
63 views

top alignment of table in table

I have a small :) problem with latex. I wanted to put an enumeration into a tabular, but this didn't work. Than I worked on a workaround ending up with the following code. My Problem: The cells are ...
3
votes
1answer
37 views

Alignment of equations that contain Feynman diagrams

I want to insert a Feynman diagram into an equation, but when I do so, I find that the Feynman diagram and the rest of the equation are awkwardly aligned. The picture should make it pretty clear what ...
2
votes
2answers
31 views

Align text in equation

\begin{align*} \text{min } \mu \ \\ \text{s.t. } P^t(X) &\le y_t,\ (\forall t \in T)\\ \sum_{t \in M_k} y_t &\le \mu , \ 0 \leq k \leq k_{max}\ & \\ ...
2
votes
2answers
54 views

Align table by dot - Not with siunitx

I'm trying to align numbers in a table by the dots. I know of one method using the siunitx package. But I can't load the package. siunitx error: "incompatible-package"! Package 'SIunits' ...
3
votes
1answer
40 views

Vertical Alignment or Centering

\begin{tabular}{|c|c|c|c|c|} \hline & \multicolumn{2}{c|}{Demand} & \multicolumn{1}{|c|}{} & \multicolumn{1}{c|}{} \\ \cline{2-3} AAA& Group 1 & Group 2 &BBB & CCC \\ ...
2
votes
2answers
64 views

Separate page vertically at variable height

Other Explanation: This is a template at mark #1 there is an table inserted and at mark #3 some text. The text and table which are inserted are of different size for each dataset. Normally both fit ...
3
votes
1answer
78 views

Problem with tikz external library and chemfig - fatal error in external image

I have a document with a lot of diagrams created with PGFPlots and want to externalize those. All other tikz snippets should not get externalized. I achieve this by setting \tikzset{external/only ...
1
vote
1answer
86 views

How to have several overleftarrows of same height and length

I want to put arrows on top of various pieces of several formulas but I want the arrows to be of the same size and height. What is a good solution? For example consider \overleftarrow{x} \quad ...
3
votes
3answers
44 views

longtable Alignment

I'm using a long table with image and lots of text. The alignment of it is wrong for me. I'd like to know how to make the text start on top of the box, near the line. Here is my code for the longtable ...
3
votes
3answers
75 views

How to vertically align an image in a beamer column?

How can I vertically align the content of a beamer column? In the following example, I want the rule in the second column to be centered vertically. I could use \begin{columns}[c], but that would ...
2
votes
2answers
38 views

Alignment of numbers in table with wide columns

I have a table with numbers which get aligned using the S column type from siunitx. Some numbers are put into \multirow and with the \tablenum macro the alignment works perfectly as long as the ...
2
votes
2answers
58 views

Equation and image aligned on beamer slide

I'm trying to make a beamer slide which has some matrix equations and an image lined up with each other. Here is my attempt: \begin{frame}\frametitle{Transportation polytope constraints} A ...
9
votes
3answers
230 views

How To Make a Special Position Environment in LaTeX?

So I must admit I am way out of my depth and have no idea what I'm doing. I apologize in advance for a long and complicated question. I'm trying to build this output: Which I have successfully ...
1
vote
1answer
104 views

Beamer: vertically centered slide content

I am trying to make a slideshow for a quiz. In between rounds, I want to put a blank slide with just the title of that round, vertically centered. The title slide should also be vertically centered. ...
3
votes
1answer
39 views

Aligning text vertically relative to other subfigures with subcaption

I want to add vertical (rotated) text at the beginning of a row of subfigures using the subcaption package. My solution right now is to create a separate subfigure: \documentclass{article} ...
3
votes
2answers
45 views

How to top center a picture in a table cell?

Hello I'm very new to LaTeX, and how it works. I want to make a table with 6 columns and x amount of rows. \section*{\centerline {Counter-Strike: Global Offensive}} Her finder du information om de ...
2
votes
1answer
39 views

Rounded corner box in itemized environment

Here is the MWE: \documentclass{article} \usepackage{tikz} \newcommand{\rbox}[1]{ \begin{tikzpicture}[remember picture, overlay] \node[rounded corners=3pt, draw]{#1}; ...
3
votes
0answers
53 views

Book-style page filling in article documentclass?

Simple question. I feel like it should have a simple answer but I can't find anything. The documentclass book (and default multicols) stretches content so that it fills the page. Now, I want to use ...
5
votes
1answer
35 views

longtable sometimes starts new page when we are near the top of the page

Most of the time longtable does exactly what is required, but sometimes it starts a new page when it is near the top of the page and there is plenty of space for the entire table on the current page. ...
1
vote
1answer
59 views

Tikz nodes with `fit=(top)(bottom)` slightly missized

I like to create textboxes via TikZ. I start with that flexible example. And, Yes :) I do create texboxes. Here it is. But I still have two problems.. Q1 I use fit to create light gray ...
1
vote
1answer
18 views

Vertical align of multirow cell

I give you a little example, so it's more easy to explain: \documentclass[a4paper,12pt]{book} \usepackage{multirow} \usepackage{longtable} \begin{document} \begin{longtable}{|c|c|} \hline ...
3
votes
1answer
51 views

center align equation

I try to align a multiline equation, but im getting a large space. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{mathtools} \begin{document} \begin{align} AAAAAA &\, yyyyy ...
3
votes
1answer
147 views

Alignment of exponential numbers with non-exponential number

I would like to align non-exponential and exponential number at their decimal point in a table. I tried \documentclass{article} \usepackage{booktabs} \usepackage{siunitx} \begin{document} ...
2
votes
1answer
119 views

Align math sequence next to text

I am writing an assignment and I have a long algorithm that takes up almost a whole page. I would really like this to be shoved to the side so I can write besides it. For the algorithm to look correct ...
2
votes
2answers
51 views

Vertical alignment within table

My MWE: \documentclass{article} \usepackage{lscape} \usepackage{booktabs}% http://ctan.org/pkg/booktabs \newcommand{\tabitem}{~~\llap{\textbullet}~~} \begin{document} \begin{landscape} ...
0
votes
2answers
38 views

How to arrange the figure along the line itself?

How to arrange the figure along the line itself? My picture must be along the question itself. How to do that?? help me. Thanks in advance \documentclass[12pt,a4paper]{exam} ...
3
votes
1answer
36 views

Theorem linebreak in an itemize environment

I'm using the itemize environment to take notes and sometimes I want to add definitions and theorems in the flow. However, amsthm adds a linebreak between the item bullet and the theorem statement, ...
5
votes
3answers
273 views

! You can't use `\unskip' in vertical mode. … How to get space between lines?

I searched the error, but I didn't seem to find anyone who actually wanted the spacing. Also, this is my first question on Tex Stack Exchange, so let me know if I've formatted anything incorrectly, ...
5
votes
1answer
55 views

Why the text goes a little up when comparing two minipages?

I am trying to add a second name in the supervisor list and when I do it the list goes a little up compared with the Authors name. How can I do it to be in the same height: block code for the first ...
1
vote
0answers
36 views

Vertical adjustment of side caption

I have a long table, which I want to start in the margin of my document. However, I am using side captions, and to avoid the table to overlap the caption, I would like to move the caption down a bit. ...
0
votes
0answers
48 views

Fancy part title page with titleformat and centering problem

I would like to create a fancy part title page but I have some issues with titleformat. Currently, I use : \titleformat{\part}[display] {\normalfont\filcenter\thispagestyle{empty}} {}{0pt}{ ...
3
votes
2answers
100 views

Vertically center text or math in a framebox

I have the following commands in my code (taken from Creating uniformly sized boxes around text) to manually adjust the height of frameboxes (the reason is that I often put several in a row with ...