{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
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} ...
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
54 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 ...
17
votes
2answers
25k views

Increase LaTeX table row height

How to increase the height of the rows in a LaTeX table?
5
votes
1answer
36 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 ...
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, ...
3
votes
1answer
869 views

How to vertically align title when reducing the header size in Beamer Palo Alto theme?

I tried for some time to adjust the height of the header in Beamer Palo Alto theme. I now managed to do so, but now I have the problem that the title in the header is not properly aligned anymore. ...
5
votes
3answers
274 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. ...
6
votes
1answer
398 views

Beamer: how to show a logo in the vertical bar only if there is enough space left?

I would like to insert an additional (other than the top-left one) logo in a beamer presentation using Palo Alto theme, so that it appears in the navigation bar ONLY if there is enough space left. ...
3
votes
1answer
87 views

Howto center images in a size defined table?

I have the problem that I have a table which includes two images next to each other and below in the next line there is the caption of the image. The problem is that the images are not shown next to ...
3
votes
1answer
125 views

Change part of table column size

I would like to know if there is a way, that I can resize part of a column, while keeping the rest the same size. Such that I would get this: Column ___| ___| ___| _______| _______| _______| I ...
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
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
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
56 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
118 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 ...
24
votes
4answers
25k views

Stable vertical alignment of columns in Beamer

In Beamer, I often use a two-column slide layout, picture on the left and text on the right. Sometimes the same picture is used on multiple slides, with the text on the right changing. I use the ...
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
140 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
26 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
72 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} ...
1
vote
2answers
120 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
63 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 ...
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 ...
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 ...
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} ...
2
votes
1answer
110 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
92 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} ...
11
votes
2answers
2k views

How to align picture top left in a table?

is there a way to create a table with 2 columns, in the left column should be some text, in the right column should be a picture. The problem is - to align both to the left, top corner. The image ...
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
1answer
93 views

Superimposing characters in text mode (pdfTeX)

I'm trying to compose a non-Unicode character by arranging Unicode characters one above the other or one next to the other close-up, but I'd need a negative space which in text mode isn't available. ...
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 ...
21
votes
3answers
241 views

Vertical text (not in table)

For a book cover, I want to write the title vertically (like in Japanese, but using English text): T T I H T I I M L S S Y E How do I do this without jumping through a ...
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
0
votes
2answers
46 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
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 ...
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 ...
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, ...