{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
1answer
101 views

Vertical alignment when title is empty in beamer template

I'm using a customized template for Beamer. Among other things, I have completely rewritten the headline template. However, when I use a frame without title, the vertical alignment is not the same as ...
0
votes
1answer
24 views

How do I align piecewise functions?

I'm trying to align piecewise functions, not within the piecewise functions but the actual functions themselves. I use this piece of code but I keep getting a tonne of error messages: ...
2
votes
1answer
34 views

Subcaption: Adjust vertical position of three images inside multirow

I want to put three images in a figure. Two shall be above each other on the right. The third one shall be on the left. The left picture shall be vertically centered. I tried several approaches using ...
0
votes
1answer
32 views

How to keep same baseline skip in two vertically aligned minipages

I have two minipages (actually one of them is varwidth) standing one above the other. How can I keep same baseline skip in them? I have somewhat strange layout, so I can't set [t] option for lower ...
1
vote
1answer
29 views

landscape to portrait

I'm working on landscape and I want only one page in portrait. How can I do that? My workfile: \documentclass[17pt,landscape,a4]{extarticle} \usepackage[utf8]{inputenc} \usepackage{animate} ...
0
votes
1answer
24 views

Is there a way to “align” text in a LaTeX report table of contents?

I'm using a LaTeX report style to construct a document. Each section has a title that begins with a date, like this: Sun Jan 11 2015 - A Sunny Day Wed Feb 4 2015 - A Rainy Day Thu Mar 5 2015 - A ...
5
votes
1answer
146 views

Balance/flush columns at the end of each chapter in twocolumn layout

In a twocolumn layout, how can I balance columns at the end of each chapter? Package multicol is not appreciated because it doesn't offer nice float placement in the columns (floats are not allowed ...
7
votes
2answers
5k views

Automatic vertical alignment of a single float on a dedicated page

In my large latex document, I have some figures which take a considerable height of the page (80-95%). Latex puts each of these figures alone on a page, aligned on top. I would like to have each ...
5
votes
5answers
203 views

How do I align equations?

I need to align the following equations: The numbers, <,> signs and theta symbol are aligned as desired. But, the words on left are not. I tried this: \begin{flalign*} \textit{Angle}: ...
0
votes
0answers
35 views

Putting text at the bottom of the page

Have a look at the MWE example below. I want the text to appear at the bottom of the page rather than on top. I tried the \vfill option, but this does not seem to do the job. Any ideas? ...
1
vote
1answer
35 views

Looking for a more elegant (correct) way of creating a formula

I wanted to achieve the following: And I did but my code looks like it was in a major accident: \documentclass{article} \usepackage{amsmath} \usepackage{stackengine} \begin{document} ...
3
votes
3answers
52 views

Alignment of formular after linebreak in amsmath (flalign)

I am trying to achieve something like this: in amsmath. The best I could come up with so far is the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{flalign*} ...
1
vote
2answers
41 views

Make different vertical alignment at cells

I have longtable with 3 columns. I need: 1st column - short word. Vertical alignment = top 2nd column - long text. Vertical alignment = top 3d column - short number. Vertical alignment = ...
3
votes
2answers
35 views

several maps and images in a column like shape

I would like to have 4 maps in a row and some images of it below. The best I came with is \begin{align}\label{sumary isomorphisms} (\textrm{Im} H, [,]) \rightarrow \mathfrak{su}(2) \rightarrow & ...
0
votes
1answer
30 views

How to detect pagebreaks and insert text at the top of the typeblock on each new page?

I have a document which pulls in an external .tex file which is procedurally generated from a database and then interpreted into a multiple page table-like graphic written in TikZ. However, when I ...
3
votes
1answer
36 views

No way to align images to column top (multicol environnement)

I've been trying everything, but I'm lost right now, is there any way to really align image to the top of the column after a column break. Here's an example code : \documentclass{article} ...
0
votes
2answers
26 views

Vertically centered text in tabularx (again)?

I have seen Table with 100 % width and vertical / horizontal alignment, Vertically center text in tabularx table, Vertical alignment in tabularx X column type - and I'm trying what they suggest, but ...
10
votes
4answers
387 views

Need help with making Logic Trees in qtree/tikz-qtree (i.e. aligning, numbering lines)

I would like to make something similar to the logic tree below. I've tried using tikz-qtree, but I can't figure out how to number every line in the tree. I did however find something else doable in ...
2
votes
1answer
26 views

Page containing vertically centered and bottom-aligned items

I have a specification that requires text to be vertically centered on a page and an image bottom aligned on the same page. To accomplish this effect, I use the following, using \vspace*{\fill} to ...
1
vote
1answer
43 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. ...
1
vote
1answer
36 views

How to align a group of nodes with respect to the widest one

Consider the following figure: How can I align the horizontal-text nodes so that their .west nodes are vertically aligned with respect to the widest node in the group? Also, how can I add the ...
1
vote
1answer
33 views

Align Headers of subfloats correctly

I'm using the following code but the columns headers are not aligned in the center of the columns, so if anyone could please advise: \documentclass{report} \usepackage{mwe} \newlength{\tempheight} ...
0
votes
1answer
21 views

Strange alignment problems in longtable

I have written a few environments for formatting use cases. For some reason I am having strange alignment issues in my longtable. I think that there is some invisible placeholder in there messing it ...
3
votes
2answers
39 views

Aligning multiple lines in long equations and arranging the line breaks in `\align` environment

I have the following code sample: \begin{align} \pi^{(1)}_{i j} \enspace & = \enspace -\frac{1}{4}\eta^{\lambda \sigma} \left( \eta^{\mu \alpha}\eta^{\nu \beta} + \eta^{\mu \beta}\eta^{\nu ...
1
vote
3answers
28 views

Vertically aligning content in table cell

I have the following code: \begin{table}[h] \begin{tabularx}{\textwidth}{ m{4cm} X } & Derivations \\ $v=v_0+at$ & test \newline test \newline ...
1
vote
3answers
41 views

How to specify horizontal space size

I'm learning pdfLaTeX, I've tried \hfill, but it makes text after \hfill on the line at right side. More specifically, I want to make something like shown in attached picture .
2
votes
1answer
35 views

Problem with balancing multicols with minipage inside

I have two minipages one above the other with [b] and [t] options set to have right baselineskip. Second minipage/varwidth is in the multicols environment and if it have more then two lines, it ...
2
votes
1answer
30 views

Align resized tabular and image vertically

I'm using this code to put a large table next to a figure. \begin{figure}%[t!] \centering \begin{minipage}[c]{0.95\textwidth} \begin{tabular}{cc} \resizebox{0.45\textwidth}{!}{ \begin{tabular}{c c c ...
1
vote
1answer
22 views

One-column figure in a two-column document : top and bottom alignment with text

I have a tall image in a figure float in a two-column document that I want alone in a single column. I would like the top of the image and the bottom of the figure caption to be both vertically ...
2
votes
1answer
48 views

Top alignment of subfigure [duplicate]

For some reason I'm not able to have a top alignment of figures using subfigure and the environmental option [t]. I have search the internet for solutions and found them pretty complex for such a ...
3
votes
2answers
39 views

Vertical alignment when using { or math symbols

How can I adjust the vertical alignment in the following table for the cell which have for example the value \{0.91,0.15\}: ...
0
votes
2answers
30 views

align image to left and text along the center of image

I have a logo/image which I want to the left of the page, and word CERTIFICATE written along the horizontal line crossing the center of the image. I have been using following but it writes the text ...
2
votes
1answer
38 views

tcolorbox: How to create layout of single box on one side, multiple boxes on other?

I have three tcolorboxes where I would like the layout to be similar to this: I can make the titles of the first and second box align using the adjustbox package (as seen here), but I'm unsure how ...
1
vote
2answers
37 views

Right alignment of two left ragged lines

I have two small lines of text with different width. I want flush them right keeping their left justification and the line height of previous text. \documentclass{article} \usepackage{fontspec} ...
2
votes
2answers
50 views

Listings: add vertical padding without abusing frame

I have the following setup for my displayed listings: \documentclass[a4paper]{article} \pagestyle{empty} \usepackage{listings,xcolor,lipsum} \lstset{ backgroundcolor = \color{yellow}, ...
1
vote
3answers
63 views

How can I center text vertically in the middle of a multicolumn table cell?

When I enter this, why does the 'Type I stuff' and 'Type II stuff' break down into 2-3 lines? How can I have them written in one line without linebreak? When I use c instead of M for the multicolumn, ...
0
votes
0answers
68 views

How to vertically align text in a table

I have problems vertically aligning text in my table. I define new column type like this: \newcolumntype{M}{>{\centering\arraybackslash}m{\dimexpr.25\linewidth-2\tabcolsep}} And this works for ...
4
votes
2answers
77 views

Vspace in a table in a two column page

I made a table spanning the top of a two column page, but there is a problem in the last column where $j$ is very close to the hline above, while other elements in the same row are of the same ...
0
votes
0answers
39 views

creating a cover with spine for thesis

I'm trying to do a cover for my PhD. I was wondering if you could help. I have dificulties in the spine. It should look like this but with the text vertically aligned.
7
votes
4answers
102 views

Aligned underbraces between amsmath equations

I have an \amsmath aligned environment containing some equations aligned with &=. I want to be able to place underbraces between the equations in such a way that that both the contents and “point” ...
1
vote
1answer
53 views

Uneven spacing between subfigures on 2 different lines?

I'm trying to get 8 subfigures to stack on 2 lines so they match up vertically on the page. However, the top line seems evenly spaced across the page and the bottom line is evenly spaced but the gap ...
1
vote
1answer
48 views

Vertical alignment of fonts of different size on same line in ConTeXt

Given a document like this \starttext \setupbodyfont[palatino,8pt] small \setupbodyfont[palatino,12pt] normal \setupbodyfont[palatino,16pt] big \stoptext how would I center those words vertically?
8
votes
3answers
101 views

\hrule after descenders

I'm trying to redo my CV in latex, and I'm running into a minor issue with the placement of \hrule. I define a category environment for each section via \newenvironment{category}[1] {% ...
2
votes
1answer
37 views

Placing text between horizontal lines generated by \rule: equispacing

How to fix the vertical spacing between the text and the lines? In the following MWE the vertical space between the text and the line below it is much greater than the vertical space between the text ...
3
votes
1answer
39 views

Subcaption: Vertical alignment of two images of different vertical size

I want to place two images of different size next to each other. Both shall have individual subcaptions. Everything works fine. My only question is: how can I center the smaller image vertically with ...
1
vote
1answer
40 views

Add image, after long space in begin environment [Title changeable]

MWE \documentclass[a4paper,twocolumn,12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[turkish]{babel} \usepackage[listings,skins,breakable]{tcolorbox} ...
2
votes
2answers
42 views

Align text and image in table

My table looks like this: The left column will contain words, like it is now, and in the right column I want to add these small pictures (some are a bit bigger than this one) in every row. I have ...
6
votes
2answers
132 views

Vertically align text to graphic

At first this might look like a duplicate, but I couldn't find any solution, although I tried various (combinations of) vspace, minipage and box-commands. Situation: I have some pictures (all have ...
3
votes
1answer
58 views

Vertical alignment of tikz matrix and tree

I want to display a table as a tikz matrix next to a tikz tree in the same figure environment. Using the baseline option in every tikzpicture worked to align both pictures on the top for the case with ...
2
votes
2answers
208 views

Align three images vertically at the top, using the tallest height with floatrow

I am using the following LaTeX, to try to get 3 images aligned at the top \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[top=2cm, bottom=1.8cm, left=3cm, ...