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

6
votes
1answer
94 views

Beamer: Bottom align every frame

Is there a way to globally set the vertical alignment of the contents in a frame to be bottom aligned? In other words, I'm tired of adding [b] to every frame: \begin{frame}[b] ... \end{frame} I ...
3
votes
1answer
90 views

How to create a vertical line before a paragraph?

I want to make a formatting like the following in my document: | Remark: | This is my remark. I made an environment to encapsulate the remarks but i do not manage to create a vertical line that ...
0
votes
0answers
51 views

Clean inner upper left corner with single horizontal line (\hhline) and doube vertical line (||)

\documentclass[12pt]{scrartcl} \usepackage{hhline} \usepackage{verbatim} \begin{document} The basic table looks like: \begin{tabular}{|c||c||c|} \hline \multicolumn3{|c|}{1 + 2 + 3} \\ ...
7
votes
4answers
231 views

TikZ Stop and Check!

In my materials, I'd like students to have to verify at certain points with a teacher that they are ready to move onto harder materials. I'd like my students to see something like this: Maybe the ...
1
vote
1answer
78 views

minitoc suppress before/after space

Is there any way to easily customize \minitoc to avoid the big before/after space? Without using \vspace{-5mm} everywhere I use them (which is in a lot of chapters), and, only as a last case ...
1
vote
1answer
101 views

Spacing between lines with bullets

How to reduce spacing between lines with bullets? \item[$\bullet$ Text1] \item[$\bullet$] Text2 What command will include spacing between the lines generated by the above?
4
votes
2answers
127 views

How to place amsmath equations at top of page ignoring \topskip?

I need every amsmath equation to place at the top of the page. So I use \noindent to do that. Everything is fine except equation+split environment. Than formula is placed a bit higher (by ...
3
votes
2answers
231 views

Two tables do not align vertically

\documentclass{article} \begin{document} \begin{figure} \centering \begin{tabular}{*{3}{c}} 1 & 1 & 1 \\ 1 & 1 & 1 \\ \end{tabular} \vspace{3mm} \begin{tabular}{*{3}{c}} 1 & 1 ...
1
vote
1answer
59 views

Why is there a huge gap on top of my TOC?

I tried to delete all the geometry and delete the usepackage{geometry} and all the margins and everything but end up the TOC is still away from my top a lot. I want it to have 50mm away from the ...
2
votes
1answer
240 views

Invisible and unselectable text

For alignment reasons (for boxes that align themselves on the text they contain), I currently use this command : \newcommand{\uplowtext}[1]{ \transparent{0.}TJPtjp \transparent{1.}#1 ...
2
votes
1answer
79 views

Vertically center text in tabularx

There are already many answers to this question, but no one seems to have the solution for my case. My table looks, written with the following code, like this: \documentclass[a4paper,9pt]{extarticle} ...
2
votes
1answer
60 views

Vertically Center Last Column of tabularx

How do you vertically center the last column of a tabularx table? I tried to create a custom column, though, TBH, I don't really know what I'm doing. Basically, I'd like the contents of the left and ...
10
votes
3answers
136 views

How to get limits aligned?

Assume the following MWE/Screenshot. How to get the "limits" x and y correctly vertically aligned? I tried already: \mathstrut and \vphantom{g} as discussed in How to align limits of double ...
0
votes
1answer
68 views

Trouble with vertical white space when using multicol

I am trying to reduce the space between a subheading and a two column multicol. I have tried to change the margins on both the mutlticol and the heading, however it has lead me to no avail. This is ...
3
votes
1answer
70 views

Vertically center elements in rows of array

In the following table, I would like to center the Venn diagrams vertically. Here is a MWE showing my diagrams aligned "top": \documentclass[letterpaper,10pt,american]{article} \usepackage[left=1 in, ...
0
votes
0answers
113 views

Alignment of bullet points in Friggeri CV

The template I am using is the Frigerri one. I am having a problem aligning bullent points properly. Whenever a bullet point goes on to a second one the sentence starts where the bullet point on the ...
3
votes
1answer
41 views

Table mid align

I have made two tables side by side as below. \begin{center} \begin{tabular}{c|cc} \hline + & 0 & 1 \\ \hline 0 & 0 & 1 \\ \hline 1 & 1 & 0 \\ ...
5
votes
2answers
356 views

Vertical space in bmatrix

I have matrices with dense expressions in them and I'd like to loosen the matrix brackets a little. I'd like to be able to control the horizontal distance from bracket to first letter (both sides) and ...
1
vote
1answer
66 views

Vertical Centering Table in Landscape Page

I'm trying to center this very wide and loooong table in a landscape page. I tried \vfill and couldn't do anything. Also tried to trim margins: nada. Anyone has an idea? \pagestyle{empty} ...
1
vote
1answer
50 views

How to specify address and telephone number in resume in a vertical manner?

Hi i am making my resume. I want to write some more details such as residential address, Skype address, tel phone number in a vertical manner. How do i do it? Here is my code. \namesection{}{name}{ ...
1
vote
0answers
67 views

Vertical rule to fill remaining page height

I need to have a vertically-oriented titles with rules on either side that fill the available space. For example, the vertical SOFTWARE and PERSONAL titles here: Here's the relevant code that ...
2
votes
1answer
71 views

How can I vertically center one element, instead of the whole group

So I can vertically and horizontally center a group with the vplace environment from memoir. \begin{vplace}[0.7] \begin{center} some text \\ more text \\ a third line of ...
2
votes
2answers
137 views

How to align vertically by right border?

Consider this example: \hsize.1in \noindent \parfillskip=0pt \leftskip=0pt plus 1fil \hfuzz=2em hello world \bye The result is: The expected result is: Why the example does not produce the ...
2
votes
2answers
50 views

Vertical alignment of text based on image height [duplicate]

Problem: Trying to use tabularx to align text to a number of images. I have opened a similar question regarding tabular but decided to open a new specifically for tabularx since the tabular approach ...
6
votes
2answers
157 views

Align images with text without using tables

Problem: I have searched how you can align text without the use of tables using LaTex. What I am after is to align images after each other on one side and text to align to respective image on the ...
4
votes
1answer
43 views

Adjusting vertical alignment of sidenotes in Eledmac

I am using Eledmac to typeset a lengthy document which contains sidenotes. The body of the document is to be double-spaced, but I want the sidenotes to be single-spaced and in a smaller point size ...
3
votes
1answer
56 views

vertically and horizontally center content of complex tabu table

I'm having this MWE and want to horizontally and vertically center the x's in the last row (the numbers are for debugging purpose only). I've tried an appraoch with \newlength{\xlength} ...
2
votes
1answer
67 views

Alignment inside the table in tabular

I created a table, but the last column is moved to the left, although I set it as central. I cannot find what I am doing wrong, so if someone can suggest me how I can solve my problem I would be very ...
7
votes
1answer
144 views

How to make frame[t] as global default?

In Beamer, I would like to set frame[t]{ ... } as a global default of frame. How is it possible to set the option t as default? p.s. I know that it is possible by defining my custom command like ...
1
vote
1answer
99 views

Get actual position

Is there any command to get current position in text? What do I mean: \the\currentposition text text text text \newline \the\currentposition text text text text \newline \the\currentposition ...
1
vote
1answer
39 views

LyX Beamer [t] on plaint itle frame

Here, I read how to set [t] globally for a beamer template in LyX. However, is it also possible to just set the [t] option for the PLAIN TITLE frame and leave centering for all other? Best, Fabian
2
votes
1answer
264 views

How to horizontal/vertical combine two math symbols?

This is an absolutely minor/cosmetic problem. I can e.g. use stackrel so combine two math-symbols vertically. This is nice for \stackrel{!}{=}. But how to do this horizontally? I want to combine (only ...
2
votes
0answers
62 views

Alignment of TikZ Pics in TabularX

What is the easiest way to get that last square aligned the same was as the first two? Do I need to create a \newcolumntype that somehow centers the content both vertically and horizontally? If so, ...
2
votes
1answer
75 views

Strange interaction of minipage, multicol and xcolor

I'm not a big expert of LaTeX (and I know almost nothing of the underlying TeX engine), so sorry if the answer is more obvious than what appears to me. Can someone tell me why simply loading the ...
1
vote
0answers
54 views

How to have an itemized list vertically in par with its heading

I'm trying to vertically align these two but the itemized list seems to start from the next line. How could I make them look in the same line? ...
3
votes
1answer
77 views

How to put the section head on the same location as a slide title when using slidepage

I am developing my own beamer theme. As part of the theme I want the section slides to have the section title on the same position as the other slides. At this moment the position is a little off. ...
2
votes
2answers
126 views

Center tikz vertically inside tabular cell

The black tikz boxes/nodes are not vertically aligned inside the cells. Does anyone know how to do it? Thanks in advance, and please ignore irrelevant code, I know it's not very clean or ...
1
vote
1answer
142 views

Multirow table with variable number of rows

I'd like to format a table in which first column has a single line of text, centered vertically across a variable number of rows. Currently, I am using a IfEqCase and adding an entry in the first ...
4
votes
2answers
62 views

vertically align TikZ snippet in text

When creating a TikZ snippet inside a figure caption, the snippet is never really aligned with the surrounding text. For example, \documentclass{article} \usepackage{tikz} \begin{document} ...
1
vote
1answer
102 views

Double hline and no top left corner

I am trying to output a table looking like this: That is, where the first line is separated from the rest with a double hline, and where the top left corner is empty. The image above was obtained ...
1
vote
3answers
52 views

Vertically align checkmark in table column

I have the following table: \begin{table} \begin{tabular}{ | p{2cm} | p{9cm} |} \hline \textbf{Heading 1} & \textbf{Heading 2} \\ \hline Foo & Lorem ipsum dolor sit amet, ...
2
votes
1answer
52 views

Increase vertical space for tikz boxes

Problem: This problem is two-fold: How would I do in order to increase the top and bottom margin for the orange box where it says "Code if true"? How would I do in order to always align the orange ...
2
votes
1answer
40 views

Vertical alignment in substack when using displaystyle

I define the \underin command to make its first argument apper below its second argument with a rotated \in in between. It looks small, so I also define a command \dunderin by adding a \displaystyle ...
3
votes
1answer
68 views

Alignment issues in a table

Consider the following example: \documentclass[ a4paper, 12pt, landscape, danish ]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage[ hmargin = ...
1
vote
1answer
32 views

Vertically aligning tabular cell contents with respect to one another

I have a simple table that can be recreated with the simple MWE below, I am compiling with XeLaTeX: \documentclass[12pt]{article} \usepackage[letterpaper, left=19mm, right=19mm, top=3.52cm, ...
0
votes
0answers
35 views

Vertical space after grid of figures

So I've tried using normal subfigure environment as well as this Align 16 small images in a 4 x 4 grid and yet I still get this crappy result. How can I remove this vertical space, note that it is not ...
1
vote
1answer
115 views

Specify table in tabularx environment

I have some really specific requirements for my table's occurrence in my master's thesis (scrbook). I found some help in this forum but there is not "the" solution for me. Below you can see my actual ...
2
votes
2answers
771 views

Vertical alignment of multi column cells

I'm working on a complicated table, having multiple columns and multiple rows and each column needs a fixed width. When a cell has a long sentence, I want the cell fixed in width, while other cells in ...
1
vote
1answer
24 views

Vertical positioning of a label in enumerate with multicolumn

I have the following MWE: \documentclass[12pt,a4paper]{article} \usepackage{tabularx} \usepackage{booktabs} \usepackage{enumitem} \usepackage{ragged2e} \usepackage[utf8]{inputenc} ...
3
votes
2answers
146 views

Vertical alignment of text between images

I need to center (vertically) some text between two images of different size in Latex and would like to ask whether there is a simple way (similar to the \centering for horizontal alignment) to ...