6
votes
1answer
106 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
118 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
45 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
90 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
56 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
133 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
184 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
104 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
121 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
201 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
160 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
88 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 ...
22
votes
2answers
269 views

Two rules directly under each other

I'm trying to make two rules of different length directly under each other, something like: -------------------- ==================== Where = is a fatter line than -. The vertical space inbetween ...
5
votes
1answer
146 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, ...
5
votes
2answers
448 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
205 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
201 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 ...
5
votes
1answer
162 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 ...
10
votes
4answers
152 views

A line of text with proper positioning but consuming no space?

Welcome to part 4 in a series of questions about me trying to improve my crazy layout! I'm using tabu to create a table with a central heading, and two small blocks of text on the left and right ...
0
votes
0answers
99 views

Suppressing inter-paragraph spacing in parrun [closed]

I have a complex typesetting task which can all but be made automatic by embedding environments provided by parrun.sty within those from parallel.sty. However, the lower box in parrun seems to be ...
0
votes
1answer
239 views

Convert my CV to LaTeX: how to stretch text blocks vertically to fill page and color the headings

I am trying to convert my CV below to latex. Currently I have manually created it in Inkscape. I have already managed to get the headings and footers right: Code: \usepackage{xcolor} ...
4
votes
1answer
112 views

Remove whitespace before tabular within textblock*

Could you help me align Text2, within tabular and textblock*, to the baseline of Text1? Would be much appreciated. \documentclass{article} \usepackage[absolute,overlay]{textpos} \begin{document} ...
2
votes
1answer
82 views

Adding vertical space without affecting the alignment of text

I would like to add some vertical space in my document without affecting the alignment and format of the sentences before the space. What exactly I do is : \cvsection{Education} \textbf{Some text} ...
7
votes
2answers
89 views

Making sure that text is aligned between bottoms (and tops) of pages

Here is a LaTeX document: \documentclass[a4paper,11pt]{book} \usepackage[paper=a4paper,twoside=true,lmargin=4cm, rmargin=4cm,bindingoffset=0cm]{geometry} \begin{document} Lorem ipsum dolor sit ...
0
votes
0answers
132 views

Spacing in LaTeX [closed]

I have a little problem "spacing" with LaTeX. I had in the document a large space between the end of a "subsubsection" and the beginning of the "subsubsection" this is to let the title of "subsection" ...
5
votes
2answers
307 views

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

How would I shift up my 2nd page to the 1st page? There seems to be alot of space left on the 1st page but I cant get the 2nd page to move up to the 1st page. I tried using ...
5
votes
1answer
132 views

badness messages when changing from report to book class

When I change the documentclass from report to book I suddenly get a lot of messages like this: Underfull \vbox (badness 10000) has occurred while \output is active [] Does anyone have an ...
4
votes
0answers
198 views

Balance package messes up vertical space between lines in second column [closed]

I am writing an article with the ACM Sigplan class and want to balance the two columns on the last page of my text (before the bibliography section, which is on a separate page). I usually use the ...
4
votes
1answer
255 views

twoside introduces incorrect linespacing at end of section

I have: \documentclass[a4paper,11pt]{report} with no special customisation. In one page, at the end of a section, I have a big figure with two paragraphs of text below it, and these two paragraphs ...
3
votes
2answers
116 views

Debugging vertical space on top of page (section inside a custom biblatex cite command)?

Please consider the following MWE, compiled with lualatex test.tex (+ bibtex test + lualatex test.tex): \documentclass[twoside,a4paper]{book} \usepackage{lua-visual-debug} \usepackage{lipsum} ...
6
votes
2answers
286 views

Spacing between figures and texts

I'm having some issues dealing with figures. It happens that when I have a page with some text and then it comes a figure, with H property, who doesn't fits into the same page as the text, the text ...
0
votes
0answers
55 views

Spacing going crazy [duplicate]

Possible Duplicate: How to prevent the paragraphs to spread out over the page? When I try to put some tables in my document I get lots of white space between the section (which I am ...
4
votes
2answers
607 views

breaking lines in a matrix/array environment

I have a matrix whose entries are quite long and must be broken up across multiple lines. The desired break-points are the + operators separating terms in each matrix element. The following code is ...
5
votes
1answer
6k views

underfull \vbox

What do the following messages mean? LaTeX Font Info: Try loading font information for U+msa on input line 205. ("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\amsfonts\umsa.fd" File: umsa.fd ...
4
votes
1answer
322 views

Spacing using minipage in theorem environment (ntheorem)

Consider the following example and notice the different vertical spacings between the theorem caption and the text. Is there a way to get the same spacing when using minipage as in the case of normal ...
7
votes
1answer
654 views

TikZ: vertically aligning text in nodeparts

I can't seem to vertically align text in different nodeparts of the same node. This MWE \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \begin{tikzpicture} ...
3
votes
1answer
277 views

Odd problem with spacing using memoir when switching from oneside to twoside

For reasons I won't bore anyone with, I being forced to change my document at the last minute from oneside to twoside using memoir. However, when I do, I suddenly get odd problems with spacing; the ...
5
votes
2answers
842 views

How to move a paragraph to the bottom of the page (without vspace)

I am looking to move a text paragraph of a few lines (like a disclaimer) at the bottom of a 2 page document. Each time I do that, I need to adjust that specific paragraph with the \vspace function. ...
14
votes
3answers
8k views

Shift title and author text up?

What is the best way to shift the title text 'up' in a LaTeX document compiled with pdftex? When I do this: \documentclass[12pt,letterpaper, onecolumn]{article} \setlength{\topmargin}{0in} ...
2
votes
1answer
108 views

Alignment of material across pages

How would you make two corresponding lists on two different pages so that the corresponding items in the two lists would be at the same absolute height on the two pages? I guess the best way to ...
13
votes
3answers
2k views

How can I make vfill to work without adding any text before?

Using \vfill between two texts works: \newpage bla \vfill blabla but it doesn't work if there is no text before it: \newpage \vfill blabla How can this be achieved?
2
votes
1answer
212 views

How can I build a box with multiple lines of content with two anchors?

I'm trying to create a macro \AST (or an environment, if that helps) that will let me typeset abstract syntax trees, in the following way: \AST{A}{\AST{B}{C\comma D}\comma E\comma \AST{F}{G}} should ...
6
votes
1answer
200 views

The same height of text in a large document

I’m typesetting a large document that contains a lot of mathematics. The only problem is that the height of text on some pages that ends with a displayed formula is less than (about 3-6mm) the height ...
12
votes
2answers
800 views

\addvspace can't replace \vspace

I want to replace \vspace with \addvspace in a command. When so doing, I get obtuse "something's wrong--perhaps a missing \item." errors. I'd appreciate an explanation of why this happens and how ...
5
votes
3answers
2k views

Vertical space of \includegraphics[height=2cm]

I am trying to place an image on the right of some individual lines of text that do not stretch over the entire \textwidth. The image will go higher than the first line and I have to be able to ...
6
votes
1answer
822 views

List environment inside the tabular environment: extra line at top preventing alignment

I have a LaTeX question that is bugging me. I have been trying to get a list environment to appear correctly inside the tabular environment. So far I have gotten everything to my liking except one ...
3
votes
2answers
449 views

A fix for \vspace*, does it break other things?

Thanks to the answers to this question, I believe I have a fix for \vspace* that will make it work sanely at the top of a page. \def\@vspacer#1{% \ifvmode \dimen@\prevdepth ...
12
votes
1answer
2k views

Why does \vspace*{0pt} add vertical space?

I'm trying to format the title of the table of contents using the tocloft package. It inserts code that looks like the following. \par \vspace*{\cftbeforetoctitleskip}% % code to typeset ...
9
votes
4answers
9k views

Reduce space between enumerated items

Background A book with lots of images. All of the images are set to "here definitely" (as they must come after the text that introduces them). Problem The list types (enumerated and bullet) have ...
9
votes
3answers
2k views

Spread bullet points across block in slide using beamer

I'm using beamer to create some slides for a presentation. I've got a block containing a bulleted list. The list only has three items, and all three items are bunched up in a small block at the top of ...

1 2