Questions tagged [vertical-alignment]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

Does vertical math work with complex equations?

Does vertical math work as way to code complex equations like this: { \\\I want to vertically add line one to line two, and then show it is equal to 2(phi-1) on line three, but I can't find the way ...
user avatar
0 votes
2 answers
27 views

tikz: fit rectangle to content and rectangle nodes

I'd like these two rectangles are positioned side by side, aligned with their upper side, without having to "manually" calculate the position, using the anchor points. I've made sure that ...
user avatar
1 vote
1 answer
25 views

Center reaction with chemfig: subscript causes shifting

As can be seen, the second molecule of the reagents is not aligned with the first, probably due to the presence of the methane subscript 4. I tried this solution, but it doesn't work. Any idea? \...
user avatar
1 vote
2 answers
79 views

Formatting chemistry reaction

This is a draft of the reaction I would like to draw \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[full]{textcomp} \usepackage[greek,italian]{babel} \...
user avatar
0 votes
0 answers
11 views

how to show two vertical tapes of numbers with arrows between them

I want to make picture looks like this:
user avatar
1 vote
1 answer
27 views

Beamer overprint: center content vertically

In this MWE, I want the images to be centered vertically: \documentclass{beamer} \usepackage{mwe} \begin{document} \begin{frame} \hrulefill{} \begin{columns} \begin{column}{0.4\textwidth} ...
user avatar
  • 1,193
0 votes
1 answer
32 views

Indentation in Beamer Frametitle [duplicate]

I'm coming here looking for help because I've tried in every way to correct the error in the attached figure. When dealing with a long title, the second line suffers an unnecessary indentation. I ...
user avatar
1 vote
1 answer
57 views

Fix vertical space [closed]

When I write between the 1st question and the 2nd question, I want to prevent the 2nd question from moving down. I want question 2 to remain fixed Like this: \documentclass{exam} \begin{document} \...
user avatar
  • 172
0 votes
1 answer
28 views

top align lrbox [closed]

Is there a way to top align two lrbox? I try to mimic the captions of tufte-latex. On the left, what I want, on the right, what I got so far. \documentclass{book} \usepackage{kantlipsum} \usepackage{...
user avatar
2 votes
1 answer
104 views

tabularray keeps middle vertical alignment of its content

I would like to know what is forcing a middle vertical alignment in the following example in the main table. The inner tables are OK but the outer table does not respect the different alignments, ...
user avatar
  • 495
1 vote
2 answers
26 views

Align first table’s line with context baseline

I'm using tabbing environment in a regular context but I'm trying at the same time to align the first line of tabbing with the context. For the moment, this is my MWE: \documentclass{article} \begin{...
user avatar
  • 2,080
0 votes
1 answer
42 views

Drawing a Multi-Column Table with Latex

I am trying to draw exactly the same table below (Please pay attention to the vertical text at the very left): How can implement such a thing in LaTeX? Thanks!
user avatar
  • 19
5 votes
1 answer
61 views

Add spacing beneath multi-line covington gloss

I would like there to be some space below the last (populated) line of a covington gloss so that long glosses are easier to read. This code: \documentclass{article} \usepackage{covington} \begin{...
user avatar
1 vote
3 answers
41 views

How can I vertically align an equation within a multirow table?

I'm building quite an involved table for one of my research papers, combining long equations and diagrams. Please can someone help with the vertical alignment of the right hand side columns to be ...
user avatar
3 votes
1 answer
57 views

Caption package is adding vertical spacing to my document

\documentclass{article} \usepackage[table]{xcolor} \definecolor{background}{rgb}{1,0.62502,0} \usepackage{caption} \usepackage{lipsum} \usepackage{hyperref} \hypersetup{ colorlinks = true, ...
user avatar
  • 736
0 votes
1 answer
46 views

Underfull \vbox (badness 10000) warnings in Book with no floats or math, just simple headings (Part and Chapter) and text

So I have this relatively simple-coded book document. When I try to compile it, I get a lot of Underfull \vbox (badness 10000) has occurred while \output is active warnings (though there's only one ...
user avatar
3 votes
1 answer
49 views

How to make sure texts of the same size on different pages are at the same distance from the page top if it's mixed with images and text of other size

There's just THIS TEXT NEEDS TO BE ALIGNED text on one page of my book that's preceded by some vspace value. There's also some WITH THIS TEXT text on another page that's preceded by some vspace value, ...
user avatar
0 votes
1 answer
33 views

Struggling to display a table

I have been tasked to display a table that looks like follows: Here is the LaTeX that generates such table: \begin{table}[] \begin{tabular}{lllll} Logo & \multicolumn{3}{c}{Type de fiche} & \...
user avatar
  • 111
0 votes
2 answers
31 views

Trying to place an image vertically above another in a two column document in latex

I am trying to get one tall image on the left with two smaller images next to it, one on top of the other. This is my code so far: \begin{figure}[h] \subcaptionbox*{First subfigure}[.45\linewidth] ...
user avatar
  • 1
1 vote
2 answers
73 views

Some pattern questions in Latex

I wish to write Arzéla-Ascoli's theorem in my Latex work, but the é did not show up in the final file. I input Arzéla-Ascoli then the output is Arzla-Ascoli I want to use \begin{align } k &=P(x)...
user avatar
  • 11
1 vote
1 answer
44 views

Increase vertical gap between acronym heading and the body using \usepackage{acro}

I am using texmaker and have printed a list of acronyms using the package acro. However, I am unable to increase the vertical space between the acronym heading "List of Acronyms", and the ...
user avatar
  • 11
1 vote
2 answers
40 views

Center text in "X" columns in Tabularx and center the table itself

I would like to center the text in the middle of the respective cells for the "X" columns I have defined (last six columns). I would also like to center the table itself. This is my first ...
user avatar
2 votes
2 answers
50 views

Multiple alignments in a tabularx table

I'd like to build a 2-column table, where the first column is horizontally and vertically centered while the second one is only aligned to the left. I came up with the following code but it doesn't ...
user avatar
2 votes
4 answers
139 views

How to vertically align text and equations

How could I vertically move the third line on the left upward so that it doesn't appear broken with the two lines above? I'd like to obtain this. I have used this code. \documentclass{article} \...
user avatar
  • 23
0 votes
1 answer
36 views

Minipages with tilted text vertical middle

I want to make a plot as follows: I'm planning to use minipages. However, I don't know how I can include tilted text (as on the left) and how to make it be vertically algined to the middle of the ...
user avatar
  • 3
0 votes
1 answer
38 views

Spacing and fontsize from caption of longtable

I have a problem with the longtables, they are not in the same format as the tables. I don't fully understand the way it works. The code is as follows: \documentclass[ 12pt, % ...
user avatar
0 votes
1 answer
29 views

How to obtain top aligned text (with respect to the top of the text and not the bottom) with parbox in header?

I would like to have top aligned text on \fancyhead[L] and \fancyhead[R]. First attemps: with parbox For the moment I was able to obtain this (red dotted line just for explanation purpose): With the ...
user avatar
0 votes
1 answer
26 views

Vertically align picture with groupplot in pgfplots

I am trying to align a picture with the groupplot in a single figure. valign=t command gives a Package pgfkeys Error even though I am using \usepackage{adjustbox}. Any ideas how I can do this? Here is ...
user avatar
  • 337
1 vote
1 answer
22 views

Vertically place & centre floats with AMS classes just like standard classes

I'm using my own modified version of the amsbook class. Unlike the standard classes, the AMS document classes place floats with [p] option at the top of the thereby created separate float page instead ...
user avatar
  • 624
1 vote
1 answer
51 views

How can I center and scale a `mindmap`?

I've been trying to define a mindmap that covers the entire a4paper page and that is centered. The result is unsatisfying at the moment: MWE: main.tex \documentclass[10pt,a4paper,landscape]{article} ...
user avatar
1 vote
1 answer
64 views

Using Philex how can I change the spacing between subexamples?

Please, can someone explain how to patch Philex to customize the spacing between examples, subexamples and subsubexamples, respectively. For example, if I want spacing between subexamples but no ...
user avatar
1 vote
2 answers
45 views

Align baselines of figure and table using minipage and stackunder

I'm trying to place a figure and a table side by side so that the baselines, rather than the captions, of both are aligned: The answer to this question does this \stackunder with minipages, but uses a ...
user avatar
0 votes
1 answer
58 views

Section header element should occupy zero vertical space

My goal is to split a diagram across two facing pages, as such: The left-hand page will additionally have a \section or \subsection above the diagram. In order to make the two halves of the diagram ...
user avatar
  • 1
0 votes
1 answer
42 views

ModernCV vertical alignment of symbols in cv title

I want to make symbols centered with text. The image shows my problem. How can I center symbols?
user avatar
5 votes
2 answers
178 views

Vertical spacing around the text in the title of a tcolorbox

The file \documentclass[12pt]{article} \usepackage{xparse} \usepackage[many]{tcolorbox} \newtcbtheorem{definition}{Definition}{ colback=red!5, colframe=red!70}{d} \begin{document} \begin{...
user avatar
3 votes
2 answers
165 views

Which length still creates the distance between the 2 boxes

I try to place 2 boxes on top of each other. I would like to define the height of the lower box and a potential gap between the boxes and the top box should use the remaining space. As you can see in ...
user avatar
  • 269
5 votes
3 answers
245 views

How to align minipages on the top

Problem I am trying to align minipages on the top but to no avail, I thought that the [t] option is exactly meant for that, but apparently not. The [c] option seems to work better, except for the ...
user avatar
  • 269
0 votes
1 answer
43 views

Vertical skip after ToC heading using tocloft with titles option

I'm using titlesec to control the appearance of headers (\section and friends) in a larger document, and I'm now investigating tocloft to adjust the appearance of the table of contents (ToC) as well. ...
user avatar
  • 3,307
0 votes
0 answers
45 views

How to align horizontal lines with text?

I'm creating the cover page for my MSc thesis book. I want to vertically align the horizontal lines produced with \hrule environment with the text of the page, as shown in the following image. The ...
user avatar
  • 491
2 votes
2 answers
73 views

How Can I Vertically Align Text in a MultiCol Table Cell So That It Doesn't Touch Top Of Cell

I've just created a table usig LaTeX, but cannot position text within a cell the way I would like to. Specifically, in a multi-row cell, the very top of characters in the top line of text touches the ...
user avatar
3 votes
2 answers
64 views

right alignment of hboxes inside \vbox

I would like to produce a layout as follows: | | |first text ...left first text ...right| |second text ... left second text... ...
user avatar
4 votes
1 answer
41 views

How to remove extra vertical space in a table cell bordering makecell

MWE: \documentclass[11pt]{article} \usepackage[a4paper]{geometry} \geometry{tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm} \usepackage[english]{babel} \usepackage{tabularx, makecell} \setlength{\...
user avatar
  • 4,703
1 vote
3 answers
47 views

Vertical alignment with - sign in the middle of the page

I am working on my titlepage for a report and I have a list of supervisors. I want this to be aligned so that the - sign is in the middle of the page (so right below "By"). As you can see it ...
user avatar
  • 11
1 vote
1 answer
41 views

Line break and vertical alignment of other cells in NiceMatrix

I want to have both rows bottom aligned, using NiceMatrix package, specifying linebreak in one of the cells. If I only have a long text in the first column, without further specification, then by ...
user avatar
  • 215
3 votes
3 answers
137 views

Table: align comma-separated pairs of numbers on comma

I have a table where entries are two (rational/integer) numbers separated by a comma. Is it possible in each column to (a) keep the column labels $L$, $M$, and $R$ centered and (b) align the entries ...
user avatar
  • 431
0 votes
1 answer
44 views

Vertical alignment to top in longtable

I have the following schematic code: \begin{landscape} \begin{longtable}[t]{p{0.10\linewidth}| p{0.20\linewidth} p{0.20\linewidth} p{0.20\linewidth} p{0.20\linewidth}} \hline {\bf Country} & {\bf ...
user avatar
  • 569
0 votes
1 answer
25 views

Vertical alignment between the choices

I want to adjust the vertical alignment between A and D, B and E. I want it to be like this: \documentclass[a4paper]{article} \usepackage[margin=4.cm]{geometry} \usepackage{amsmath} \usepackage{...
user avatar
  • 345
1 vote
1 answer
61 views

How to remove unnecessary whitespace before \begin{enumerate}?

I've defined a new environment via \theoremstyle{definition} \newtheorem{aufg}{Exercise} \newenvironment{problem}[1]{\begin{aufg}[#1] ~ \\*[0.2em]}{\end{aufg}} Then writing \begin{problem}{Maximizing ...
user avatar
  • 51
2 votes
2 answers
51 views

Created two tables in Latex, but they're spread far apart . How do I move them closer together so there isn't so much blank space?

\begin{document} \textbf{2b. } \definecolor{Cyan}{rgb}{0.88,1,1} \begin{table} \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hline p & q & r & $\neg p$ & $\neg q$ & $\neg r$ & $...
user avatar
  • 21
4 votes
2 answers
118 views

How to middle align contents of a single column only?

I am trying to use nicematrix to provide good illustration of presented material with good alignment of entries explained. I want the contents of p1, p2, p3 to remain top aligned as shown. However, ...
user avatar

1
2 3 4 5
69