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

1
vote
2answers
90 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
31 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
43 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
41 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
67 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
208 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
152 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
38 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
57 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
28 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
63 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
44 views

How to control height of minipages, when using multiple rows [closed]

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
71 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
58 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
64 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
143 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
56 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
119 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
365 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
45 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
132 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
66 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
59 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
63 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
129 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
81 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
344 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 ...
0
votes
0answers
18 views

Minipages in a table - alignment issues

I am working on a table and I faced with alignment problems. how can I put more space around vertical headings and center them? how can I center minipages inside table cells? Here is my (...
2
votes
1answer
34 views

Multiline header moves page number downwards

Concretely, if the header has two lines, the page number takes the position of the second line and therefore is one line below the page numbers of all pages with only one line in the header. I use the ...
3
votes
2answers
47 views

Display hexcode in table

I want to display some hexcode aligned in a table. This is what I got: \begin{table}[h] \caption{Dirty table} \centering \begin{tabular}{p{6cm}|p{6cm}} \textcolor{red}{0000 0000 0001 0000 0000 0000 ...
4
votes
1answer
125 views

Vertically center cells with fixed height?

Consider the solution http://tex.stackexchange.com/a/12762/4011 to the problem of fixing the height of a cell in tabular. This essentially adds some space above the cell content, so it is not ...
2
votes
1answer
130 views

align node bottom edges vertically

I would like to draw a diagram with boxes of different heights such that the bottom of each box is on the same height. Additionally, I would like to connect the nodes by horizontal arrows. My approach ...
0
votes
0answers
42 views

How to avoid vertical space between header and paragraph

How to avoid the space between the text continuous from previous paragraph and header? I have shown the picture of my document. please help on this issue... The image shows the unnecessary space by ...
3
votes
1answer
518 views

Subfloat vertical alignment in latex

If I have to pictures of different height and the same width, how can I dock them to the top that both pictures are vertically aligned. This is my code so far: \begin{figure}[h] \centering ...
4
votes
1answer
45 views

Vertical alignment problem when organizing image with tabular

I would like to display multiple images organized by tabular. Here's my code, which demonstrate what I want to do. \documentclass[11pt]{article} \usepackage{graphicx} \begin{document} \begin{figure} \...
2
votes
1answer
22 views

page numbering with braces and lines

Here is a MWE: \documentclass{article} \usepackage{fancyhdr} \usepackage{lastpage} \usepackage{lipsum} \fancyfoot[C]{ \hrulefill \{ \thepage\ of \pageref{LastPage} \} \hrulefill } \pagestyle{fancy} ...
2
votes
1answer
17 views

Left aligning text at center along with multiple equations

What is there I am writing a few equations with gathered and aligned. The problem is that A and B are left aligned with the first equation, and I want them at the center of all equations, whether 2 ...
3
votes
4answers
67 views

How do I fix the vertical alignment of the bracketed part of this equation?

The following MWE: \documentclass[]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{equation} \dfrac{dN}{da}=\dfrac{1}{C}\left[\dfrac{\cos\left(\...
3
votes
2answers
113 views

Vertically Center Row Entries in Table

in the MWE below, I wanted to be able to center the row entries vertically in the table. Thanks! Here is my code: \documentclass{book} \usepackage{amsfonts} \usepackage{booktabs} \usepackage{...
2
votes
1answer
31 views

Table could not aligned with the tex in paragraph

I have an table in my document but it seems really so ugly, since table not aligned vertically with the tex. You can see the screenshot and my try. Try: \mbox{}\vskip1cm \begin{table}[t] \centering\...
2
votes
1answer
72 views

about bullet under \cvlistitem

now I want to start a new section with all content with bullet in my resume using the popular modern cv templete. \documentclass{moderncv} \begin{document} \setion{new project} \cvlistitem{item ...
1
vote
1answer
55 views

Beamer titlepage automatically bottom-aligned

The title page of my beamer presentations is automatically bottom-aligning itself when there's more than one frame in the document. MWE No problems here - the output is as expected: \documentclass{...
1
vote
1answer
39 views

inline and vertical enumeration in the same document

I want to implement both inline and vertical enumeration in my document. I know that inline enumeration can be achieved using inline option of enumitem package. In addition, I found this question (...
1
vote
1answer
47 views

Aligning a table vertically and horizontally

I need to place a table in the centre of a page, here is the code for the table which just centres the table horizontally, but not vertically. \documentclass[12pt,a4paper,titlepage]{article} \...
0
votes
0answers
43 views

Different alignment on columns when the 'X' column wraps in tabularx

On 2013 I did ask this question and was answered, but implementing on another code I've new issues not presented before. I have a three column tabularx in which two of them are l, r or c and the ...
1
vote
0answers
36 views

Flushend creating black lines at end of document

I am using the flushend package in TeXmaker on my Mac in order to balance the lines at the end of my two column paper. However, the PDF is always created with horizontal black lines near the end of ...
3
votes
1answer
60 views

CV Address with Photo alignment

I have a problem regarding to my resume alignment. I want to show my address at top left of the CV and at top right show my photo. Here is a code snippet: \begin{document} \thispagestyle{empty} % ...
3
votes
1answer
29 views

Is there a \flushbottom-like command that may also decrease vertical spacing?

I am currently working on my thesis, which (hopefully) will once be finished and will then have to be printed. I would like the bottom lines of all pages to be aligned, like \flushbottom does. The \...
5
votes
2answers
316 views

Minipage and multicols, vertical alignment

I want to create two columns next to each other. The left side contains a text in two columns using the multicol package. On the left side is some other content. I've tried minipage, but in ...