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

12
votes
4answers
463 views

How do diacritical marks impact centering and overshooting?

I am creating a table containing several foreign names with diacritical marks in them, and it seems to me that they ruin the vertical alignment, as they are too close to the top horizontal line. How ...
1
vote
1answer
37 views

table in the middle of the page

I'm creating an Appendix of lots of tables. I write \newpage \section{Appendix} \label{append} \begin{table}[h] \input{table1} \caption['Tis table1]{'Tis table1} \label{table1} \end{...
1
vote
1answer
21 views

How to flushbottom in the middle of a page respective to the next page

Consider the following MWE: \documentclass[twoside]{article} \usepackage{lipsum} \usepackage{calc} \usepackage{printlen} \uselengthunit{mm} \begin{document} \newbox{\mybox} \savebox{\mybox}{\begin{...
1
vote
1answer
40 views

fix alignment to have “=”s at one column

In my answer here, The alignment is not good. How can I fix alignment to have "="s at one column? Thank you.
0
votes
1answer
35 views

Vertically middle placement in Beamer

\documentclass{beamer} \usetheme{Madrid} \begin{document} \begin{frame}{Members} \begin{columns}[T] \hfill \begin{column}{.32\textwidth} \hspace{2mm} \includegraphics[height=0.2\textheight]{john....
1
vote
1answer
31 views

Align text with center of picture in Beamer

\documentclass{beamer} \usetheme{Madrid} \begin{document} \begin{frame}{Members} \begin{columns}[T] \hfill \begin{column}{.32\textwidth} \hspace{2mm} \includegraphics[height=0.2\textheight]{john....
0
votes
1answer
134 views

Beamer frame title manually change vertical and horizontal position

I am trying to change the vertical and horizontal positions of my frame titles and subtitles. So far I am using \setbeamertemplate{frametitle}[default][center] but I would like more control. Is it ...
2
votes
1answer
23 views

vertical spacing macro

I want to make large numbers of slides (=pdf pages) with one large word on each slide, centered vertically and horizontally. But the output is not centered vertically. I tried using the starred ...
2
votes
1answer
18 views

Vertical positioning of “part”-level header

I am using the \part sectioning with the following definition: \def\@part[#1]#2{% <------------------------------- \part[..]{...} \ifnum \c@secnumdepth >\m@ne \refstepcounter{part}% ...
5
votes
1answer
269 views

Why do the subscript numbers look misaligned?

I have the feeling that $\mathbb{Z}_{31}$, once compiled, look strange. It seems that the digit 1 is just slightly above the digit 3, or the other way around: the curly lower part of the digit 3 is ...
2
votes
2answers
48 views

Different Vertical Alighments Across Columns in a Table

I'm trying to create a table where some of the columns are are meant to be centrally (vertically) aligned, and some are meant to be at the top. It appears that using the 'm' column type for centering ...
1
vote
1answer
27 views

Vertical alignment of attributes on long table

I have created a longtable of 4 columns. As shown below. I would like to have the attribute on the first column, in this case "Business" vertical (sideways)instead of horizontal. What is the easiest ...
2
votes
0answers
45 views

Is there a way to control vertical spacing between minipage elements?

I have a large (7-chapter) document on linear algebra. In a part of the document where I do row/column operations, I have put the matrices in a figure within a minipage. I am getting a lot of vertical ...
1
vote
1answer
28 views

IEEEtran setting for 10-point type, 12-point vertical spacing

I am going to submit a journal paper that requires the following page formating: 14 double column, 12 pt pages double column page is defined as a 7.875" x 10.75" page with 10-point type, 12-point ...
0
votes
1answer
33 views

Mixing vertical alignments in a tabular

I know about tabu,tabularx, array, and the likes, but none of them seem to provide a satisfying answer to a remark made in the LaTeX Table Hints and Tips by Adrian P. Robson. Quoting: ...
2
votes
2answers
53 views

vertical centering in tabular using array and booktabs

In the following school timetable for my 4 kids I am trying to use array and the m{} command (vertical align middle) to get the word Peter to be vertically aligned in its cell, (at the cmidrule), ...
2
votes
1answer
33 views

\multirow cell is not vertically centered when \cellspacetoplimit and \cellspacebottomlimit are used

Common cell is not centered vertically. Without \setlength\cellspacetoplimit{5pt} and \setlength\cellspacebottomlimit{5pt}, it is centered. But I do want additional spacing between rows. I can ...
1
vote
0answers
41 views

one chapter affects layout of the next one

I maintain a very long document, which I usually process chapter by chapter, then compile the whole when the chapter I changed satisfies my needs. however, I saw an inconsistency in one of my ...
2
votes
2answers
55 views

How to use aligment in a list?

At the moment: What I want: Here is the code: \begin{enumerate}[(a)] \item $3,6,9,12, \dots$ \item $3,5,7,9,11, \dots$ \item $2,3,5,7,11,13, \dots$ \item \includegraphics[scale=...
2
votes
1answer
53 views

\vspace with negative value not working as expected

I want to position the image exactly in the corner of the margins, regardless of the text. However, the "Foo" gets placed slightly lower when using the code between the %s. Comment it out and you'll ...
3
votes
1answer
36 views

Side by side nodes, Horizontally aligned

I am trying to have two rows of nodes, but as you can see, the nodes are not horizontally aligned, so the arrows are off. How can I fix this? Result: MWE: \documentclass{article} \usepackage{tikz}...
3
votes
1answer
48 views

Items in columns are not top aligned the same

If I'm using itemize inside a beamer column, the items are not the same way top-aligned as the items without a column. I want the symbols of both items in the images to be at the very same place. \...
1
vote
2answers
89 views

Vertical spacing in list — latex3 syntax

Consecutively to this question, I need to add something after the inclusion of on itemed file to be sure that what comes next begins on a nexwline. I don't want skip blanck line in the source I'd like ...
1
vote
1answer
30 views

Placing two different floats next to each other (independent, float-specific captions)

I have two floats, a figure and an algorithm (new floating environment). I want then to be placed next to each other each using half the linewidth (or 48%, or whatever looks the nicest). I have tried ...
1
vote
1answer
41 views

align numbers based on their decimal point [duplicate]

I have the following table: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table} \centering \begin{tabular}{ lcccccccc } \toprule \multicolumn{5}{c}{\textbf{Training ...
2
votes
1answer
39 views

How do I centre the text in this custom paper size example?

I try to use the Swedish G5 paper size (169x239)mm with text width 111mm, text height 165mm, side margins 29mm and top margin 37mm. Why doesn't the text get centred? \documentclass[twoside,10pt]{...
1
vote
0answers
66 views

Adjust alignment of text inside TikZ

A block diagram is generated with tikz pfg via Dia. However, the text inside the blocks is misaligned vertically. This answer says that it is impossible to do from Dia. So, how can following diagram ...
4
votes
3answers
207 views

Graphics and brackets not vertically aligned within align environment

I'm trying to include small graphics within an equation setting (they're little diagrams of mathematical knots), using \includegraphics within the \begin{align} environment. The graphics themselves ...
7
votes
1answer
127 views

Alignment of TikZ pictures in subfigures

I have made two figures using TikZ that I would like to place side by side. This is done in this MWE: \documentclass{memoir} \usepackage{graphicx} \usepackage{tikz} \newsubfloat{figure} \begin{...
1
vote
1answer
35 views

Make LaTeX / KOMA-Script ignore vertical depth in sections

How can I force LaTeX / KOMA-Script (>=3.15) to ignore the vertical depth in sections? MWE showing the problem: \documentclass[twoside]{scrartcl} \begin{document} \section{ja} \rule{\textwidth}{1cm} ...
1
vote
2answers
55 views

to vertically align text in center in table when other cells are rotated

I am trying to move first cell text "Assembly" to the center of cell. I already tried raisebox, parbox and many more things but nothing worked. Please help me. And, I don't want to change the rotation ...
0
votes
1answer
27 views

Consolidating start of page

This is a follow-up to this question. I would like the contents of the page to start exactly where they would start if the header wasn't present. This turns out to be a lot more difficult than ...
2
votes
1answer
61 views

mis-aligned chemical names

I am using \chemfig for writing chemical symbols, but those symbols they are misaligned with the rest of the text. Is there a package that I should add? \documentclass[11pt]{report} \usepackage[...
2
votes
0answers
40 views

How to control height of minipages, when using multiple rows

I'm using minipages to create a newcommand that allows me row entries in a CV, because I can't use the documentclass that would make this easier. Each set of minipages is one entry in the CV. The ...
1
vote
1answer
61 views

align numbers in table of contents to the right

i am using http://www.ctan.org/tex-archive/macros/latex/contrib/arsclassica/ as a template. how can i align the page numbers in the table of contents? as i am not familiar with the commands in ...
4
votes
2answers
54 views

Vertically align $\bullet$ marker with \blacksquare marker in text

I use bullets and squares to reference samples in an image. This is how I use them in text: $\bullet, \blacksquare$ {\LARGE$\bullet$}, $\blacksquare$ {\huge$\bullet$}, $\blacksquare$ And this is ...
2
votes
2answers
63 views

How to align equations cases environment

The following code: \documentclass{article} \usepackage{amsmath} \begin{document} $\begin{cases} Af &=g \quad \text{if} \ c,\\ f&=0 \quad \text{if} \ d. \end{cases}$ \end{document} ...
4
votes
1answer
132 views

Equations in tcolorbox. Vertical alignment

I am simply trying to put a frame around equations in my beamer slides. For this purpose, I use the package tcolorbox. The MWE below produces boxes where equations are almost aligned at the base of ...
2
votes
0answers
55 views

h/v centering in tabular

I'm trying to get my cells in a tabular environment horizontally and vertically centered. MWE to be found at the end. I tried different orientations: c, which does what it is supposed to, as well as ...
0
votes
1answer
105 views

How can I move the second block of a column of three down?

My question is related to Tikzposter and blocks within columns. Begin situation: The code is describing three colums with each a block within Tikzposter. The second column block has no text. ...
3
votes
2answers
324 views

Simple visualization of 3D matrix

I need to visualize 3D matrix in a way similar to this one: There are no arrows needed, I only want to have all 2D arrays fully visible, one "behind" each other and their corners connected by lines. ...
2
votes
1answer
38 views

Aligning at top- Minipage

I referred the previous questions on aligning at the top when using a minipage. However, still could not solve the problem. I am guessing that there is some other problem in my code. The reduced ...
5
votes
3answers
125 views

New environment to vertically center text

Consider the following code: \documentclass{article} \usepackage[ papersize = 50mm, margin = 2mm ]{geometry} \begin{document} \topskip0pt \vspace*{\fill} test \vfill \end{document} What is ...
4
votes
2answers
63 views

Circles at the same height

How do I get the two circles to be on the same height? I tried the following \newcommand{\sss}{\;\;\;\;\;\;\:} \overset{\circ}{R}_{\mu\nu\sigma\lambda}\overset{\circ\sss}{R^{\mu\nu\sigma\lambda}} \...
2
votes
1answer
37 views

Spacing and size of my matrix displays

I am displeased with some of my display in the following equation : \begin{frame} \begin{align*} \left[ \begin{array}{l} \dfrac{\partial \log L}{\partial b} \\ \...
1
vote
2answers
56 views

Determine the height of a box with a rule

\documentclass{scrartcl} \usepackage{calc} \usepackage{showframe} \begin{document} \setlength\parindent{0pt} \newsavebox\maintitleBox \newlength\maintitleHeight \newcommand{\maintitle}[1]{% \...
3
votes
1answer
50 views

Centre vertically rotated text in table

So far I've a table with rotated text but it's appearing at the very top as you can see. I want the text in column 1 to be vertically centred in it's cell. The code I have is below. \documentclass[...
6
votes
2answers
122 views

Exact alignment of caption beside figure

I want to typeset some captions beside figures and in doing so observed some weird behaviour (at least for me). I use two minipages and for a minimal example everything aligns neatly at the baseline (...
3
votes
1answer
79 views

How to get uniform spacing between paragraphs across several pages?

I am using \flushbottom to get pages of equal height. When I now insert a tcolorbox which is set to be unbreakable such that a page break becomes necessary, only the spaces between paragraphs on the ...
8
votes
2answers
340 views

Inconsistent superscript placement in $q_x^{n_x} q_y^{n_y}$

As part of a document, I am typesetting the objects q_x^{n_x} and q_y^{n_y} right next to each other, as \frac{ q_x^{n_x} q_y^{n_y} }{2} It bugs me that the n_y gets displayed at a different ...