Tagged Questions

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

4
votes
1answer
95 views

Vertical alignment of marginnote and section heading

Following on from a previous question I asked, I am now having difficulty in vertically aligning my margin note with a section heading. To be clear, the problem is only when I invoke the solution ...
4
votes
2answers
55 views

Aligning proofs from the proof package

I am trying to align several proofs produced with the infer command from the proof package. I want to be able to produce the following: But I cannot align is this way. Here is a minimal example: ...
6
votes
2answers
92 views

A problem with vertical positioning of `multicols`

In my previous question, I asked about a problem with vertical alignment at the bottom of the page; the solution (provided by egreg) was simple and obvious. However, here is a less-minimal example ...
4
votes
1answer
36 views

A problem with alignment to the bottom of the page with different font sizes

I want all my pages' bottoms to fall in the exact same place. Assume also that I want two different font sizes on one page (first a larger one, then a smaller one), so using the heightrounded option ...
7
votes
2answers
96 views

Beamer: \abovedisplayskip inactive in sublist?

A weird mechanism is observed below: \documentclass{beamer} \begin{document} \abovedisplayskip=0ex \belowdisplayskip=0ex \frame{\frametitle{Title} \begin{itemize} \item text text text text text text ...
2
votes
1answer
131 views

minipage misalignment when using multicol in a tikzposter

Is there anyway to align the multicolumn text with the fiure in the follwoing MWE? \documentclass[25pt, a0paper, portrait, margin=0mm, innermargin=15mm, blockverticalspace=15mm, colspace=15mm, ...
1
vote
2answers
117 views

Different vertical alignment with multirow

I have longtable with multirow: \documentclass[a4paper,12pt]{report} \usepackage{multirow} \usepackage{longtable} \usepackage{makecell,array} \begin{document} { ...
2
votes
2answers
295 views

Multicol: why do columns not align properly?

The following code does not align the contents of the two columns do not align properly; in particular, the content of the left column is a bit lower on the page than the content of the right column. ...
2
votes
1answer
68 views

Alignment of images in \minipage environment

I have a problem with \minipage alignment: I want to place two images side by side with a top alignment, so I used this code: \begin{figure}[!h] \begin{minipage}[t]{0.5\linewidth} ...
2
votes
2answers
101 views

vertically center text in a table

I've got the following table: \documentclass[11pt]{article} \usepackage{rotating} \usepackage[ lmargin=1.0in, rmargin=1.0in, tmargin=2.0cm, bmargin=2.0cm ]{geometry} ...
1
vote
0answers
30 views

Problems with two sided print in Latex [duplicate]

I am trying to enable even and odd margins in latex. When I use \documentclass[12pt, twoside]{report}, the structure of report becomes very bad. I am attaching a screenshot of a page. There is ...
2
votes
0answers
53 views

\vfill throws my boxed text at the end and cannot be read

I'm trying to place a boxed text at the end of the page, but \vfill sends my box out of the page. There is another command that can do the same but in the way I need it? This is my code: ...
2
votes
1answer
99 views

Alignment of toc in beamer class

I have some problems with vertical alignment of toc in beamer class related to this question. The answer works for me, but i would like to center the toc and decrease the horizontal space between ...
3
votes
2answers
205 views

.jpg image inserted in a column is shrinked or squeezed

When I am trying to insert a .jpg image in one column of a table in latex. it is getting shrunk and not able to stretch or fit into the whole column. it is getting shrunk or squeezed & when I am ...
7
votes
4answers
423 views

Vertically aligned table in plainTeX / LaTeX / Context etc

My last answer about vertically aligned table inspired me to write my first question at this site. How to create the following table in various TeX approaches: plainTeX, LaTeX, Context, eplain, OPmac ...
4
votes
1answer
70 views

Matrix row alignment on two sides of an equation, with rules

I have the following code to generate a matrix equation, on the LHS matrix, a couple of rules are added, that causes the RHS corresponding rows misaligned (vertically). How do I adjust subtle vspace ...
4
votes
1answer
101 views

Parcolumns: Unbalanced Columns

I'm using parcolumns to help design a resume but it's giving me some trouble by adding lots of extra space in the left and right columns. Code (compile with XeLaTeX): \documentclass[10pt]{article} ...
3
votes
3answers
498 views

Problem aligning multiple pgfplots due to different axis label sizes

I have two plots that comes back to back in my paper. One of these plots is generated from 1000 data samples while the other one from 320. The problem that I'm, facing right now, is that plots are ...
1
vote
1answer
236 views

title chapter in middle of page latex

I try to put title of my chapter in middle of page, so google it and i finish with this, \titleformat{\chapter}[display] {\normalfont\huge\bfseries\centering}{\chaptertitlename\ ...
6
votes
4answers
211 views

Vertical alignment of text in a table

I have two images in two different column in a table and in the third table i want to have a text, ideally as a list, but when i write the text it begins at the last row and goes down from there, i ...
3
votes
2answers
49 views

Aligning text in title between pictures

I need help with aligning text in my simple custom title page. I wish to have title text and some additional text below centered horizontally between two logos. It would be nice if the logos would be ...
2
votes
1answer
98 views

Tabulary = bad vertical alignment?

I am trying to make a table and I am using the tabulary package to have nice column widths. But here the 2nd and 3rd column values are top aligned while I would want them to be vertically centered. ...
1
vote
1answer
54 views

Latex centering figures and tables when alone on a page

I have 4 tables that need to follow each other (they are in the appendix). Two fit on a single page together but there is plenty of space left (thought not enough for another table). I would like to ...
4
votes
1answer
112 views

Vertical alignment of “nobeforeafter” tcolorbox

Is there a way to vertically center the little tcolorboxes ? \documentclass[]{article} \usepackage[skins]{tcolorbox} \begin{document} \newtcbox{\LittleBox}[1][]{enhanced,nobeforeafter,#1}% ...
5
votes
3answers
117 views

Vertically center a table inside a subfloat

The following MWE produces two tables side by side: \documentclass{report} \usepackage{tabu} \usepackage{booktabs} \usepackage{multirow} \usepackage{subfig} \usepackage{siunitx} ...
5
votes
1answer
114 views

Vertically center rule on a page

More precisely, I want to get a 18 × 26 cm² landscape box with a rule at the middle. Combining the crop package and this code I got: \documentclass{article} ...
0
votes
1answer
40 views

single table cell out of vertical alignment

Having been guided by the wisdom of those more experienced than me, I have been using this answer to my previous question to change all my tables into ones that look better using booktabs. One of my ...
1
vote
0answers
55 views

thmtools and mdframed (vertical space)

I dont know why I dont get the two examples closer together. How can I achieve a spacing of 0mm between the two Examples? %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % DEFINITIONS ...
3
votes
1answer
77 views

Split environment not vertically centering equation number

I'm trying to compile the following code: \documentclass{article} \usepackage{amsmath} \newcommand{\invexpsqrt}[1]{{#1}^{- \tfrac{1}{2}}} \begin{document} \begin{align} \begin{split} \rho_{out} ...
5
votes
2answers
78 views

Figure placed on a separate page is centered and not on top

I have multiple figures placed in my document (all of which are using [htbp], [ht] etc. and are placed correctly). The last figure receives a separate page (which is alright) but it's centered on this ...
3
votes
4answers
137 views

Making an array in the Table

So we have an Table and there is an array which we wish to have it in the Table: Here is the code \documentclass[onecolumn,amsmath,amssymb,nofootinbib,superscriptaddress,floatfix]{revtex4} ...
3
votes
2answers
112 views

Remove vertical lines in the table unsuccessfully

I have created this Table: via the LaTex source code: \documentclass[onecolumn,amsmath,amssymb,nofootinbib,superscriptaddress,floatfix]{revtex4} \begin{document} \begin{table}[!h] ...
6
votes
4answers
122 views

Alternative to aligned environment for enumerate

I'm using the aligned environment within an itemize environment. I need the aligned environment so the label for the \item will be on the same line as the equation. For example: \begin{enumerate} ...
3
votes
2answers
55 views

How to center image in 2 column tabular when one side is Verbatim?

I am having hard time finding the correct way to typeset this: I need to have code as verbatim on one side of the page, and show the output (an image) on the right side of the page. I have tried ...
1
vote
1answer
34 views

How to vertically align column members

How to make this all members of the last column get aligned vertically to top please? \documentclass[french]{beamer} \usepackage{babel} \usepackage{amssymb} \usepackage{array} ...
1
vote
1answer
100 views

Improve inline xymatrix/tikzcd?

When I was typesetting commutative diagrams, I always put my \xymatrix or tikzcd in displaymath: For a long time I believed that this is the only way to do so. However, about last month, I saw ...
5
votes
2answers
84 views

Centering a tag on an align environment

I want to create a list of two items, labeled (1) and (2), with a $\star$ tagged to the left, and centered vertically in between the (1) and (2). If I use the following: \begin{align*}\tag{$\star$} ...
5
votes
1answer
58 views

Break page in \valign

Let's say I have a \valign like: \parindent=0pt \tabskip=\baselineskip \valign{& \hsize=.5\hsize\raggedright #\crcr Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod ...
9
votes
4answers
201 views

How to prevent the opening curly brace from going out over the top equation?

Constraints: I have to use top aligned aligned to let the baseline of the top equation be aligned with the enumerate label. Issues: The curly brace goes beyond the top equation so it does not look ...
2
votes
1answer
57 views

How to align brackets in this diagram? [duplicate]

When I write the following : \documentclass[psamsfonts]{amsart} \usepackage{amssymb,amsfonts} \usepackage[all,arc]{xy} \begin{document} \[Q(M) :=\left[ \xymatrix{ &\Xi(j^*M) ...
2
votes
0answers
140 views

How to draw “stacked blocks” with tikz?

I want to draw using tikz a figure which looks like the following: I started writing it using nodes and positioning them using right of =, above of = but I don't know how to avoid using hard coded ...
3
votes
1answer
75 views

How can I adjust the position of multiple \vdots after multiple \begin{cases}?

Here's a MWE: \documentclass[12pt]{article} \usepackage{amsfonts, amsthm, amsmath, amssymb} %===== \begin{document} \begin{multline*} \\ % \text{Text} \begin{cases} AAA\\ AAA \end{cases}\\ % ...
2
votes
1answer
119 views

Page Content Misalignment

I've started using LyX to write technical specification documents. As a result of numerous hasty Google searches (many ending at this site) I have cobbled together a LyX file that mostly delivers ...
5
votes
1answer
125 views

Tcolorbox sidebyside right side “top align” problem

When a tcolorbox is inside the right side of a sidebyside tcolorbox, it is vertically centered. Using "\vfill" or "align = top" don't put the tcolorbox at the top of the right side. The space between ...
1
vote
1answer
232 views

Bottom-aligning columns with tikzposter

I am using the tikzposter class to create a poster and have three columns extending almost to the bottom of the page. I would like to stretch the space in between blocks so that the bottoms of the ...
5
votes
1answer
46 views

Itemize exactly after description

I have an itemize environment in a description, unfortunately that doesn't look that nice. Here's an MWE: \documentclass{article} \begin{document} \begin{description} \item[Long description] ...
3
votes
1answer
88 views

How to vertically align nodes of different sizes using relative positioning

I am trying to draw a timeline and I want to label an interval of time using a horizontal double arrow such as <--->. Unfortunately, because the nodes $t$ and $t + \ell_t$ have different ...
7
votes
4answers
119 views

Proper alignment of three boxes

I want two text boxes to appear next to a photo which is 5cm wide. The combined height of the boxes may be greater than or less than the height of the photo. If the combined height is less than the ...
0
votes
0answers
25 views

pagestyle{fancy} will cause second page to have different alignment [duplicate]

In the below image I copied the second and third page above one another. As you can see the alignment is incorrect. After the third page (including the third page) everything works fine. I am using ...
0
votes
1answer
32 views

How adjust the vertical space in aligned equations (in the Preamble)?

I always find the standard \\ to be too little in aligned equations. I used to do \\[5mm] or similar in the past, but there must be some automatic way to do this once and for all in the preamble. Is ...