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

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 ...
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
45 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
119 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
114 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
279 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
43 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
66 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
106 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
64 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
50 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
38 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
42 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
57 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
249 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
52 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
76 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
75 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 \usepackage{amsmath,...
0
votes
2answers
123 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
87 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, twoside]...
3
votes
3answers
142 views

How to center a cell horizontally and vertically?

I just have a question. I do have the impression that s21 (and also s22, s23, s24) is not exactly in the middle of the lines "Falls Spieler 1 'schiessen' wählt, wähle 'schiessen'." and "Falls Spieler ...
3
votes
1answer
38 views

Custom align, three \beta = statements, so the beta is custom aligned vertically, and the matrices/vectors are all vertically aligned

Something like: \beta = [], \quad \beta = [], \quad \beta = []. So that the three forms of beta fit on one line. I want the \beta = to valign with the first element of the vector/matrix. I want ...
2
votes
2answers
62 views

how to center cell-content vertically?

I really like to center the content of the cells vertically, but I do not know how to do it. Is there maybe someone who can help me? Thank you! \documentclass[a4paper, fontsize=11pt]{scrartcl} \...
3
votes
2answers
62 views

Beamer, columns environment and text next to image

I am not able to get the text next to the image. As you can see, it is shifted downward. p.s. columns width can be changed. \documentclass[14pt,handout,t]{beamer} \usepackage{lmodern} \...
2
votes
1answer
77 views

Aligned figures and captions on one line

In LaTeX I'm trying to put two figures next to each other, with captions below, where the captions might have unequal numbers of lines in them. The images are bottom-aligned, and the captions are top-...
0
votes
1answer
34 views

centering an animation in beamer

there's lots about centering in beamer and animation in beamer, but I'm not finding what I need. I have an animation made through R's animate, where I've set the center option TRUE. The resultant tex ...
5
votes
2answers
100 views

How to fully center a \Shapepar?

I'm adding a colophon at the end of my document inside a \shapepar, however it appears at the top left of the page, and I can't manage to center it, both horizontally and vertically. I've loaded the ...
1
vote
1answer
38 views

Alignement with marginpar

I am using marginpar to write something in the margin and then write some other things just next to that. However, the lines do not match properly and there is a slight difference (see print screen). ...
4
votes
2answers
70 views

Get Quotes to Top of Fraction Latex

I am trying to put a fraction in quotes in LaTeX. I have the following so far: \documentclass{article} \newcommand*{\mquote}[1]{\text{``\(#1\)''}} \begin{document} \[ \frac{f(x)}{g(x)} \implies \...
4
votes
2answers
41 views

Vertically centering label for three subfigures

Vertically centering label for three subfigures I want to put one label on the left corresponding to 3 images; it's on the bottom left and I'd like it to be vertically centered. This is my code: \...
1
vote
1answer
61 views

Tabular cell alignment

I feel like this is a noob question, but I've been busting my chops trying to find an answer to this. I'm trying to create a table with two side by side paragraphs. They don't appear side by side ...
1
vote
2answers
115 views

Tikz node text vertical align with linebreak

I want to vertical align text in a chain of nodes. One node has a linebreak. What is the best way to do this? This is my current example: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{...
3
votes
1answer
118 views

Vertically aligning captions in side-by-side figures

I'd like to put two side-by-side figures with two different captions. I used this: \begin{figure}[h!tbp] \centering \begin{minipage}[b]{0.6\textwidth} \includegraphics[width=\textwidth]{...
1
vote
1answer
119 views

Text alignment in moderncv

I am making my cv with moderncv class. I have two questions: 1- How to align first and second column of "Programming Languages" vertically? So that, the text "Programming Languages" would be centered....
1
vote
0answers
13 views

Locally reduce space between equation and qed / placement of qed [duplicate]

If (using amsthm) I have a proof which ends on an equation, and after that some text goes on, I have something like: text / (bit of space) / equation / (bit of space which looks huge because there ...
2
votes
1answer
82 views

2x2 Array of PGF Plots

How would I properly layout 4 PGF plots on one page. Currently I have the plots spaced horrifically, and am not sure how to correct the problem. Ideally, I would like all 4 plots on one page, but even ...
1
vote
1answer
56 views

TabularX Adjustments

I'm trying to make a table in TabularX to help kids understand fraction and decimal conversions. Questions: (1) How do I fix the vertical alignment of the bottom right merged cell? (2) Is there an ...
4
votes
2answers
90 views

Adjust vertical position of single character in WordPress' Latex

I'm trying to define a new operator (like \bigominus -- but it doesn't exist) to create an equation like But the problem is that I can't shrink the lower indices after vertical aligning everything ...
1
vote
1answer
35 views

How to vertically center cells (tabular) without altering the automatic column width?

In the following file I have a table with insertion of figures. I want to vertically center the cell contents. Only the cells in the second and third rows. But I do not want to leave intact the ...
0
votes
1answer
50 views

vertical align multicolumn heading

I created a table using this code: \newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}} \begin{document} \begin{table*} \centering\ra{1.3} \begin{tabular}{@{}rcccccc@{}} \toprule & \textit{...
4
votes
2answers
77 views

Alignment of nodes with \addplot table

In the MWE below, I would like the nodes to align vertically. Giving them the same pos doesn't seem to do that. I can try to align them by adjusting the pos using trial and error but this is tedious, ...