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

15
votes
4answers
752 views

Typeset old Spanish abbreviation: center ending over period

For a modern edition of music from the seventeenth century Spanish empire, I need to typeset certain antiquated abbreviations in the manuscript sources. In this convention, the middle part of the word ...
3
votes
3answers
43 views

tabular or tabularx: how to align the first column to the top?

In the example below, I would like the star to be aligned to the very top (as much as possible). Is it possible and if yes how to do it? I'm looking for a generic solution as I could replace the ...
1
vote
0answers
10 views

Properly indenting new lines in caption [duplicate]

I'm trying to get a caption with manual line breaks, where the next lines indent on the left with the first one. By default the next lines are not indented at all, so I tried using a tabular ...
9
votes
3answers
5k views

Putting text at the side of a tikzpicture

I've just completed a tikz diagram. I need the text In the following diagram, what can you say about $\angle F$, $\angle B$ and$\angle E$? to go to the right of the diagram to save space on ...
2
votes
1answer
36 views

Align two sections titles

I have recently started learning latex, and i have the following latex code with two minipages, and two sections in the first section i added two images, then i added an other minipage and a section ...
4
votes
2answers
100 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 ...
2
votes
0answers
43 views

How can I align lines between columns in a text?

Procurei de várias maneiras reproduzir no latex o texto mostrado na figura. Trata-se de um texto organizado em duas colunas onde existem linhas que estão alinhadas entre estas duas colunas.
1
vote
1answer
45 views

How to center longtable both horizontally and vertically

I have the following longtable, I want to center its content both vertically and horizontally, So far I've successed in centering it in one of them using the array package and newcolumntype \...
0
votes
1answer
27 views

Vertical center cell

Why is not vertically centered the second column, while the first one it is? \begin{table}[h!] \centering \begin{tabular}{|>{\raggedright\arraybackslash}m{0.4\textwidth}| >{\raggedright\...
1
vote
1answer
27 views

How to align the first line in “align*” to the “item” counter

\documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage[more]{tasks} \NewTasks[ counter-format={tsk[1])},%%1,a,A,r,R label-format=\bfseries, label-width=1.5em, label-align=left, %% ...
4
votes
4answers
207 views

How can I align the arrows?

This is a picture of what I would like to get and what I actually get. This is the code: \documentclass[11pt]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{microtype} \...
19
votes
6answers
10k views

Vertical alignment of align* in enumerate

Related (but not the same): Align number from enumerate with equation Displaying an equation in a list Earlier today I asked a question about aligning equations in an enumerate environment and ...
2
votes
1answer
56 views

Vertically centering a tcolorbox on a page

I'm trying to vertically center a tcolorbox on a page, but with the code below the box isn't exactly at the middle of the page. So far I've tried this: \documentclass[12pt]{article} \usepackage{...
1
vote
2answers
55 views

Prevent “jumping” \prescript stars

Look at the alignment of the following two formulas: X^* \cong \prescript{*}{}{X} The right stare, produced with \prescript, is higher than the left one. One solution from this question suggests a ...
1
vote
0answers
26 views

How to align two figure that are next to each other [duplicate]

Here is my latex code both picture has same resolution and size but i dont know why alignment is not right. \begin{figure}[H] \centering \begin{minipage}[b]{0.45\textwidth} \includegraphics[...
2
votes
1answer
71 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 ...
10
votes
4answers
153 views

How can I align two boxes to the top right and top left of a surrounding box?

Assuming the following structure (auto-generated from another document), how should I define \csup and \csub to line the sup boxes to line up with the top of the neighbouring box, and the sub boxes to ...
3
votes
1answer
38 views

Trim axes when having multiple plots inside tikzpicture

I use tikzpicture and axis environment to generate graphs. In one document I want that graph axes are vertically aligned with the text. So that ticks and labels are in the margins. If there is only ...
1
vote
1answer
31 views

Customizing title page - placing extra text

I am currently working on my title page and trying to set my adress to the bottom left of my page, as far as possible. Unfortanetly, I have no idea how to do it. That's how my code looks like: \...
2
votes
2answers
91 views

Merge table rows vertically and align text vertically

I want to create a table that looks like this: So this is what I already got: \documentclass[]{article} \usepackage[T1]{fontenc} \usepackage{booktabs} \usepackage{multirow} \usepackage{graphicx} ...
3
votes
1answer
34 views

Alignment of only some subfigures

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \usepackage{subcaption} \usepackage{siunitx} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff \...
0
votes
0answers
16 views

How to stop the effect of \balance{} command

I am using \balance{} command to balance the reference section. However, I have appendix after the reference and I do not want balancing on the appendix. How could I stop the effect of balancing ...
2
votes
1answer
35 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 ...
3
votes
0answers
36 views

Vertical alignment of fonts from different language groups

Dear Fellow TeX enthusiasts, Thanks very much for help with solving earlier problems with the Devanagari Package. I'm working without KOMA-Scripts for the moment in Xelatex/Xetex and am trying to ...
3
votes
2answers
75 views

How to align tikz node text vertically centered and horizontally left

Assume a tikzpicture consisting of three nodes with node text. \documentclass[border=5mm]{standalone} \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{calc, shapes, fit, positioning} \...
8
votes
2answers
418 views

Nonaligned lines…is it normal?

I have been editing a book, and I have stumbled upon this... The lines...from odd and even pages are not aligned...My questions is..Is it normal? I mean...I could define a paragraph spacing between ...
3
votes
2answers
40 views

Can't align my equations properly in my proof

I was wondering if anyone might be able to help me out with a spacing issue that I'm running into whenever I type out a lengthy equation. I'm trying to make my proof of the binomial theorem look clean,...
6
votes
3answers
8k views

\underbrace and align environment

I want to typeset a proof and want to emphasize what I do in each step e.g. by underbracing an equal-sign when I substitute a variable. In addition I also want to align equal-signs in every line. ...
2
votes
2answers
69 views

Tabular individual vertical alignment in header row with varwidth columns

How can i bottom align the header row only? Is there a way to do it with \rowstyle or something similar as i did to make the whole row \bf? I would prefer not to use multiple tabulars. (\...
1
vote
2answers
160 views

Quantum Circuit Alignment

I have prepared the following \begin{equation} \Qcircuit @C=1em @R=.7em { & \gate{H} & \ctrl{1} & \gate{H} & \qw \\ & \gate{H} & \targ & \gate{H} & \qw }= \Qcircuit @...
4
votes
2answers
44 views

How can I vertically center forest trees?

I wanted to typeset So, I wrote (derivation of http://tex.stackexchange.com/a/302713/82730) \documentclass[a4size]{article} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{adjustbox} % ...
2
votes
1answer
55 views

How to remove extra vertical space between vertically merged cells?

Following this thread, I have used the array package and \setlength\extrarowheight{3pt} to slightly heighten the rows in the table below in order to make room for the diacritical marks. \...
1
vote
1answer
22 views

How to fix vertical alignment of a minipage with a wrapfigure inside

In this example \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \usepackage{wrapfig} \begin{document} foo \begin{minipage}[t]{.9\linewidth} \lipsum[1] \...
4
votes
0answers
8 views

1pt vertical space after/before \includegraphics [duplicate]

Where does the approximately 1-point vertical white space between subsequent figure rows come from? You may see it in my MWE only if you zoom in between the rows. I have tried a couple of things to ...
1
vote
1answer
35 views

How working position label longtable?

2 problem: How align "continued table" and \caption text in left? \raggedright not working in this situation. How delete empty line before enumerator? Source code: \documentclass{article} \...
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 ...
1
vote
1answer
73 views

Is there a way to switch columns in paracol without introducing a paragraph break in the pre-switch column?

(M)WE: \documentclass{memoir} \usepackage[margin=1in]{geometry} \usepackage{paracol} \begin{document} \newcommand{\switchtoleft}{\switchcolumn[0]} \newcommand{\switchtoright}{\switchcolumn[1]...
3
votes
1answer
169 views

How to match vertical alignment of titlesec with tocloft?

I want to vertically align the Contents title including the horizontal rules (using tocloft) with the Introduction chapter title (using titlesec). However, I am confused as both packages seem to ...
3
votes
2answers
47 views

How to make text's vertical alignment be centered depending on a image's height?

I tried wrapfig and minipage but wrapfig gives me collisions while minipages don't center the text to the image properly. Example with minipage: \documentclass[14pt,oneside]{memoir} \usepackage{...
2
votes
1answer
170 views

ModernCV classic - family name on separate line

I'm trying to create a resume using the moderncv classic template, but the lay-out of my name is a bit off. Since my last name is fairly long and the personal information box on the right includes a ...
1
vote
0answers
17 views

How can I put a minitoc and the chapter title on the middle of the page?

So far I've managed this [1]: http://imgur.com/o2QjG8d "image" but the chapter won't be on the middle page. With this code: \chapter{\vspace*{\fill} Introdução} \centering \minitoc \label{ch:...
1
vote
0answers
30 views

I want to center vertically these group-plots but i can't do it

\documentclass[border=1cm]{standalone} \usepackage[x11names,dvipsnames]{xcolor} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{pgfplots} \usetikzlibrary{arrows,snakes,patterns,decorations....
1
vote
1answer
34 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 ...
12
votes
4answers
465 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 ...
6
votes
2answers
2k views

Shift page up slightly. Can't get \enlargethispage*{-2\baselineskip} to work

How would I shift up my 2nd page to the 1st page? There seems to be a lot of space left on the 1st page but I can't get the 2nd page to move up to the 1st page. I tried using \enlargethispage*{-2\...
2
votes
1answer
40 views

tabularx/siunitx table: column of integers not properly aligned

I have adapted a table format recently suggested on t.SE, which works well except for two issues. MWE is below. \usepackage{array} \usepackage{dcolumn} \usepackage{tabularx} \usepackage{...
1
vote
1answer
39 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
181 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 ...
1
vote
1answer
41 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.