2
votes
1answer
18 views

Leading space in samepage environment after equation

When used directly after the an equation, the samepage environment inserts a leading space. Is this the intended behavior? How do I remove it? Compare the output of ...
10
votes
3answers
231 views

Whitespace that breaks across pages (e.g. for handwritten answers)

I'm creating a document where I want to leave white space of varying heights, e.g. for handwritten answers to questions. It doesn't matter whether this empty space is bordered or not. The key thing ...
2
votes
0answers
82 views

Adding floating space between main text and footnotes

I have to typeset a text with several widows and lots of footnotes. The editor told me to leave an additional blank line between the main text and the footnotes and to use this space to print the ...
2
votes
1answer
115 views

nomenclature page formatting

I have a list of symbols generated throught the nomencl package. It works fine. The only problem I have is: How can I redefine the margins for the page? by default it is using the margins for ...
6
votes
1answer
51 views

Force hardspace in multiple citations

To cite multiple references, I'm using \cite{foo, bar}. Unfortunately, the second citation appears on a new page. Is there a way to force a hardspace between the two citations? This is primarily a ...
7
votes
3answers
300 views

How can I make \titlespacing not omit the top spacing?

In a multicols*{2} environment for 12pt linehight text, I use \titlespacing*{\subsection}{0pt}{12pt}{12pt} To create exactly 12pt of space before and after subsections. Together with a line height ...
4
votes
1answer
76 views

Too much space at end of chapter

When writing my thesis in LyX, I encountered the following problem: After finishing a chapter, I wrote \break in order for LyX to start writing the next section in the next page. The problem is that ...
2
votes
1answer
155 views

Empty sections cannot be broken, making page look stretched out

This is almost duplicate to question Random unwanted space between paragraphs but I don't even use \par. I'm using pdflatex to compile a .tex file. As I wrote my text I noticed a sudden change in how ...
7
votes
1answer
101 views

How do I suppress the whitespace above an equation block at the page top?

How do I suppress the whitespace above the equation block at the page top ? It is added to the top margin, and I don't want that to happen. I know that \abovedisplayshortskip controls this for the ...
5
votes
0answers
47 views

How to put a blank space having dimensions equal to some text [duplicate]

Possible Duplicate: How to replace a large block of text by an empty block of the same size? A friend of mine is preparing some teaching materials. In the version for the lecturer there ...
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
1answer
75 views

Skip given vertical space accross pages if needed

I would like to leave a vertical space of a given length, say 10cm, in my tex document. In fact, I want to leave enough space in a proof environment for the proof to be written at hand once the ...
2
votes
1answer
104 views

Two margin woes

I have two problems with my margins. One is that when I print the margins, I can't seem to get them to come out properly. I have \usepackage[top = 1in, bottom = 1in, left = 1.5in, right = ...
2
votes
0answers
99 views

Headers and footers for listing environment?

What I need to be able to do is apply a header and footer when I use the listings environment. I have a few requirements: The header and footer should be outside the listing itself, i.e. they are ...
3
votes
1answer
135 views

No page break before a heading, while preserving some vertical space before heading?

How can I prevent a page break before a run-in section heading while preserving vertical spacing before the heading? Based on the suggestion in How to prevent a page break before an itemize list?, I ...
0
votes
1answer
89 views

fancyvrb always creates new page

I'm having trouble using the facyvrb package. I have the following code: \section{My section} \subsection{Subsection} \begin{Verbatim}[frame=single] ...lots of code... \end{Verbatim} However, ...
0
votes
1answer
144 views

Annoying behaviour of \vspace [duplicate]

Possible Duplicate: Adding vertical space at the start of a page Basically I am making a title page and I want the title to be in the center of the text \documentclass[15pts]{article} ...
1
vote
0answers
29 views

Tocloft: Make a 'pagebreak' (vertical skip between chapters) [duplicate]

Possible Duplicate: How can I force ToC not to end with a chapter? I started using tocloft which changed formatting and spacing in my ToC a little. I have fixed other issues, but this one ...
24
votes
7answers
739 views

How to replace a large block of text by an empty block of the same size?

I know there exists the \phantom command, but does it work on large blocks of text (containing several paragraphs or even several pages)? What I want is to have some commands, call them \hide and ...
8
votes
2answers
245 views

How to check if a section title (or any heading) is the first line of a new page?

I would like to be able to use an \if command to check if a \section appears on the first line of a new page. If a section heading is the first line of a new page, I would like to then adjust some of ...
23
votes
3answers
5k views

Adding vertical space at the start of a page

I'd like to, first thing before writing anything on a page, add some vertical space. Minimal (non)working example: \documentclass{article} \begin{document} \vspace{250px} I want to be further down ...
6
votes
2answers
2k views

How can I fit my table of contents into a single page?

When I use \tableofcontents I get all my contents in a single page except for a line that goes on the other page, how can I make all in the same page?
1
vote
0answers
221 views

Get remaining height on page (and scale image to it) [duplicate]

Possible Duplicate: How to define a figure size so that is consume the rest of a page? Hi all, I've seen How to compute the remaining space on the current page - but that doesn't really ...