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

20
votes
5answers
479 views

“Q” and “A” in margin - out of alignment

I have defined a command for a letter in the margin as follows (using marginnote because marginpar did not work at all): \newcommand{\sideletter}[1]{\marginnote{\Huge\bf\sffamily\color{orange} #1}} ...
6
votes
1answer
766 views

Top aligning text contents of two parboxes or minipages

I'd appreciate help top aligning the contents of \parboxes containing texts of different sizes as shown in the following graphic. Because one of the texts has a different size it appears to hover ...
1
vote
1answer
360 views

Prevent vertical distribution of paragraphs over entire page

It seems it tries to fill an entire A4, as the image of the next page is too big. So it puts a lot of space between the paragraphs. But, I'd much rather have a big chunk of white at the bottom of the ...
10
votes
1answer
788 views

Equations inside enumerate aligned on item's number

If I type \begin{enumerate} \item \begin{align*} eqn 1 eqn 2 \end{align*} \end{enumerate} the label will appear on the first lines and the equations will ...
2
votes
1answer
3k views

ctable cell vertical align

I have a table like this: \documentclass{article} \usepackage{ctable} \begin{document} \ctable [caption=Sample] {|p{2cm}|c|} {} { \hline some multiline (2 or 3 fields) field & need to ...
9
votes
1answer
419 views

Context: Placing float (figure) and text-top at same height

I would like my figures to be flush with the text line beside them if they are positioned left or right and top. Currently the top edge of the figures are roughly flush with the 2nd line. This seems ...
1
vote
1answer
255 views

marginfix and letter class

One of the things I like about the letter class is that it vertically centers 1 page letters on the page. I recently discovered the marginfix package, but it seems to prevent the centering behavior. ...
2
votes
3answers
5k views

How to put text in minipage top-centered?

I am working on LaTeX and R. I want to put text (here itemize top aligned) in minipage. In the attached image (dummy image with itemize text), how can I put itemize . First line . Second line on ...
10
votes
2answers
620 views

Horizontal alignment within an equation using Tikz

I am trying to center horizontally the first terms of a system of equations inside the alignat environment. I don't know if Tikz is the right way to go, but as I might have to add some other ...
3
votes
1answer
245 views

center pages vertically automatically

I have a bunch of graphics and text on pages that I would like to automatically center vertically. In some cases there is extra whitespace due to page breaks that leave a large amount of footer space ...
4
votes
1answer
705 views

Context: Vertical-Align Image in Table Cell

I'd like to vertically center the alignment of an image in a table cell. The Text is (like usual) vertically centered, but the images continue to stick to the top of the cell. \starttable[|l|l|] ...
13
votes
1answer
2k views

Inline TikZ - vertical centering

If I inline a bounded line segment like this: the distance \tikz{ \draw [|-|] (0,0) -- (5ex,0); } overarching the activities how can I make the line appear vertically centered on the line ...
3
votes
1answer
528 views

Align text vertically

How can I do something like this: blabla: blabla bla bla blabla blabla bla blabla ... blabla2: blabla bla blabla bla bla blabla ablabla .. I tried the tabular and array ...
3
votes
1answer
143 views

Raising a minibox fails in a non-p tabular cell

While trying to answer a tabular related question here I found the following behavior which surprised me: I'm trying to overlap a multi-line text in an otherwise left aligned column with the empty ...
3
votes
1answer
447 views

Align \item labels at top of mdframed box

By default, enumerate's \item labels align with the top of the text: However, if the text happens to be a mdframed box, the labels align with the bottom of the box which does not look so good: ...
1
vote
2answers
539 views

Center vertically in tabularx with multiple font size and arraystretch

I would like to find a way to make boxes with a colored background, that take the whole width available, with variable text size and variable arraystretch. For the moment, the best solution I've ...
10
votes
2answers
4k views

How can I vertically align a beamercolorbox?

I am trying to customize a beamer theme. In the footline, information such as author, title, date ... are in several beamercolorboxes. \hbox{% ...
2
votes
1answer
598 views

Aligning margin note with line spacing different from main text

I have a main text column with margin a line separation of 1.05 (\setstretch{1.05}), and margin texts generated with a tighter line separation with the following macro: ...
6
votes
2answers
604 views

Spacing between figures and texts

I'm having some issues dealing with figures. It happens that when I have a page with some text and then it comes a figure, with H property, who doesn't fits into the same page as the text, the text ...
2
votes
2answers
650 views

Aligning tikz node at bottom of page (not paper; including margin)

I already know about \par\vspace*{\fill} to align a piece of text at the bottom of page (image below, left); but how do I do this with tikz? Only thing close I can find is aligning to current ...
3
votes
0answers
323 views

How can I make mdframed boxes break at the bottom of the page? [closed]

I'm trying to get mdframed to split at the bottom of my page, such that there is no white space between the bottom of the frame and the footer. At the moment I have this: I'd like to have mdframed ...
1
vote
1answer
342 views

I can't move my box I made

Here is the problem, I made a box using \begin{tabular}[b]{|l|} \hline example \\ \hline \end{tabular} I have the [b] meaning bottom, but the position never changes ... In general how do I ...
7
votes
1answer
525 views

How to vertically center content in ConTeXt?

I would like to vertically center my title page. I have tried code like this, but it does not work: \vfill \startalignment[center] Title \stopalignment \vfill I am using ConTeXt, so the ...
4
votes
2answers
876 views

Two images are not on the same level

I am using the following code to put two figures next to each other (I am not providing a minimal example right away, because maybe the problem is obvious from the code. However, I will, if someone ...
2
votes
1answer
324 views

Centering description vertically

I have a description environment and would like to center the descriptions vertically w.r.t respect to the items (which are images). \begin{description} \item[\pict1] - Description ...
7
votes
3answers
685 views

An environment for writing regular-font pseudocode

I want to create a pseudocode environment that looks like this: Basically, the font doesn't change - it's just the same as that of the surrounding text. It allows mathmode. And there is a box ...
2
votes
1answer
815 views

Matrix in an align environment

I'm currently writing on my masters thesis and I have a question about matrices at the end of a sentence. I write my matrix as a pmatrix in an align environment. Actually the matrix is at the end of ...
13
votes
2answers
1k views

How do I force TeX to completely use the 1st column?

How do I force TeX to completely use the 1st column before writing to the second column? Right now I dont have enough content to fill one whole page. So the left and right columns are equally filled, ...
7
votes
3answers
847 views

Align baseline in multicol

I'm using the multicol package and would like to align the baseline of the two columns. The simple use of a \paragraph heading seems to throw off the alignment, which can be pretty jarring visually. ...
4
votes
0answers
100 views

How to push image at the bottom of the present slide? [duplicate]

Possible Duplicate: Beamerposter… Columns not all aligned at top I have made two columns in a beamer presentation slide and both of them contain image. \begin{frame} ...
1
vote
2answers
818 views

How to vertically align multiple equations with text underset?

How do you vertically align equality signs when one of them has some text underset? My solution is: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[american]{babel} ...
3
votes
2answers
647 views

How to align rows in Tikz nodes & tabular environment

In the attached image, you can see the text is not aligning properly. At the end it started to align as required. Sorry I can not reduce the MWE any more. since the preamble in big so I will put ...
4
votes
2answers
865 views

Vertical centred alignment of text in table cell

I would like to know how to put vertical centered text inside a table cell. The problem with m column type is that i'm actually using tabularx to auto detect the width of the columns ...
0
votes
0answers
55 views

Spacing going crazy [duplicate]

Possible Duplicate: How to prevent the paragraphs to spread out over the page? When I try to put some tables in my document I get lots of white space between the section (which I am ...
7
votes
2answers
1k views

Subscript vertical position dependent on presence of superscript - how to change? [duplicate]

Possible Duplicate: Subscripts for primed variables If I have a variable which is always subscripted but only sometimes superscripted, the vertical position of the subscript varies. For ...
2
votes
1answer
252 views

Vertical justification and getting rid of extra line segments (in the first cell)

I am working on a table. My problem is that the text in the column "Type" for instance is not vertical justified. In addition I have an extra line segment at the bottom of the very first cell. ...
3
votes
1answer
539 views

Subdepth subscripts not aligned

I was under the impression that the subdepth package would even out the depth of subscripts, but I just tried the following code in which the subscripts are not "aligned": \documentclass{article} ...
1
vote
1answer
354 views

Aligning trees built with tikzpicture

I want to align some trees I am creating. I want the root node of all the trees to be on the same line. Currently for each tree I create, the root node of each subsequent tree is on a line after the ...
4
votes
1answer
158 views

How do I get m or b column specifiers working?

I have quite simple example: \documentclass[9pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english,russian]{babel} \usepackage{PTSerif} \usepackage{array} \begin{document} ...
16
votes
1answer
776 views

Vertical position of punctuation following fractions in display-style equations

Assuming that one wants punctuation in equations, what is the best way to adjusting the vertical position of the punctuation if it follows a fraction? I am using Palatino and Euler here (which I ...
3
votes
1answer
240 views

Force full line height in footer text

I am having problems with a custom footer in my document. On pages "v" and "x" in the front matter, the text shifts up slightly. The best I can figure is that the whitespace above those two page ...
4
votes
2answers
322 views

Wrong vertical position of heading created by \printindex [duplicate]

Possible Duplicate: Setting the same distance from the top of the page for chapter and index titles When compiling the following example, you can see that the heading heading "Index" ...
9
votes
2answers
1k views

How to level columns in bibliography?

I have been writing a scientific paper il Latex for an IEEE conference. The paper style is in 2 columns, and the last page of the paper contains a part of bibliography references. These last ...
10
votes
2answers
8k views

tikzpicture alignment and centering

I have several very similar images except some have some extra graphics that enlarge them slightly. This causes some pictures to be offset and not aligned visually when it's clear they should be. How ...
1
vote
2answers
3k views

Problem with image position on an empty page [duplicate]

Possible Duplicate: Table in LaTeX appearing in middle of next page I'm triying to make an image appear on top, but only works if I have some text, otherwise, the image appears at the ...
8
votes
3answers
675 views

Align \sqrt with baseline of other mathematical input

The following mathmatical expression is not being displayed the way I expect it to be. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} $3x\sqrt{y}-4-2\sqrt{y}+6x$ \end{document} ...
2
votes
1answer
143 views

Sized delimiters (\left( \right)) are too tall for vertically aligned array (\begin{array}[t])

Please compile the below and the problem will be clear. \documentclass{article} \begin{document} \noindent Compare \[ \begin{array}{l} \land ~a\\ \land \left( \begin{array}[t]{l} \lor ...
2
votes
2answers
287 views

Centering content in cells adjacent to Sideways Headings

I have a table produced by the following code: \documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{rotating} \begin{document} \begin{table}[ht] \begin{center} ...
4
votes
0answers
182 views

Vertical positioning of content on page [closed]

I've got a document I'm going to generate from some input which basically is a tabularx for each page: \begin{tabularx}{\textwidth}{lXlll} \hline \\[3ex] \commandOne \\ \hline \\[3ex] \commandTwo \\ ...
4
votes
1answer
5k views

How to change the vertical position of the text in a frametitle

I'm wondering how to change the vertical position of the text in a frametitle? Take for instance this frametitle: I'd like to place the text, in this case "Introduction", a bit higher such that it ...