{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
50 views

how to tag an equation within an itemize - using amsart

I'm doing the following thing \documentclass[leqno]{amsart} \begin{document} Example. \begin{itemize} \item Such and so \item the following holds \begin{align} x - 2 \end{align} ...
3
votes
1answer
40 views

Vertically align characters raised with \stackrel

I learned from Stefan's reply to Putting a character above another character to use \stackrel in math mode to do just that. I'm using that right now to mark segments of a word as having a high (H) or ...
9
votes
2answers
201 views

How to correctly shrink the bullets of itemize

How can I shrink the bullets of itemize without change its positioning and the centering versus the items? My code below show that behaviour in fact the two item underneath have a bullet shifted down ...
1
vote
0answers
27 views

How to vertically center text on the centerline of short lower-case letters in ConTeXt?

I have a title in my document like this: Birds of South America “Birds”, “of”, and “South America” are each in different fonts and sizes, like this: {\ssc Birds} {\cga of} {\ssd South America} ...
4
votes
1answer
37 views

horizontal and vertical image alignment with subfigure package

I have 5 images : A,B,C,D and E, all are different size. They need to be set up like this: ------- ----------- ------- ------- | | | | | | | D | | | | | | | ------- ...
11
votes
1answer
101 views

Alignment rules

I find myself quite frequently in the need to check whether some elements on my page are aligned exactly as intended. As a result, I usually end up magnifying the output 400% and using a rule over my ...
5
votes
2answers
43 views

Uneven number of subfloats on separate lines

I have 5 subfloats that I would like to distribute 3 on the top line and two udnerneath but equally spaced between the top 3. But \\ doesn't seem to do anything between them. What do you sugges? ...
3
votes
2answers
58 views

Vertical aligment of subfigure to the top edge

I have a small problem with vertical alignment in LaTeX. I have 3 figures with different height and I want to show them in one figure (side-by-side). Unfortunately, by default they are aligned to the ...
2
votes
1answer
28 views

How to top- align sidenotes using eledmac?

Eledmac commands \ledleftnote \ledrightnote \ledsidenote insert side notes at the level where the command was issued. However the side note is bottom aligned, meaning the the note doesn't start at ...
3
votes
1answer
54 views

pgfplotstable: centering colums and adding vertical lines

I'd like table to have centrally aligned columns and a vertical line between columns 2 and 3. This was possible before I included the 'dec sep align' code but afterwards the columns shifted to the ...
2
votes
1answer
28 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, ...
2
votes
1answer
105 views

Exhaustive Information about text alignment in Tabular

The purpose of this question is colleting the exhaustive information about text alignment in tabular environment and it's derivatives. As base, let us use the possibilities of Microsot Word's tools. ...
5
votes
0answers
61 views

marginnote vertical alignment

I've run into a problem using the marginnote package; the vertical position changes if the note is wider than the margin. An MWE: \documentclass{article} \usepackage{lipsum,marginnote} ...
9
votes
3answers
308 views

Letter “p” ruining vertical alignment

I have a simple diagram I have created. \begin{figure}[t] \begin{center} \setlength{\unitlength}{10pt} \begin{picture}(24,4) \setlength\fboxsep{0pt} ...
3
votes
2answers
40 views

multirow position not correct, how to fix it?

I have three figures to be put in a way subfig1 -------subfig3 subfig2 And height(subfig3)=height(subfig1)+height(subfig2), so that the top of subfig3 is aligned with the top of subfig1, and the ...
2
votes
1answer
64 views

TikZ: Text blocks with minimum spacing AND “preferred” anchor

I'm new to TikZ, and I'm trying to solve a problem which should be easy, I found many related examples but none helped me. Given the following MWE: \documentclass{article} \usepackage{fontspec} ...
6
votes
1answer
66 views

m column doesn't center text vertically

I want vertically centered text in a simple table like this: \documentclass{article} \usepackage{array} \newcolumntype{Z}{>{\centering\arraybackslash}m{0.2cm}} \begin{document} ...
6
votes
2answers
87 views

Automatically Raising Subscripts

I have the following expression J_{ne}\boldsymbol{\mathsf{J}}_{ne}^{-1} which is awkward in the sense that as the second (sans-serif) J has a superscript that the subscripted indices are lower than ...
4
votes
1answer
64 views

How can I take this image on the same line as my text?

Problem I have a sentence in my document that is all on one line. I also have a logo (as a .eps file) that is about the same height as the text. I would like to have the logo on the same line as the ...
2
votes
1answer
65 views

Vertical alignment (top, center, bottom) of figure and two texts in tabular

Based on Tabular alignment of text and figure, my question is how can I get t, c, b alignment of all 3 elements that make part of tabular. The t and c works fine, but not the b. ...
5
votes
1answer
94 views

Tabular alignment of text and figure

For an exam paper I'm preparing, I want to properly build a top page header, with the university logo, and two block of text side-by-side (for course, department, etc.). I have already seen some ...
24
votes
2answers
299 views

Two rules directly under each other

I'm trying to make two rules of different length (fatness) directly under each other, something like: -------------------- ==================== Where = is a fatter line than -. The vertical space ...
6
votes
1answer
74 views

Rule at the middle of a page

Is it possible to draw a (dotted) horizontal rule at the middle of the page (same distance from the top as from the bottom) independent of the rest of the text (perhaps in some way overlayed over the ...
12
votes
4answers
2k views

In beamer class, how do I remove the additional vertical space before an itemize environment?

On a beamer slide, I want to produce something like I use the following LaTeX code, which works well in LaTeX with the article class. \begin{minipage}[t]{1.4cm} Questions: \end{minipage}\nobreak ...
1
vote
1answer
39 views

Aligning columns in beamer with a list

I often run into a problem with beamer. I have a picture on the left and an itemize environment on the right. However the itemized text appears at the very bottom and is often cut off. I then need to ...
0
votes
1answer
32 views

Centering vertically in table cell with other rotated cells

I would like to center the Available Expression, Very Busy Expression... Live Variables cells. The following code aligns the quoted cells only on the bottom of the cell itself: is there a way to ...
3
votes
1answer
47 views

tabular vertical align based on lowest line in a cell, not on the base line

I want to make an enumeration that looks like this 1. This is some very long sentence that might need several lines. Does the next cell line up with the last line of this ...
2
votes
3answers
48 views

How can I get text and symbols to have the vertical alignment that I need?

I am trying to create a list of notations in which the symbols are on the left of the page but they have an alignment on the right while the meanings are on the right of the page but they have an ...
3
votes
1answer
30 views

Vertical spaces at the last page of section

I am writing a {book} using Lyx with \flushbottom option. Sometimes some page looks a bit strange because of large vertical spaces, ok. But my question is: Is there an option with says "if a last page ...
3
votes
0answers
68 views

pgfplots trim to axis area even with extra ticklabels

I have a plot with extra x tick labels on top in pgfplots that i wish to display in a figure at the top of my page. I wish to have the top of the actual axis rectangle directly at the top, with the ...
3
votes
1answer
39 views

Why is my document moving out of alignment after the first page

I already tried using \noindent but this error actually keeps happening on every other page. The problem can be seen below when observing the difference in alignment of the (4) and the (5)
2
votes
1answer
52 views

Aligning equality sign with overset text

I'm typing a logic definition within an align environment that uses \overset{def}{=} from the amsmath environment. However, the new sign is aligned vertically based on the equality sign, and not on ...
5
votes
1answer
45 views

flush bottom an environment

Suppose, I have defined an environment called myenvironment which typesets multiple lines of text using various formats. So, the height of the environment depends on the text that it has which is ...
4
votes
2answers
91 views

Boxing a number and aligning it vertically along the baseline

I am making a big list of exercises and I'd like to box the number of the exercise at each line. I found this: \tikzstyle{square}=[minimum width=0.5cm, minimum height=0.3cm, rectangle, rounded ...
2
votes
2answers
43 views

How to align an image to the bottom inside a table cell

I created the following document: Code: \documentclass[11pt]{article} \usepackage[a5paper]{geometry} \usepackage{tabularx} \usepackage{graphicx} \begin{document} \begin{tabularx}{\textwidth}{|X|} ...
6
votes
4answers
99 views

Enumerate alignment

Is it possible to improve the alignment of the first item? \documentclass{article} \begin{document} \begin{enumerate} \item \begin{tabular}{cccccccccc} $x[n] = $ & \{1/3 & -1/2 & ...
4
votes
2answers
98 views

Center my dedication in my thesis

Currently, I have \documentclass[a4paper, % Seitenformat 12pt, % bibliography=totoc, % Literaturverzeichnis in das Inhaltsverzeichnis ...
3
votes
2answers
57 views

tabular can't vertically align the cell to the top

I have the following code: \documentclass[11pt]{article} \usepackage{array} \begin{document} \begin{tabular}{|p{1cm}|m{1cm} | @{}m{0pt}@{}} \hline 1-1 & 1-2&\\[1cm] ...
4
votes
1answer
27 views

Vertical alignment of the `aligned` environment in table cells

I think most people will agree that the vertical alignment in the table cells below is less than ideal--especially if I want to remove the \cmidrule to be more in line with accepted "best practices" ...
2
votes
1answer
35 views

How do I center my title (both horizontally and vertically)?

I'm trying to create a centred title, both horizontally and vertically on the page. I'm rather new to latex - so far, I've tried the code below without success: \begin{center} \title{Title} ...
2
votes
1answer
47 views

vertical placement of graphics in marginpar

I'd like to put small graphics into the margin via \marginpar. The top of the figures shall be aligned to the top of the text line they refer to. I found around here the suggestion to put a \vskip0pt ...
0
votes
0answers
50 views

TikZ triming text based on an other node placement

I am using tikz to create a page layout comprising different nodes, each node containing a bit of text. The nodes are placed relative to each other. What I would like to achieve is that for some ...
3
votes
1answer
105 views

Tikz vertical alignement text and shape

I want to vertically align sans serif font with a rectangle. The following code show the problem: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary[positioning] ...
8
votes
1answer
128 views

Too much vertical space before \part when using \marginpar

When I use a \marginpar{...} before \part{...} on a new page, I get a big space on the top of that page. Below is a screenshot, where the left one was typeset with marginpar, the right one without: ...
4
votes
2answers
72 views

(How) Can I vertically align parts of cell contents differently?

I am trying to create the following game matrix and am wondering how exactly can I vertically align the cell contents? Especially since I need them to be offset differently in the same cell.Is this ...
6
votes
1answer
164 views

Code improvement and suggestions in template

Consider the following MWE: \documentclass[12pt,twoside,letterpaper]{report} \usepackage[text={4.95in,7.5in},centering,bottom=1.5in,showframe]{geometry} \usepackage[dvipsnames]{xcolor} ...
3
votes
2answers
80 views

Vertical alignment in tabular cells with variable height

I have the code: \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{tabularx} \usepackage{lipsum} \begin{document} \begin{tabularx}{\textwidth}{ | X | c | } \hline \lipsum[1] ...
4
votes
1answer
67 views

Vertical alignment in tabularx X column type

I'd like to create a new column type which works exactly like a X column from tabularx but that also has the text vertically centered. I tried with the newcolumntype command but I can't figure out ...
3
votes
3answers
77 views

Alignment of \includegraphics in a tabular

When putting a graphics inside a table, the text at the right is too much at the bottom Minimum example : \documentclass{article}[12pt] \usepackage{graphicx} % This is already loaded by the ...
3
votes
3answers
59 views

Vertical alignment in tabular cells with fixed height

I have the code: \documentclass{article} \usepackage[a5paper]{geometry} \begin{document} \begin{tabular}{ | c | } \hline top\\[8ex] \hline center\\[8ex] \hline bottom\\[8ex] \hline ...

1 2 3 4 5 14