Tagged Questions

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

1
vote
1answer
50 views

Side by side algorithms with vertical line

How can i produce this in latex. My question is about the framework to put it inside,figure,algorithm,tabular? And how i can separate it with this verical line
1
vote
2answers
41 views

(sub) alignment within an align environment and number positioning

In the example below I try 3 different ways to achieve the same thing (align =E(\sigma^{2}_{Y|X)) directly below =E_{X}(V(\epsilon|X))+0 within the overall align environment. However I am unable to do ...
1
vote
1answer
63 views

How to put a table next to a plot?

I made a plot and a table, and I want to put the table next to the plot, how can I do that? \begin{tikzpicture} \begin{axis}[ axis y line=center, axis x line=middle, axis equal, grid=both, ...
1
vote
0answers
41 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 ...
0
votes
1answer
89 views

ToC content spacing and related formatting

I'm working in memoir class and creating ToC with both short and (sometimes very) long chapter title. I need to: Adjust horizontal spacing between part\chapter number and the title so they won't be ...
0
votes
0answers
45 views

How to fix the inconsistent paragraph spaces in this MWE using KOMA? [duplicate]

MWE code \documentclass[twoside=semi, a4paper, 11pt, open=any, chapterprefix=false, toc=graduated]{scrbook} \usepackage{blindtext} \usepackage{fontspec} \usepackage{libertine} %uncomment ...
3
votes
2answers
114 views

Vertical and Horizontal aligment with several figures and tikz figures [duplicate]

I've been having some trouble aligning multiple figures. The problem is present with png figures and tikz figures, so I guess I am missing something. tikz figures not properly aligned: the ...
0
votes
2answers
44 views

How can I vertically align the first line of a multi-line node to an object? [duplicate]

I'd like to have the first line of the node centered vertically with the object (here: a line) on the left of it. How can I do that? Of course I could split the elements into several parts and then ...
1
vote
1answer
59 views

Left align or right align the header

If I want to L-Align the contact info in the (right) header block. How can one align the contents in a header ? Package: \ProvidesFile{jobapp} \special{papersize=8.5in,11in} ...
0
votes
0answers
24 views

3 subfigures, 2 vertically aligned and one hortizontally [duplicate]

Hello, Does anybody know how to vertically align two subfigures with another subfigure horizontally? I mean i need to put two small images above each other beside another longer image as shown ...
4
votes
2answers
89 views

How to create horizontally aligned subscripts in latex

My problem is that I can't align subscripts properly. I want subscript 'ISI' to be at same level for both H and x. while (m,n) remains in italic format. The last expression gives aligned subscripts ...
1
vote
1answer
41 views

Force longtabu width + skip vertical space between tables

Here is an MWE: \documentclass[10pt]{article} \usepackage[a6paper]{geometry} \usepackage{longtable} \usepackage{tabu} \begin{document} \begin{longtabu} to \textwidth {|X|p{10mm}|p{10mm}|p{10mm}|} ...
1
vote
1answer
51 views

Image not centering in fullwidth even page

My MWE is, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} ...
2
votes
1answer
62 views

Vertical aligment of dinglist inside table cell with `parskip`

Why is the list text so close to the top line of the cell in some lists? I know it's a problem with the parskip package. I can solve this by adding this strut in every cell before the text ...
3
votes
1answer
46 views

vertical alignment of multiline equations

I tried in many ways to vertically align these equations but I failed to get it right. \documentclass[11pt,a4paper,oneside]{report} \usepackage[T1]{fontenc} \usepackage{fouriernc} ...
3
votes
3answers
150 views

Tikz-Create a Picture Legend

I am trying to create a legend inside a tikzpicture. The picture shows an accelerator and I would like to make a legend that will explain each part. My code is \documentclass{standalone} ...
0
votes
0answers
18 views

Specifying baseline in internal coordinates with graphicx package

I'm using the graphicx package. By default, included graphics are aligned with the baseline at the bottom of the image. I know how to make images vertically centered (using \vcenter) or top-aligned. ...
0
votes
0answers
15 views

Add vertical space between two tables in a single figure [duplicate]

Similar to this SE question but without the requirement that the tables be the same width: I have one figure containing two tabular environments: \begin{figure} \centering ...
3
votes
2answers
121 views

Comic book or graphic novel style panels in LaTeX

I have heard that LaTeX is not necessarily suited to make panels. That even two-column is difficult to get the text to align. I would like to draw stuff like this: --------------------------- ...
4
votes
3answers
88 views

What is the correct way to stretch the cell keeping it vertically centred in tabularX

I have this table, in which the text is touching the horizontal lines above and below, I tried some of the solutions to stretch the cells I found in the web. I managed to stretch the cell but I can't ...
8
votes
7answers
344 views

Vertical aligning for simple numbers

I need to typset a series of fractions with no line inside some paragraphs of text (they were used as proportional symbols). It is very simple, actually: $^2_1$, $^4_2$,$^8_4$ But when it comes to ...
3
votes
1answer
56 views

Increase row height and center, but only the first row

I have a table, built using the tabu package. My code currently looks like below. The \\[5ex] does increase the row height, but the contents of the third cell is aligned top instead of middle (notice ...
1
vote
4answers
92 views

Could I be able to left-align the following equations? (Please note that one of which is mult-lined)

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \DeclareMathOperator{\sgn}{sgn} \begin{document} \begin{flalign*} &D= ...
1
vote
1answer
37 views

how to change position of \Rightarrow

In the following example, how can I shift the \Rightarrow slightly towards left so that the first terms of both equations are vertically aligned? \documentclass[10pt]{article} \usepackage{mathtools} ...
2
votes
1answer
34 views

Overlaying a tabular on a lstlisting in a book

I am relatively new to LaTeX and am trying to move a tabular up by about 2cm to overlay a lstlisting. The \hspace command works as expected; the \vspace command however moves the text following the ...
2
votes
1answer
190 views

Is \\[<len>] as bad as \\ for new lines?

I have heard on multiple occasions that one should rather not use \\ to force new lines, unless one uses it in environments like tabular or align, and it is advised to use \par instead. How about ...
3
votes
1answer
41 views

Left alignment of a system of equations and extra vertical space between them

I am trying to obtain something like this \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} ...
3
votes
2answers
68 views

Alignment inside the \align enviroment-horizontally and vertically

Is it possible to make both expressions for omega's aligned with one another and do the same for the coefficients a,b,r and d,c,t? I tried to align them manually by using center but it does not work. ...
6
votes
2answers
67 views

Vertical alignment of images in longtable

I am trying to create a longtable where the first column contains only images. The longtable is defined as (with only one row): \begin{longtable}{m{0.2\linewidth} m{0.7\linewidth}} \hline ...
1
vote
0answers
66 views

Conditional spacing based on length of chapter title

In LaTeX, (or possibly XeLaTeX), how can one achieve the following: A double spacing a 1- or 2-line chapter title, and single spacing under a 3- or more-line chapter title. A triple space ...
2
votes
4answers
90 views

Wrong bottom-alignment of rows of two independent tables, where the last row contains a nested table

I wanted to create a page, where I put some information in the left and some on the right side at the bottom of the page. The bottom lines of the minipages are supposed to be aligned as kind of an ...
3
votes
1answer
81 views

tikz how to center text in a vertical rectangle

I am trying to put vertically rotated text inside a rectangle and I have not been able to get it centred vertically. Here is my minimal code and what I get. Any help would be appreciated. ...
3
votes
1answer
70 views

How can I arrange the table and the image in a minipage vertically?

I need the table and the image arranged vertically in the minipage instead of horizontally. I also add the pictures used in the code in the end. \documentclass[12pt,a4paper]{article} ...
1
vote
0answers
44 views

Aligning listing frame width between two listings

I'm trying to get two listings side by side. One is shorter than the other, but I would like to have them aligned, meaning that the frame height of the short one should be longer to reach the baseline ...
6
votes
0answers
67 views

How to align the quotient when using polynom

I am using the polynom package to illustrate long division with polynomials. Typically, when I do those problems by hand, I have the first term in the quotient aligned with the first term in the ...
2
votes
0answers
42 views

Forcing graphic, table, plot .. out of page boundary

I am very new to latex, so this question might be very basic. However, I have been searching the whole evening, so either I don't know how to google this effectively, or what I am trying to do is not ...
1
vote
1answer
62 views

\vspace (\section?) misbehaving in amsart document

In the example below, I wanted to reduce white space above the first section header (it seems to be improperly or at least variably placed), and when trying to use \vspace{} above the first \Section{} ...
0
votes
0answers
37 views

Equal spacing between \begin environments, any text based environment and inline maths

I'm creating a document with a lot of \begin...\end environments, single lines of text with or without inline maths and long paragraphs with or without inline maths. The problem I'm having is that ...
0
votes
1answer
37 views

Line wrapping mathmode in ACM article-proc style

I am using the ACM document class acm_proc_article-sp. It is a two column page style. I keep running into a badbox where I have some line of text, and then a short equation in mathmode. For example, ...
3
votes
2answers
84 views

aligning arrows vertically and centered numbering with a text between two equations

I have been struggling with a couple of things concerning the following system of equations, this is the best I could achieve so far: \documentclass[11pt,a4paper,oneside]{report} ...
1
vote
2answers
45 views

Vertical centering in several columns in longtable

I would like to change the vertical alignment of the second column in this table (the names of the hypotheses) to be centered, just as in the 1st column. My mininal example: ...
3
votes
1answer
99 views

Add vertical space between lines without breaking a vertical line

I am writing a resume in TeX. I'm formatting my technical skills in a tabular environment. Currently it looks like: \begin{tabular}{ l | c c c } \textbf{Programming Languages} & Java & C ...
3
votes
1answer
39 views

Extra space not wanted at the end of a title page

I did a title page using the titlepage environment and used \vfill between the entries (for instance name, title, date, etc.) so that they would be equally spaced and the whole title page would fill ...
3
votes
2answers
79 views

chemfig chemname alignment in schemes

After careful consultation of the chemfig documentation and looking up a couple of questions here, I am struggling to find a solution to get these correctly aligned. They are inside a box which is ...
1
vote
1answer
69 views

cannot figure out how to produce some tikz pictures next to each other

Ideally I would like to have the tikzpictures be in one line centered horizontally with its caption each preserving its node size and line strength and vertically aligned to a common bottom line. I am ...
1
vote
1answer
48 views

titletoc: problem with “left” parameter (not working for LOF)

I am having trouble with changing the style of the LOF using titletoc. Everything works fine but the left parameter (i.e. the first parameter in the square brackets containing a length measure) of the ...
1
vote
1answer
72 views

Table position at Top Problem

I am trying to place my table at the top of page but it seems there is something I am missing. First of all here is what my document structure \documentclass{article} \begin{document} ...
6
votes
2answers
160 views

Remove padding in table with images

I have a table with 2 small images in each cell. I reduced the horisontal padding with \setlength{\tabcolsep}{0pt} But I still have a white vertical space between a table separation line and images ...
4
votes
3answers
74 views

How align the qedsymbol after of a big formula in display mode?

Description of the problem My problem is this. For the proof of a math theorem i use the proof environment of the package amsthm. It adds a \qedsymbol in the last line of the proof, but if the proof ...
0
votes
1answer
65 views

Latex longtable misalignment after pagebreak

I have a longtable spanning multiple pages but the verticle alignment is forced at the pagebreak, so the first page is pushed down to the bottom while the second page is glued to the top. How can i ...