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

0
votes
1answer
170 views

Reduce Vertical White Space subfigure

I am having problems removing the white space between two rows of 4 consecutive images. Help is greatly appreciated! As a note to other users, horizontal white space was removed by using a "%" after ...
3
votes
1answer
36 views

Vertical adjustment (column type) not considered by the tabu environement

I am using the tabu package to generate tables and I cannot make vertical adjustments to the cells content. The horizontal markers l, c, r, or j work fine but the column types p,m, or b have no ...
6
votes
1answer
96 views

Align to top of box

This latex code (uses amsmath and proof) produces the image below: \documentclass{article} \usepackage{proof} \usepackage{amsmath} \begin{document} \begin{equation*} \infer[\forall x ...
4
votes
1answer
74 views

aligned-environment in tabularx - fail to align vertically

I try to have a simple tabularx-table in which the cell content is vertically aligned to the top. While this works as expected for text, two aligned-environments in adjacent cells are vertically ...
3
votes
2answers
113 views

Evenly spacing figures vertically across page

I am compiling an appendix for my dissertation consisting only of figures. Currently the gap between the top figure and the top of the page is smaller than the gap between the lower figure and the ...
1
vote
2answers
176 views

How may I align the following mathematical statement 'horizontally'?

I appreciate if someone could provide me an answer with coherence. \documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} ...
6
votes
1answer
66 views

Eliminate distance from phantom node in forest

Ignasi's answer to Forest trees on the same line shows how to effectively draw two trees in the same forest environment using the phantom trick noted in the forest documentation. Doing this, however, ...
2
votes
1answer
236 views

Figure alignment using sub caption

I'm trying to align some figures using the subcaption package. My current code is that: \documentclass[11pt,twocolumn]{article} \usepackage[demo]{graphicx} \usepackage{subcaption} ...
3
votes
1answer
278 views

Subcaption vertical alignment

I'm displaying some figures with different bounding box. The figures seems to be bottom aligned, but I would like to have them vertically aligned. I though subcaption automatically take care of that, ...
0
votes
0answers
19 views

Align text and image topwise [duplicate]

I would like to top align an image with a text. The problem is that the text is aligned with the baseline of the image. The current code I have is this: \documentclass[margin,line]{res} ...
2
votes
1answer
61 views

How do I align the equations about the equal to sign, with lines of text in between? [duplicate]

I want to align unnumbered equations about the '=' sign having one or two lines of statements in between. And also, I want them to be centered. Here is what I did in my code: \begin{align*} T & ...
0
votes
0answers
26 views

\listoftables with large captions does not break page

People I have a horrendously large style file .... I know you will beat me up if I add it again so please see it here. so this time the problem is that some of my tables have very large captions ...
0
votes
1answer
72 views

aligning and logo shape in moderncv

How can I align the logos and the elements on their right side? Another, and more important, problem that I face has to do their shape. As soon as I close TeXworks and try to open the pdf document I ...
1
vote
1answer
61 views

Side by side algorithms with vertical line

How can i produce this in latex. My question is about the framework to put it inside,figure,algorithm,tabular? And how i can separate it with this verical line
1
vote
2answers
52 views

(sub) alignment within an align environment and number positioning

In the example below I try 3 different ways to achieve the same thing (align =E(\sigma^{2}_{Y|X)) directly below =E_{X}(V(\epsilon|X))+0 within the overall align environment. However I am unable to do ...
1
vote
1answer
73 views

How to put a table next to a plot?

I made a plot and a table, and I want to put the table next to the plot, how can I do that? \begin{tikzpicture} \begin{axis}[ axis y line=center, axis x line=middle, axis equal, grid=both, ...
1
vote
0answers
69 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 ...
0
votes
1answer
146 views

ToC content spacing and related formatting

I'm working in memoir class and creating ToC with both short and (sometimes very) long chapter title. I need to: Adjust horizontal spacing between part\chapter number and the title so they won't be ...
0
votes
0answers
45 views

How to fix the inconsistent paragraph spaces in this MWE using KOMA? [duplicate]

MWE code \documentclass[twoside=semi, a4paper, 11pt, open=any, chapterprefix=false, toc=graduated]{scrbook} \usepackage{blindtext} \usepackage{fontspec} \usepackage{libertine} %uncomment ...
3
votes
2answers
202 views

Vertical and Horizontal aligment with several figures and tikz figures [duplicate]

I've been having some trouble aligning multiple figures. The problem is present with png figures and tikz figures, so I guess I am missing something. tikz figures not properly aligned: the ...
0
votes
2answers
56 views

How can I vertically align the first line of a multi-line node to an object? [duplicate]

I'd like to have the first line of the node centered vertically with the object (here: a line) on the left of it. How can I do that? Of course I could split the elements into several parts and then ...
1
vote
1answer
95 views

Left align or right align the header

If I want to L-Align the contact info in the (right) header block. How can one align the contents in a header ? Package: \ProvidesFile{jobapp} \special{papersize=8.5in,11in} ...
0
votes
0answers
25 views

3 subfigures, 2 vertically aligned and one hortizontally [duplicate]

Hello, Does anybody know how to vertically align two subfigures with another subfigure horizontally? I mean i need to put two small images above each other beside another longer image as shown ...
4
votes
2answers
142 views

How to create horizontally aligned subscripts in latex

My problem is that I can't align subscripts properly. I want subscript 'ISI' to be at same level for both H and x. while (m,n) remains in italic format. The last expression gives aligned subscripts ...
1
vote
1answer
61 views

Force longtabu width + skip vertical space between tables

Here is an MWE: \documentclass[10pt]{article} \usepackage[a6paper]{geometry} \usepackage{longtable} \usepackage{tabu} \begin{document} \begin{longtabu} to \textwidth {|X|p{10mm}|p{10mm}|p{10mm}|} ...
1
vote
1answer
62 views

Image not centering in fullwidth even page

My MWE is, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} ...
2
votes
1answer
88 views

Vertical aligment of dinglist inside table cell with `parskip`

Why is the list text so close to the top line of the cell in some lists? I know it's a problem with the parskip package. I can solve this by adding this strut in every cell before the text ...
3
votes
1answer
62 views

vertical alignment of multiline equations

I tried in many ways to vertically align these equations but I failed to get it right. \documentclass[11pt,a4paper,oneside]{report} \usepackage[T1]{fontenc} \usepackage{fouriernc} ...
3
votes
3answers
181 views

Tikz-Create a Picture Legend

I am trying to create a legend inside a tikzpicture. The picture shows an accelerator and I would like to make a legend that will explain each part. My code is \documentclass{standalone} ...
1
vote
1answer
37 views

Specifying baseline in internal coordinates with graphicx package

I'm using the graphicx package. By default, included graphics are aligned with the baseline at the bottom of the image. I know how to make images vertically centered (using \vcenter) or top-aligned. ...
0
votes
0answers
15 views

Add vertical space between two tables in a single figure [duplicate]

Similar to this SE question but without the requirement that the tables be the same width: I have one figure containing two tabular environments: \begin{figure} \centering ...
3
votes
2answers
236 views

Comic book or graphic novel style panels in LaTeX

I have heard that LaTeX is not necessarily suited to make panels. That even two-column is difficult to get the text to align. I would like to draw stuff like this: --------------------------- ...
4
votes
3answers
100 views

What is the correct way to stretch the cell keeping it vertically centred in tabularX

I have this table, in which the text is touching the horizontal lines above and below, I tried some of the solutions to stretch the cells I found in the web. I managed to stretch the cell but I can't ...
8
votes
7answers
379 views

Vertical aligning for simple numbers

I need to typset a series of fractions with no line inside some paragraphs of text (they were used as proportional symbols). It is very simple, actually: $^2_1$, $^4_2$,$^8_4$ But when it comes to ...
3
votes
1answer
90 views

Increase row height and center, but only the first row

I have a table, built using the tabu package. My code currently looks like below. The \\[5ex] does increase the row height, but the contents of the third cell is aligned top instead of middle (notice ...
1
vote
4answers
99 views

Could I be able to left-align the following equations? (Please note that one of which is mult-lined)

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \DeclareMathOperator{\sgn}{sgn} \begin{document} \begin{flalign*} &D= ...
1
vote
1answer
45 views

how to change position of \Rightarrow

In the following example, how can I shift the \Rightarrow slightly towards left so that the first terms of both equations are vertically aligned? \documentclass[10pt]{article} \usepackage{mathtools} ...
2
votes
1answer
44 views

Overlaying a tabular on a lstlisting in a book

I am relatively new to LaTeX and am trying to move a tabular up by about 2cm to overlay a lstlisting. The \hspace command works as expected; the \vspace command however moves the text following the ...
2
votes
1answer
204 views

Is \\[<len>] as bad as \\ for new lines?

I have heard on multiple occasions that one should rather not use \\ to force new lines, unless one uses it in environments like tabular or align, and it is advised to use \par instead. How about ...
3
votes
1answer
50 views

Left alignment of a system of equations and extra vertical space between them

I am trying to obtain something like this \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} ...
3
votes
2answers
77 views

Alignment inside the \align enviroment-horizontally and vertically

Is it possible to make both expressions for omega's aligned with one another and do the same for the coefficients a,b,r and d,c,t? I tried to align them manually by using center but it does not work. ...
6
votes
2answers
118 views

Vertical alignment of images in longtable

I am trying to create a longtable where the first column contains only images. The longtable is defined as (with only one row): \begin{longtable}{m{0.2\linewidth} m{0.7\linewidth}} \hline ...
1
vote
0answers
86 views

Conditional spacing based on length of chapter title

In LaTeX, (or possibly XeLaTeX), how can one achieve the following: A double spacing a 1- or 2-line chapter title, and single spacing under a 3- or more-line chapter title. A triple space ...
3
votes
4answers
122 views

Wrong bottom-alignment of rows of two independent tables, where the last row contains a nested table

I wanted to create a page, where I put some information in the left and some on the right side at the bottom of the page. The bottom lines of the minipages are supposed to be aligned as kind of an ...
3
votes
1answer
150 views

tikz how to center text in a vertical rectangle

I am trying to put vertically rotated text inside a rectangle and I have not been able to get it centred vertically. Here is my minimal code and what I get. Any help would be appreciated. ...
3
votes
1answer
84 views

How can I arrange the table and the image in a minipage vertically?

I need the table and the image arranged vertically in the minipage instead of horizontally. I also add the pictures used in the code in the end. \documentclass[12pt,a4paper]{article} ...
1
vote
0answers
48 views

Aligning listing frame width between two listings

I'm trying to get two listings side by side. One is shorter than the other, but I would like to have them aligned, meaning that the frame height of the short one should be longer to reach the baseline ...
7
votes
1answer
101 views

How to align the quotient when using polynom

I am using the polynom package to illustrate long division with polynomials. Typically, when I do those problems by hand, I have the first term in the quotient aligned with the first term in the ...
2
votes
0answers
63 views

Forcing graphic, table, plot .. out of page boundary

I am very new to latex, so this question might be very basic. However, I have been searching the whole evening, so either I don't know how to google this effectively, or what I am trying to do is not ...
1
vote
1answer
90 views

\vspace (\section?) misbehaving in amsart document

In the example below, I wanted to reduce white space above the first section header (it seems to be improperly or at least variably placed), and when trying to use \vspace{} above the first \Section{} ...