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

7
votes
1answer
116 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} ...
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
52 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
0answers
41 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} ...
2
votes
0answers
39 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
48 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
53 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
62 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
118 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
51 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
88 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
288 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
34 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
120 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
60 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
34 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
43 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. ...
6
votes
2answers
114 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
71 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
339 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
17 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 ...
3
votes
2answers
42 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
116 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
96 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
39 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
132 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
41 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
64 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} ...
3
votes
2answers
103 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} ...
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] ...
2
votes
1answer
56 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
45 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: ...
1
vote
1answer
33 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
44 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
40 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
33 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
52 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
27 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
186 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 ...
1
vote
1answer
61 views

How to place several images on top of each other and center them on the page?

I can't figure out how to center the images. The aim is to center the images and make them large enough to stretch over the cropping line. Optionally: Is it possible to control how close the images ...
1
vote
1answer
44 views

How to move contents of fbox to top?

My question is how to align things in fbox in general but here's the clumsy solution I came up with: \documentclass[12pt]{article} \begin{document} { \fontfamily{qag}\selectfont \fbox{\vbox to 3in ...
2
votes
2answers
60 views

Weird vertical spacing within paragraph using multicol within tcolorbox

The basic idea would be to put a caption next to an image and center it vertically. I tried this within a tcolorbox environment since it's being used on a poster. I'm not sure, how much the tcolorbox ...
5
votes
4answers
73 views

Vertical Alignment of Equations in a Table

I am writing up a university project, and I want to create a table with the left column containing Feynman diagrams (which I have drawn using the feynmp package) and the right column containing ...
4
votes
1answer
37 views

Recurring decimal with letter (aligning at top)

A picture is more than 100 words. How do I align the dotts (automatically) and properly at the top? Code currently in use is from here: \documentclass[12pt]{article} %% packages ...
0
votes
2answers
97 views

wrapfigure at the bottom - no white space below wrapfigure

I want to place some figures at the left or right side of my book resulting into a reduced column width for the text. So I am using wrapfigure environment with number of narrow lines of 40. By this ...
6
votes
1answer
73 views

Breakable tcolorbox causes ragged bottom

When using a tcolorbox with the breakable option, this may cause a "ragged bottom" in some special situations. The following MWE demonstrates this behaviour: \documentclass[DIV=10, BCOR=10mm, ...