{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.
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
42 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
207 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
29 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
38 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 |
| | | | | | -------
...
5
votes
2answers
44 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
1answer
55 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 ...
3
votes
2answers
60 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
29 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
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 ...
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}
...
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 ...
9
votes
3answers
311 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}
...
2
votes
1answer
66 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}
...
2
votes
1answer
106 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. ...
6
votes
2answers
88 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
66 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 ...
6
votes
1answer
75 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 ...
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
69 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
53 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
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
...
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 ...
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 ...
6
votes
1answer
67 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
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]
...
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
165 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
82 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
68 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
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
...
3
votes
3answers
80 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
68 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
157 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
51 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
106 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 ...





