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

1
vote
1answer
72 views

Table position at Top Problem

I am trying to place my table at the top of page but it seems there is something I am missing. First of all here is what my document structure \documentclass{article} \begin{document} ...
6
votes
2answers
161 views

Remove padding in table with images

I have a table with 2 small images in each cell. I reduced the horisontal padding with \setlength{\tabcolsep}{0pt} But I still have a white vertical space between a table separation line and images ...
4
votes
3answers
74 views

How align the qedsymbol after of a big formula in display mode?

Description of the problem My problem is this. For the proof of a math theorem i use the proof environment of the package amsthm. It adds a \qedsymbol in the last line of the proof, but if the proof ...
0
votes
1answer
66 views

Latex longtable misalignment after pagebreak

I have a longtable spanning multiple pages but the verticle alignment is forced at the pagebreak, so the first page is pushed down to the bottom while the second page is glued to the top. How can i ...
9
votes
2answers
133 views

How to align a marginpar with a section title

I wish to have brief information in a marginpar (or other solution) that aligns with the corresponding section (not section*) heading. So far the margin information is above or below the section ...
5
votes
2answers
51 views

Cannot get large centered text vertically aligned with flushed text

I cannot get the name to vertically align with the text on the left or the right. Using a table seems better but its still off. Just to clarify below are my two attempts to vertically align the name ...
3
votes
1answer
100 views

Vertically center text across two rows

I'm using the "calc2latex" macro for OpenOffice Calc to easily create tables. However it doesn't always work perfectly. In this case, I created the following table, but the texts in the two multirows ...
2
votes
3answers
111 views

Problem with horizontal and vertical centering of multiline cells in a table

I'm having difficulties perfectly centering (both horizontally and vertically) a few cells in my table. Here is a screenshot of what it looks like right now: The problem line is the one which ...
6
votes
2answers
114 views

Problem with vertical alignment in tabular environment

I'm having a few issues with vertically aligning table elements. There seems to be too much space either above or below the text or image. Is this to do with the fbox environment? I want both the ...
3
votes
3answers
161 views

Vertical alignment in table

I am making a table with LaTeX, and I have trouble with vertical alignment of the texts. When I have \hline, the text crosses the line. Here is the code: \begin{tabular}{lcccc} \hline\hline & ...
1
vote
1answer
39 views

Fix the value of the vertical space before/after \Large

Is there any way to fix the value of the vertical space before and after {\Large ...} to be 1.0em? Sometimes I use {\Large ...} just after or before a theorem and the theorem spacing requirements seem ...
2
votes
1answer
58 views

Newtheoremstyle, newline and enumerate

Consider the following code : \documentclass[12pt]{report} \usepackage{amsthm} \newtheoremstyle{multiple_remarks} {1.0em} {1.0em} {\normalfont} {0pt} {\bfseries} { : \\} {5pt plus 1pt ...
0
votes
0answers
99 views

Page-specific \nomlabelwidth in nomenclature

In order to keep symbols and descriptions in a nomenclature with the nomencl package vertically aligned, \nomlabelwidth has to be set to the maximal symbol width. This has effect on the whole ...
2
votes
1answer
74 views

Dividing page into equally sized sections, vertically and horizontally

I am the editor of a student-paper for mathematicians and physicists, which is made entirely through LaTeX. Right now I need to make a page with several different sections, a lot like the ad-pages of ...
5
votes
2answers
72 views

Default value of the space between rows in a tabular environment

Consider the following MWE. \documentclass[12pt]{report} \usepackage[francais]{babel} \usepackage[utf8]{inputenc} \begin{document} \vspace*{\fill} \begin{tabular}{l} \textbf{« Ah ! comme la ...
5
votes
1answer
58 views

Newtheoremstyle head aligned with top of tabularx

Here's an example : \documentclass[12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{tikz} \usetikzlibrary{shadows} ...
12
votes
1answer
206 views

Why is the \underbrace off the line?

I have the following problem with \underbrace: As you can see, the third underbrace and its comment are not in the line with the first two. Here is my code: \documentclass[a4paper,12pt]{article} ...
1
vote
0answers
173 views

Slanted fractions

I'm trying to develop a command to typeset slanted fractions. I know about nicefrac and xfrac packages, have tried both, and disliked both. At the moment, in text mode I use \nicefrac with a bit of ...
4
votes
3answers
218 views

How to write two *unaligned* multi-line braces on both sides

I have a theorem which is about some 4 conditions, 3 of which are equivalent in one case, and some other three are equivalent in some other case, hence I would like to typeset something like this: ...
7
votes
2answers
110 views

How to place an image in a chapter title (perfectly centered)

Before to begin, I know about: \chapter{My Chapter Title\hfill\includegraphics{image}} But it's not what I'm searching. I want the following result: Next are all the methods I tried (and their ...
6
votes
1answer
164 views

Aligning both tikz pictures and their captions

I am using two tikz pictures in subfigures. The baseline parameter allows aliging the subfigures via the nodes, however the caption (b) is much above the caption (a) in such case. If I don't you ...
3
votes
2answers
71 views

Unexpected behavior of arraystretch and figures in table cell

Using the graphicx and the includegraphics command, I want to place a figure in a table cell. In addition, I use the arraystretch command the increase the padding of cells. Unfortunately, I get a ...
0
votes
0answers
40 views

Image next to paragraph, start next paragraph below both

In LaTeX, I have a number of short paragraphs, each with a headline and an image on the right side. % First section \spacedlowsmallcaps{Some headline} \begin{floatingfigure}[r]{4.5cm} ...
0
votes
2answers
24 views

How can I position the tag of a “nested” aligned environment?

I have an equation that is two wide to fit on a single line, but it has \left(-\right) split over two lines, and I can't align to something inside these for some reason... The wanted output is ...
0
votes
0answers
59 views

Aligning figures in a table

I'm trying to align four figures vertically and horizontally. But I couldn't get it right in spite of repeated tweaks. I guess its a fairly small error. Can someone help me out? Here is a MWE -- there ...
2
votes
1answer
76 views

How to line up a tikz image with the bottom of a cell in a tabular

The code for the two images below is identical except for the colors and the 4pt in the bounding box in the bottom image. In the bottom image the diagonal line touches the corner of the blue area; in ...
3
votes
3answers
246 views

Vertical align \underset

I have this equation: \lim_{d \rightarrow \infty} \left [ \underset{a\leq x\leq b}{\mathrm{max}_p} \left | f(x) - m(x) \right | \right ] = 0 which produces this: As you can see the max part is ...
0
votes
1answer
93 views

How can I align 2 plots vertically?

I have two plots with tikzpicture above each other. (they have quite difficult text files as source, so I can not show them here). The plots have the same width, the problem is that the legend is ...
2
votes
2answers
97 views

Align the word input of algorithm2e with a tabularx table

I'm referring to this post. I like the idea from 'a different ben' of the tabularx table inside the \Input command. But I would like to have the word Input: at the top, on the same line as the first ...
0
votes
0answers
28 views

Options to allow for more vertical stretching possibilities

I'm writing my PhD thesis and am using the document class scrbook (with the twosides option), which uses the \flushbottom command as default. This means that my text (which contains a lot of formulas) ...
4
votes
3answers
111 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
151 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
221 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
28 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
161 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
84 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
55 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
165 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
74 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
57 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
83 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
85 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
183 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
141 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
48 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
80 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
46 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
144 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
58 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, ...