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

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
283 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
38 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
50 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
101 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 ...
4
votes
2answers
58 views

Align baselines of underset elements in display math equation

I am trying to create a display equation showing the coefficients of an example polynomial for use in the quadratic formula. Basically, I want each coefficient of the polynomial to have an arrow ...
8
votes
1answer
120 views

Why do I need an \hbox inside \vcenter to make it work?

I want to vertically center an object in an equation. I thought: "Ok, \vcenter is the way to go." But I don't understand (not even from the TeX primitives reference), why I need an \hbox inside my ...
2
votes
1answer
46 views

How to center text in a cell of a longtabu (horizontal and vertical)

I have a long tabu like the one defined last in this question and online here. It looks like this when compiled: As you can see the "point" and "score" text is placed in the buttom right corner. ...
0
votes
1answer
80 views

How to balance last page of a LaTeX document?

I am trying to balance the last page of my LaTeX document, i.e. a conference paper. I am using the flushend package to do it. All of it goes well except for the last line. The columns are balanced but ...
1
vote
1answer
70 views

Vertical alignment of table text

I'm trying to align my table text vertically: MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{array,pifont,xcolor} ...
4
votes
2answers
142 views

Add some vertical text on the margin of document?

I like to put url in the left/right margin and align it vertically like arXiv (see figure below). Here is a MWE: \documentclass[10pt,a4paper]{article} \usepackage{lipsum} ...
3
votes
1answer
36 views

QED placement with `prooftree` package

I am using Paul Taylor’s prooftree package to typeset natural-deduction proof trees. When a proof ends with a proof tree, how can one obtain the correct placement for the QED symbol? For instance ...
0
votes
0answers
28 views

\tabucline alignment problem

I'm trying to use \tabucline to generate line with a gap. I get proper result using following code \cline{1-1} \cline{3-6} Result: However, when I use \tabucline to change line width, it ...
6
votes
2answers
73 views

tcolorbox equation and fleqn: not vertically centered

Using tcolorbox with ams equation, there is sometimes additional leading space before the equation comes: \documentclass[fleqn]{article} \usepackage[many]{tcolorbox} \usepackage{amsmath} ...
2
votes
2answers
94 views

Sidebar or sidepar vertical alignment with objects

I am writing a document (memoir) with an extensive use of sidepars. I like a lot that sidepars are aligned vertically according to the line position of the word to which they are attached. My document ...
4
votes
2answers
67 views

Aligning several forest trees in centered way

I want to align three trees in the way shown in the following figure: What I have now is the following code: \documentclass{minimal} \usepackage{forest} \forestset{ tag/.style={for ...
1
vote
2answers
122 views

Typesetting Multipart Exercises

When I typeset exercises, I sometimes like to provide the exercise number in the left margin rather than as part of the paragraph describing the exercise. This poses a problem when I need typeset ...
0
votes
1answer
65 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
29 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
87 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
55 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
71 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
169 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
58 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
113 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
93 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
59 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
21 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
60 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
51 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
42 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
68 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
47 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
101 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
132 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
47 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
66 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
24 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
101 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
50 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
53 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
71 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
53 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
155 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} ...
0
votes
0answers
20 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. ...