{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.

learn more… | top users | synonyms (1)

3
votes
1answer
4k views

Add Appendix with correct page to ToC

I am failing to add a heading for the appendix to the ToC with the correct page number: \documentclass{scrbook} \begin{document} \tableofcontents \chapter{test} \appendix ...
2
votes
0answers
131 views

How to make breqn work across multiple pages? [closed]

I'm creating a document programmatic and use breqn to automatically break equations across multiple lines. But when a single equation is larger then a page it fails. ...
7
votes
1answer
3k views

\includegraphics forces new page

When I include a PDF diagram, it forces a new page, so I have one blank page and then this diagram, can somebody help me please? I need to remove that blank page. My document looks like this ...
4
votes
1answer
467 views

Footnotes running off edge of page

When using long section titles and the para option from footmisc, the footnotes are pushed off the edge of the page. E.g. \documentclass{article} \usepackage{lipsum} \usepackage[para]{footmisc} ...
13
votes
2answers
27k views

Insert a blank page after current page

I want to insert a blank page in a document so that the text would be added to the content of the current page till it reaches end of the page, the next page would be empty, and the text continue from ...
7
votes
4answers
382 views

Rule before one new section

I use rule so as to separate the differents sections. I would like to automate this so as to use the following syntax : \section*{One day} \noindent\lipsum[1] \section*{Another day} ...
5
votes
1answer
480 views

Keep example number together with floating table

I am using the package linguex (for 'linguistic examples') to number the examples in my text, using its command \ex. I am creating a table that I am numbering with this command \ex.: \ex. ...
1
vote
2answers
3k views

\include puts everything on a new page [duplicate]

Possible Duplicate: Page break with \include I have got my LaTeX documents split in to several files, but when I input them in to my main document it starts the content on a new page. How ...
2
votes
1answer
309 views

Continue a sentence without page break [duplicate]

Possible Duplicate: Widow word on a page? I thought LaTeX wouldn't do that. How to eliminate unnecessary page break in LaTeX? I have the following problem: In the end of my document, ...
12
votes
1answer
126 views

Varying Page Lengths

How can I vary the vertical page length per page? I want to have the page breaks at essentially arbitrary locations in the document, specified by a command, like \newpage but not necessarily this ...
22
votes
5answers
1k views

How to make continuous (but breakable) vertical rule along left side of paragraph?

I'm looking for a way in Plain TeX to make a continuous vertical rule along the left side of a paragraph (or arbitrary block of text), such that it observes normal page-break rules. I started with the ...
2
votes
1answer
5k views

Algorithm over two pages, with itemized lists

I am trying to split an algorithm over two pages. This has already been addressed before, with the closest result being this question. However, I have a wrinkle - I need the algorithm to have two ...
3
votes
1answer
769 views

Breaking framed boxes across pages - or, a better design for a homework problem set?

My school's recommended homework document class file uses a boxedminipage to typeset problem statements so they appear in a box. However, this has the unfortunate consequence that they can't be broken ...
2
votes
1answer
1k views

Changing textwidth with adjustwidth* in memoir

I'm using memoir with non-equal left and right margins and encounter a problem when I use the adjustwidth* environment to get three equally spaced columns with equal margins in the index. According to ...
12
votes
2answers
2k views

Split beamer notes across multiple notes pages

I've only recently discovered the notes mode for beamer, and I'm trying to build a presentation with notes containing my speech. However, my speech is quite large, and is causing note page overflows. ...
19
votes
3answers
19k views

Add a new empty page

I have a .tex file which is like my main, \documentclass[spanish]{article} \usepackage{times} \usepackage{amsmath} \usepackage{graphicx} ...
5
votes
1answer
882 views

How to disable pagebreak on \hline in supertabular?

This is similar to How to disable pagebreak on \hline in longtable? but for supertabular or xtab: With \tabularnewline\hline I get pagebreaks (or in my case columnbreaks) before the hline, i.e. the ...
7
votes
2answers
4k views

Chapter without pagebreak? (In twocolumn document.)

I've googled, and I read a lot about how not having a pagebreak before a new chapter is bad style. I've read about how one could use sections instead. I've read about how changing whether a chapter ...
1
vote
2answers
1k views

Creating Table of Contents / Section Headings

I found this article and would like to know how can one create a template (generic) to accomplish this. It would be great to implement a (generic) template to be able to make it for a table of ...
2
votes
1answer
1k views

Frame on lstlisting opened on the bottom when code longer than one page [duplicate]

In my \lstset I have: \lstset{ language=Java, % the language of the code basicstyle=\sffamily\large, % the size of the fonts that are used for the code %numbers=left, ...
7
votes
1answer
1k views

Shaded theorems (thmtools) spanning pages

When the thmtools package is used to create theorem environments with a shaded background, it does not allow separate theorems to span more than one page. This is a rather severe problem if the ...
1
vote
1answer
268 views

How to have the article mode presentation for multibib with report mode

I make a bibliography divided into two parts using multibib with this code \documentclass[a4paper,12pt]{scrreprt} ... \usepackage{multibib} ... \newcites{doc}{Documentation citees} ... ...
4
votes
2answers
191 views

How do you keep content together without explicitly stating a size?

I have a tabular environment and some associated text. Now, I don't want to use this text as the caption for various reasons and I want to make sure that they are always on the same page, or that the ...
57
votes
3answers
33k 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 ...
4
votes
1answer
593 views

Left-hand vertical rule applied to flalign environment with automatic pagebreak

I am referring to the coderule environment (see Override \centering to left justify an image) presented earlier by @TH as answer to the following question: Override \centering to left justify an image ...
6
votes
2answers
5k views

Add white page after table of contents before abstract

How can I add a white pages after the table of contents in order to have the abstract on a right page? If I add \clearpage \newpage I cannot get the white page added. Ideas?
4
votes
2answers
335 views

Unbreakable end of paragraph

I have a heading and paragraph and I dont want to be separated by pagebreak. So when they should be separated, they both should end up on the next page. Is \\* the right command, because it wont work ...
9
votes
2answers
4k views

Minipage that allows page breaks?

Is there a minipage-like environment that allows pagebreaks? Everything I can find is about avoiding page breaks (which minipage does well) but I want to indent a whole section, which is convenient to ...
1
vote
1answer
2k views

Mysterious empty page + subsequent “Overfull \vbox has occurred while \output is active” during a long string of sectioning commands

Document in question: http://pastebin.tlhiv.org/nJhaYvfN Page 3 is typeset as a blank page, while page 4 has the overfull (by almost 160pts!) \vbox during a long string of sectioning commands.
4
votes
2answers
1k views

How to prevent page breaks in lists? (“Exam” class)

I'm using the exam class to prepare a test. Unfortunately, the package allows page breaks inside the solution list of a question. Considering this toy example: \question Example of question. Choose ...
2
votes
1answer
3k views

Using \adjustwidth from changepage to make a narrower ToC introduces an extra blank page, how to remove it?

I am required to typeset a ToC that is narrower than the \textwdith or \linewidth. I use the \adjustwidth from the changepage package for this and it almost works except that it introduces a blank ...
4
votes
2answers
296 views

Page break table with single cell

I have an environment set up of longtables that I use as "tips"-boxes and exercises in my book. The left column shows only one word rotated (tips, exercise or whatever) while the right contains the ...
16
votes
3answers
3k views

Footnote runs onto second page

I have a footnote that begins on one page but the text runs over onto the footnote section of the page afterwards. Any way to fix this? I'm using footmisc and the oneside book class.
27
votes
2answers
5k views

Squeeze some more lines on the current page

During the last phase of layout I frequently get a single line or two on a separate page. Rather then pulling the whole paragraph on that last page I would like to "squeeze" the lines on the previous ...
12
votes
1answer
1k views

How to keep Heading together with text?

I use a very custom style (not mine) and very frequently I get a heading on the bottom of a page and the next paragraph on the top of the next page. Sometimes this paragraph may be a list or similar. ...
2
votes
1answer
339 views

Insert text before end of page, and at the begining of the next page

I'm putting a template together and I have created a custom command which I'm going to use to set specific margins on the text passed to its argument and a few more formatting things, like this: ...
1
vote
1answer
1k views

Appendices one after another

I am writing a document with the following documentclass: \documentclass[a4paper,twoside,openright,12pt]{report} Since I have some Appendices to the text and they are rather small, I was thinking ...
4
votes
1answer
101 views

How can I create a macro that does nothing if it appears at the top of a page?

How can I define a macro that does nothing if it is the first item on a page, but does something (e.g. inserts a rule or a space) if it appears elsewhere? Something along these lines is discussed in ...
7
votes
2answers
223 views

dblfnote.sty with musuos.cls causes unbalanced footnotes

I’m the author of musuos.cls and while writing a paper with it I noticed that the dblfnote-package leads to unbalanced footnote columns You can see that the left colum has one line less than the ...
0
votes
0answers
121 views

No pagebreaks after chapter in report documentclass [duplicate]

Possible Duplicate: Start new chapter on same page I'm currently writing a report in the LaTeX documentclass report. The guide lines of the project I'm writing the report for state that ...
10
votes
2answers
302 views

Can I make some vertical material disappear if it occurs next to a page break?

I'd like to place a horizontal rule above each section title, to separate the new section from the text before it. But I don't want the rule to appear if the section begins on a new page, since that ...
4
votes
1answer
345 views

longtable with large cell content possibly bigger than a page

I am modifying an existing C program which trawls through a database and creates a Latex document from the guff it finds. The majority of the data needs to be plopped into tables, so it uses the ...
5
votes
2answers
4k views

\lstinputlisting will not continue to next page

So I have this LaTeX snippet: \section{Appendix} \listoffigures ... \begin{center} \begin{figure} \caption{MacroCell with 8 AND Gate Arrays} ...
7
votes
1answer
367 views

How to avoid bad page breaks with lettrine?

I use the lettrine package to lower the first letter at the beginning of some paragraphs. But sometimes it happens to be the last line of the page and the result is awful. Is there any way to move it ...
7
votes
1answer
3k views

Remove newpage after \tableofcontents, \listoffigures, etc. in book class

When using a documentclass of book, it seems there is a \newpage inserted after the \tableofcontents and \listoffigures. How can I suppress this? In articles, the following works. How can I get this ...
10
votes
2answers
18k views

How make sure two elements stay on the same page? [duplicate]

Possible Duplicate: Unbreakable block I am writing a very simple how-to document with several screenshots. The document flow goes something like this: A few sentences explaining action 1 ...
5
votes
1answer
582 views

How to change chapter created by \printindex to section?

I wonder if there is a solution to the following problem: I wanted to create an index with the package makeidx and the scrartcl document class. \printindex creates a chapter called "Index". But all I ...
4
votes
2answers
1k views

Avoid page break in theorem

I have a theorem which is half of it on another page, as I do for you automatically (without \newpage) get full theorem on the next page? \documentclass[a4paper]{book} \usepackage[utf8]{inputenc} ...
12
votes
2answers
1k views

Keep bibliography entry on one page

I'm using BibTeX and natbib. I have a number of entries in the reference section that start at the bottom of a page and continue on the next e.g. at the bottom of a page I have Some Author Name, ...
11
votes
1answer
10k views

Algorithm over 2 pages

I am writing a few rather large pseudocode functions using algorithm and algorithmic, i.e. my code looks something like: \begin{algorithm} \caption{Coolest Algorithm ever} ...