{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.
1
vote
1answer
14 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
19 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
42 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
41 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
29 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
45 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
36 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
37 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 ...
4
votes
2answers
84 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
33 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
88 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
87 views
Center my dedication in my thesis
Currently, I have
\documentclass[a4paper, % Seitenformat
12pt, %
bibliography=totoc, % Literaturverzeichnis in das Inhaltsverzeichnis
...
5
votes
1answer
41 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 ...
3
votes
2answers
52 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
25 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
32 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
43 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
39 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 ...
5
votes
1answer
49 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}
...
3
votes
1answer
85 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]
...
4
votes
2answers
65 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
114 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
62 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
44 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
42 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
...
3
votes
3answers
51 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
65 views
Bad vertical alignment in latex \tabular
I've got a little question about my tabular vertical aligment. I've a two-column tabular with letter and text :
\begin{tabular}{p{0.1\textwidth} p{0.8\textwidth} }
Hypothèse & Description\\
...
5
votes
2answers
134 views
Why doesn't LaTeX vertically center contents of table cells by default?
Or perhaps provides an easier way to do so? Most tables rendered (that I have witnessed) seem to require vertical centering of content in table cells, purely for aesthetics. So what is the reason that ...
6
votes
1answer
42 views
Use \textquotedbl in repeating cells in pgfplotstable
I have Table 1. Repeating values in consecutive cells of a column should be replaced with \textquotedbl as in Table 2. Also \textquotedbl should be aligned centered according to column width although ...
5
votes
2answers
79 views
How to put the text at the top in fancyhdr
I made a document with 2 pages and headers:
Can I put "Page 2 of 2" at the top of the 2-nd page, so it was
vertically aligned with "Commercial invoice"?
How can I manage the padding between the ...
7
votes
1answer
56 views
How to vertically center the \vdots in this node?
I'd like the \vdots in this chain to have the same distance to both of the arrows. I know that I could manually shift the node so that it looks right, but there must be a better solution. How?
...
4
votes
1answer
48 views
How to lock a static text in the margin in ConTeXt?
Even though I have a some manuals at hand I can't seem to find a solution for my problem.
Within an invoice I created with ConTeXt (MkIV) I have placed a short paragraph in the right margin. This ...
8
votes
1answer
118 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:
...
5
votes
2answers
48 views
Managing checkbox representation
I tried to create a checkbox, analogous to
Creating Boxed Check Mark
This woks correctly:
\documentclass{article}
\usepackage{amssymb}
\begin{document}
...
1
vote
2answers
87 views
Vertical space depending on height of marginpar
I'd like to set a law text consisting of articles, marginal notes and, in most cases, paragraphs (\abs). The marginal notes should always start on the same line as the first line of the article text, ...
3
votes
1answer
56 views
How to increase the vertical space between two “touching” tables?
I skimmed Can't generate vertical space between tables but am looking for sth slightly different: I don't really want to keep the tables together necessarily - I'm happy to let LaTeX (or whoever ...
2
votes
1answer
62 views
How to vertically align title in LaTex
I'm finishing my master's thesis and would like to move the title vertically more down towards center of the page...I googled, but couldn't get it to work =/
Here is a portion of my code from the ...
0
votes
0answers
33 views
Why does \begin{figure} center my image vertically? [duplicate]
If I insert image into my document as such:
\includegraphics{spss24fore.png}
The image is aligned at top of the page, but when I use:
\begin{figure}
\includegraphics{spss24fore.png}
...
3
votes
1answer
85 views
Multirows, multicolums and vertical centring in the tabu environment
I have a table, using the tabu environment, in which I would like multirow and multicolumn cells. Inside the cells, any content that doesn't vertically fill the cell should be vertically centred.
...
4
votes
1answer
74 views
tabularx: bottom alignment on r or l-columns when X column wraps
In tabularx, when the X-column wraps on more than one line, l/r/c-columns remains top aligned: MWE:
\begin{tabularx}{5cm}{lXr}
1 & qwer asdf zxcv qwer asdf zxcv qwer asdf zxcv & 1 \\
2 ...
3
votes
3answers
60 views
Align text on a vertical axis similar to movie credits
I would like to align text on a cover page in a way often seen in movie credits, with the "key" ragged right and the "value" left:
I use two minipages next to each other to achieve this. However, ...
4
votes
0answers
45 views
Aligning a table (vertically) with a subfigure [closed]
I want to show three pictures and a tabel with explanatory text:
--------- ---------
| | | |
| Pic 1 | | Pic 2 |
| | | |
--------- ---------
...
2
votes
2answers
59 views
How can I get Table of Contents to fill the page?
If the Table of Contents has only a few lines, how can I add spaces between the lines so that it fills the whole page? Is there a command similar to \vfill ?
3
votes
1answer
114 views
beamer reference list
I am using Beamer with biblatex.
When I used the code below, it produced bibliography which has three slides. But the references in the last slide are in the center rather than top. So the first two ...
6
votes
1answer
58 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 ...
1
vote
0answers
24 views
mdframed in two column book vertical alignment problem (first page only) [duplicate]
I am trying to align the columns of the first page but without success into the mdframed. Any ideas?
\documentclass[11pt,a4paper,twocolumn,twoside]{book}
\usepackage{lipsum}
\usepackage{mdframed}
...
4
votes
1answer
60 views
Fix height of frametitle independent of content
I'm using a custom beamer theme from my university. The frametitle height depends on whether any characters extend below the baseline. A frametitle named "example" is higher than a title named "test". ...
8
votes
2answers
95 views
Odd vertical gap with multicol, scrreprt and parskip=half
I'm having a weird vertical gap in one of my documents, which only is there when I use multicol together with \documentclass[parskip=half]{scrreprt}.
Minimal example
...
2
votes
1answer
65 views
Line return/spacing after \hrulefill
I'm new to LaTeX and am trying to make a simple resume. I'd like my left-justified name to appear above an \hrulefill line followed by my right-justified address on the next line.
However, when I do ...
6
votes
3answers
76 views
\underbrace and align environment
I want to typeset a proof and want to emphasize what I do in each step e.g. by underbracing an equal-sign when I substitute a variable. In addition I also want to align equal-signs in every line. ...


