3
votes
1answer
30 views

Streched vertical space between two subfigures

I want to add vertical space between two subfigures so that so that the upper figure is aligned with the top of the page and the last line of this figure caption is aligned with the bottom of the ...
2
votes
2answers
43 views

Vertical Justification of Elements of Enumerate Environment?

How do I automatically vertically justify (evenly vertically space in a page) the \items of an enumerate environment? Is adding \vfill after each \item the only way to do this?
5
votes
4answers
105 views

Multiple alignment points in equations and no curly brackets for correcting spacing

Consider the following example: \documentclass{article} \usepackage{amsmath} \usepackage{siunitx} \begin{document} \begin{alignat*}{5} &\text{Honning:}\qquad ...
3
votes
1answer
69 views

How can I make text from the first line align with an image?

I'm writing a letter and I want to use an image as the first letter (A la olde time book Initials). See the below screenshot of what I've thrown together so far. What I would like to do is have the ...
5
votes
2answers
82 views

Unwanted vertical space before tabular on title page

I worked on my title page, and there is some undesired vertical space before a tabular environment. I made two fboxes to illustrate the vertical distance I wanted to be the same 116 pt. But after the ...
3
votes
2answers
144 views

Vertical space between chapter heading and table

In my appendix I have only chapters followed by one or more tables each. These tables are captioned. But I'd like the tables to begin after the usual vertical space which is put if you simply write ...
2
votes
2answers
211 views

Vertical space between align and alignat environments

I have a problem with the vertical space between align (1) and alignat (2). How can I reduce this space to the same vertical space as before (1)? How can I completely erase the vertical space? I know ...
7
votes
2answers
100 views

Uneven vertical alignment with $\in$

Here's a simple example: \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} \usepackage{commath} \newcommand{\st}{\text{ s.t. }} \begin{document} \[ (x_n) ...
3
votes
1answer
64 views

Vertical space only after every second row in a table

I have several tables in the following custom format, to which I would like to add vertical space (e.g. 6 pt) after every second row. I know this can be done manually. I am only wondering, if there is ...
1
vote
0answers
45 views

marginfix package interferes with title element vertical placement in memoir

Possibly in other classes as well. Typeset the below and everything is bunched up at the top of the page: \documentclass{memoir} \usepackage{marginfix} ...
3
votes
1answer
144 views

form field alignment with a table cell

Is there any way to horizontally centre the checkboxes in the following MWE? Also is there any way to adjust the size of the checkboxes so that (i) they do not touch the cell border, and (ii) they are ...
3
votes
1answer
67 views

How can I use \vfill in a lstlistings environment?

I'd like to do something like this: \begin{lstlisting} public do(int whatever} { \vfill } \end{lstlisting} So basically, I want a method definition and then add spaces in the body of the method ...
3
votes
1answer
73 views

Vertically stack parboxes in a cell of a table

I need to insert an enumerate environment in a table. Following hints from this page: itemize in a tabular environment, I used \parbox to prevent error (Putting itemize environment in a tabular ...
12
votes
1answer
66 views

Tight connection of \vbox es

I don't understand why TeX put a thin whitespace between my two vertical boxes: \documentclass{article} \begin{document} \vbox to 1cm {\rule{1cm}{1cm}} \vbox to 1cm {\rule{1cm}{1cm}} ...
2
votes
0answers
91 views

Using \parbox in Beamer has unwanted effects

I want to change from an itemized list on one slide to an image on the next slide. I tried this with a \parbox with overlay specifications. It works ok when the inner position of the parbox is set to ...
5
votes
1answer
136 views

First column of multicols introduces an unwanted vertical space when first element is displaymath

Code: \documentclass{article} \usepackage{multicol} \begin{document} \begin{multicols}{3} \[ \rho^1 = ...
5
votes
2answers
112 views

Listings, Cleverref, and Appendix: Weird Alignment

I'm using the packages listings and cleverref in my thesis. When I put a listing in the appendix, however, it seems to be somehow indented: \documentclass{article} \usepackage{listings} ...
2
votes
2answers
83 views

Make the “Appendix X” text go higher in report class

I have an appendix which goes 3 lines on a second page, so I would like to recover some "lost" space by the "Appendix" text on the top to keep it on one page. I tried using \vspace{some negative ...
0
votes
0answers
67 views

Avoid vertical justify of chapter table of contents?

I'm creating a table of contents at the beginning of each chapter using: \makeatletter ...
4
votes
2answers
123 views

Inline underset spilling over to next line

The underset of my "xdim" command is touching characters in the line underneath. How to correct? \documentclass[12pt]{minimal} \usepackage{amsmath} ...
3
votes
2answers
429 views

\vfill and vertical space

In a two-column document, I would like some text to be positioned at the bottom right of the right column. The text is inside tabular and flushright. An MWE is: \documentclass[twocolumn]{article} ...
2
votes
1answer
214 views

Vertically center elements in table doesn't work

I am trying to vertical and horizontal align items in a table. I tried to follow what I found on the internet, including on this site, but it seems not to work for the last column. Here is what I ...
2
votes
1answer
458 views

How to make LaTeX (tabu, hhline) tables keep rowheights?

i want to typeset a long table across several columns / pages and want the table rows to keep register. my code looks basically like this: \documentclass{book} \usepackage{pagegrid} ...
11
votes
1answer
394 views

Two-column layout with thick vertical rule in ConTeXt

Background I would like to add a thick rule centered between two columns. Example Code A minimum working example that illustrates the issue: \setupcolors[state=start] ...
4
votes
1answer
106 views

Glue at bottom of page

I'm writing a lengthy document which will have prompts typically between 2 and 5 lines long with a space after each prompt for notes. Ideally I want a 2-inch space with a stretch of 1 in and a ...
4
votes
2answers
134 views

Vertically centering a set of tabbed graphics

I have a lot of different graphics in three versions each. All those versions have a fixed width and I want those three versions to be displayed next to each other. So far, I've used a tabbing ...
4
votes
1answer
108 views

Difficulty finding the vertical distances between two lines of content

I'm trying to determine the vertical distance between boxes and a line of text in the immediately following paragraph. Depending on the content of the top box I'm getting a discrepancy of \lineskip. ...
2
votes
4answers
166 views

Problem with custom vertical-alignment and/or length of lines/rules in tabular environment

As a follow-up to my previous question: In my table / tabular, \cline{1-1} gives me the correct vertical position but not the right horizontal length . In contrast, \rule{\mycustomlength}{0.4pt} ...
2
votes
1answer
167 views

Vertical spacing for two consecutive figure environments

I think I'm not going to solve my problem with the Floats and positioning of figures. I have 4 diagramms and I need to place them on two pages and at the end of the second page the caption for all 4 ...
8
votes
1answer
282 views

How to vertically center the fraction line?

I feel a bit weird because this is a really simple issue that apparently nobody has brought up so far but I find that very simple fractions produce output that looks vertically unbalanced. The ...
4
votes
1answer
167 views

Vertically align characters raised with \stackrel

I learned from Stefan's reply to Putting a character above another character to use \stackrel in math mode to do just that. I'm using that right now to mark segments of a word as having a high (H) or ...
3
votes
2answers
238 views

TikZ: Text blocks with minimum spacing AND “preferred” anchor

I'm new to TikZ, and I'm trying to solve a problem which should be easy, I found many related examples but none helped me. Given the following MWE: \documentclass{article} \usepackage{fontspec} ...
6
votes
1answer
318 views

Code improvement and suggestions in template

Consider the following MWE: \documentclass[12pt,twoside,letterpaper]{report} \usepackage[text={4.95in,7.5in},centering,bottom=1.5in,showframe]{geometry} \usepackage[dvipsnames]{xcolor} ...
8
votes
1answer
224 views

Too much vertical space before \part when using \marginpar

When I use a \marginpar{...} before \part{...} on a new page, I get a big space on the top of that page. Below is a screenshot, where the left one was typeset with marginpar, the right one without: ...
4
votes
0answers
116 views

Aligning a table (vertically) with a subfigure [closed]

I want to show three pictures and a tabel with explanatory text: --------- --------- | | | | | Pic 1 | | Pic 2 | | | | | --------- --------- ...
8
votes
2answers
529 views

Odd vertical gap with multicol, scrreprt and parskip=half

I'm having a weird vertical gap in one of my documents, which only is there when I use multicol together with \documentclass[parskip=half]{scrreprt}. Minimal example ...
2
votes
1answer
1k views

Line return/spacing after \hrulefill

I'm new to LaTeX and am trying to make a simple resume. I'd like my left-justified name to appear above an \hrulefill line followed by my right-justified address on the next line. However, when I do ...
3
votes
1answer
289 views

Top-aligned table cells with different font sizes and controlled spacing

I am trying to achieve a table where a few things have to work simultaneously. Several of these things have been discussed before, but I have been unable to make everything work at once (and some ...
7
votes
2answers
292 views

Ensuring a paragraph uses at least a given height?

I'm making a custom document class based on memoir, and I don't know how to implement the chapter precis so that it does what I want (the chapter precis is a small optional paragraph that follows ...
1
vote
1answer
369 views

Vertically center block of text including chapter for dedication page

I have a dedication page in my book (using \documentclass[a4paper,11pt,openany,oneside]{book}. It is in a separate chapter and contains two small paragraphs. The chapter is on a separate page. At the ...
6
votes
1answer
507 views

\hfill in in table cells

There are tables in my document. The baselines between the last row of each table and the following text is usually circa 16,25p (see below). Now I wanted to add right-aligned text to some selected ...
11
votes
1answer
278 views

Consistent cover design regardless of inner pages

This is a series of books, the margins, page sizes are all identical. Depends on the content, the design of inner pages are slightly different, i.e. different type sizes, leading, etc. The question ...
6
votes
2answers
248 views

Aberrant vertical spacing with {align} and friends?

Consider documents with the following preamble: \documentclass[12pt]{article} \usepackage{amsmath} Question #1. Why do we get bad alignment with the following code? \noindent ...
4
votes
1answer
256 views

\vfill between items in a list

I want to create a list and have \vfill between all the items. Something like this: \documentclass{article} \begin{document} \begin{itemize} \item One \vfill \item Two \vfill \item Three \vfill ...
24
votes
2answers
652 views

Two rules directly under each other

I'm trying to make two rules of different length (fatness) directly under each other, something like: -------------------- ==================== Where = is a fatter line than -. The vertical space ...
6
votes
1answer
168 views

How to obtain the space left to bottom of page

Since it is impossible to use \vfill inside a framebox, is there any way of getting the current height position of text? I want to fill in a framebox so that it uses all the space left on a page, ...
6
votes
2answers
2k views

Vertical aligning text and vertical height of rows in longtable environment

I have now been working on fixing this problem for some time and I have read through some forums on the Internet and tried different things, but I can't solve this problem. I am looking to have some ...
4
votes
2answers
405 views

Text block near image

I'm creating a photo address book for the community. Near the photo there are 3 text blocks 1. Names, 2. Address/phone/email and 3. native place). I want each of this blocks to be at top, center and ...
7
votes
1answer
565 views

\vspace after \vfill ignored

\vfill Text first line \vspace{1cm} Text second line \cleardoublepage The \vspace is unfortunately ignored by LaTeX: The resulting document has no vertical space added between the two lines. Why is ...
6
votes
1answer
285 views

Using a table: alignment issues and cell labels

I'm using tables with the tabular environment, with cells containing tikzpicture. I would like to center the contents of the cells both vertically and horizontally, and have little labels in the top ...