{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
3answers
108 views

Vertical text in multirow

I'd like to realize the following: But I can not bond the vertical text and the line together. I use a tabular environment and this is what I get: My code is this: %!TEX program = xelatex ...
9
votes
3answers
142 views

Aligning different matrices

I want to write the companion matrix of a recurrence relation and its use (the notation will be a bit unusual since it is "for cryptography", where we always do stuff in a different way). ...
8
votes
2answers
211 views

Correct placement of sum limits

this is maybe some captious question like the correct placement of := but I always notice the unattractive placement of the limits between two sums. Lower limit example (The same holds for the upper ...
1
vote
0answers
22 views

Float goes to bottom of page even with forced 'H' placement [duplicate]

I have a certain document with a few tables one after another. Each table is in its own subsubsection. The peculiar thing about these tables is that two tables can fit on a page with a subsubsection ...
1
vote
0answers
25 views

Nice size of image of graph by staying the table at the same page

If I make the height of the image more than 3cm, the table will automatically go to newpage which I don't want to. How can I make the table stay while having a nice image at the top-right of the ...
1
vote
1answer
121 views

vertical alignment of multirow tables in lyx

After having searched a lot, I still didn't find an option to align multirow cells vertically correctly in Lyx' native tables. There seem to be some solutions but I haven't found any for use with Lyx ...
1
vote
2answers
64 views

Beamer: problems with \only, \pause, and fixed spacing

I have a slide with three blocks, say 1, 2, 3a, and 3b, where 3a and 3b have exactly the same height (they are the same equation with some change of variable). I want to use \pause and \only to obtain ...
1
vote
0answers
53 views

Table with vertical and horizontal text

I need to mimic this awful Word table in LaTeX: This is as far as I got: My main problem is that when header text is rotated it doesn't align vertically to the bottom anymore. Any tips? This is ...
4
votes
4answers
137 views

\vtop vertical top alignment of \vsplit \vbox

Well, I wanted to have a minipage spanning across pages, so first I thought to split a minipage so it can , but I learned you cannot; so I got to breakable vboxes, and in trying that, learned that ...
4
votes
2answers
65 views

Aligning two minipages - one with lstlisting, one without - on top?

I'm already aware that two minipages with [t] align at the baseline of the top line, not at the top of their respective boxes/containers; however, this is somewhat different: when I use a small ...
5
votes
1answer
51 views

Align top of images using subcaption

I'm trying to align the tops of two images using the subfigure environment from the subcaption package. Unless I'm misinterpreting the other questions, I believe I have read multiple questions asking ...
0
votes
2answers
74 views

How to vertically center a minipage within a tabular environment

My goal is to have the minipage of the second column vertically centered but I could not manage do do it. I tried the array package with the 'm' option : \tabular{c|m} but it did not worked, I also ...
4
votes
1answer
80 views

How to place in the middle v-aligment of cell? in a tabular/table with graphs?

How can I place a word in the middle by v-aligment? \documentclass[12pt,a4paper,x11names,landscape]{article} \usepackage{lipsum,mwe} \usepackage{caption} \usepackage{incgraph,graphicx,subcaption} ...
5
votes
0answers
160 views

Multirow cells with centered multiline text

I use tabu package to easily typeset tables. Now i need to typeset long table. So i used longtabu. The head of the table consists of much columns. Also there are lots of text in each cell and some ...
3
votes
3answers
139 views

Why does `gather` behave this way, and what can we do about it?

Here's a simplified version of the code I'm having trouble with. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{center}\underline{First set of identities.}\end{center} \[x+x = ...
4
votes
1answer
43 views

Vertically align minipages caption (no subfigures used)

After aligning a table and a plot horizontally I want them to be vertically aligned at the top of their captions(see last image). I have found solutions using subfigures or the floatrow package but ...
5
votes
1answer
71 views

lstlisting environment as item in description

I would like to show some listings inside a description environment like this: \usepackage{listings} % fancy code listings \usepackage{caption} % fancy chapters for fancy code listings ...
3
votes
1answer
43 views

Align cell contents at top

Consider the following example: \documentclass{article} \usepackage{diagbox} \newcommand*\mc[1]{\multicolumn{1}{c}{#1}} \begin{document} \begin{table} \centering \begin{tabular}{l | *{8}{c}} ...
3
votes
1answer
142 views

Setting the right distance to “=”

Consider this expression: How can I code this in LaTeX such that everything is aligned at the "=" sign such that the distance to the left and the right of the "=" sign at each line is the same as ...
3
votes
1answer
54 views

Text and picture top-aligned, where text is left-aligned and picture is right aligned

Using the answers from this sight, I tried to accomplish top-aligned text and image where text would have to start from the left side of the page, and picture would be at the right side. However, ...
0
votes
0answers
41 views

Bottom margin seems optional to LaTeX - text alignment doesn't always go to bottom

I apologize, if I'm missing something simple here, but I'm attempting to meet graduate school dissertation formatting requirements after (almost) finishing a PhD and I'm running into bottom text ...
0
votes
1answer
77 views

Tabular - Problem in aligning text

I've created a table and I want the text to be centered and aligned vertically in the middle so I used this code \documentclass[a4paper]{article} \usepackage[french]{babel} ...
9
votes
1answer
210 views

Why does color cause a vertical shift?

this TeX-source \documentclass[a4paper,12pt]{book} \usepackage[usenames,dvipsnames,svgnames,table,x11names]{xcolor} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead[LO,RE]{} ...
3
votes
2answers
64 views

How to vertically center an image in table, using p{} and without using m for tex4ht?

Ok, I gave up on this. This is the problem. I'd like to center an image in table columns. There are solutions for this, for example here but this does not work when I use p for column ...
4
votes
1answer
79 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
50 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
87 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
35 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
88 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
112 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
112 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
232 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
59 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
95 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
51 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
83 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
199 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
395 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
66 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
90 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
445 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
190 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
205 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
45 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
93 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
50 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 ...
3
votes
1answer
94 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
115 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
104 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} ...