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

5
votes
1answer
569 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
2k 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, ...
9
votes
1answer
9k 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} ...
6
votes
1answer
3k views

Forcing new chapter not to start on an odd page [duplicate]

Possible Duplicate: Chapter on the right side - How to turn it off? I am using a document class amsbook which I like very much, except for one thing: each new chapter starts on an ...
5
votes
2answers
1k views

Environment with first paragraph in bold and no pagebreaks

I would like to setup a new environment which typesets the first paragraph in boldface, the following paragraphs in normal text, and with (possibly) no pagebreaks between the first paragraph and the ...
5
votes
1answer
696 views

Auto-displaying a large image on multiple pages

I have a long UML diagram, I use the following code. The figure is about two and a half page long, but only the first page is showing, and the lower part of the figure is missing. How do I display the ...
1
vote
1answer
206 views

Breaking verse across multiple pages

I am using \begin{verse} ..... \end{verse} and I have a problem splitting it across pages. The verse environment is leaving half a page blank. How can I spread verse across multiple pages. I ...
5
votes
1answer
2k views

\pagebreak and two-column text

When I use \pagebreak in a two-column text, the paragraphs are spread out by vertical spaces only in the current column, so the whole page looks unbalanced (the right column has large spaces between ...
2
votes
1answer
420 views

Is there an easy way to fill the empty space of the page with empty rows in longtable environment? [closed]

I am typesetting tables in longtable environment, each one has different amount of rows (sometimes exceeding one page, sometimes not) and the \newpage after each table. I want to add empty rows at the ...
7
votes
1answer
536 views

marginpar and orphans

How can I avoid orphan lines if I use \marginpar? For example, here is a two-page document that does not have any orphans: \documentclass[letterpaper]{article} \usepackage{lipsum} \clubpenalty=10000 ...
1
vote
1answer
415 views

minipage breaking, or some other route to layout

I'm trying to make a resume with a 2 column layout, where I'll have something like [SECTION NAME] * space * [DETAILS] For example: Work experience[spaaaaaaaaaaaaaace]Some location, 2 years, etc ...
5
votes
2answers
1k views

thmtools: How to prevent pagebreak between theorem and proof?

I am using thmtools to format a collection of theorems and their proofs. Is there any way to prevent a pagebreak from happening between the last line of a theorem statement and the first line of the ...
4
votes
2answers
3k views

How to prevent a \lstinputlisting being split across pages?

This question shows how to prevent a long listing from being split across several pages when the code is written directly into the tex file. I want to achieve the same effect when including code in ...
9
votes
2answers
331 views

Lettrine and section at bottom of page causes bad pagebreak

My custom lettrine and section causes some of my pagebreaks to ruin my layout. Please see the example of the output for the attached code run through XeLaTeX. Verse 2 on the next page should ...
6
votes
1answer
3k views

How can I break up longtables at regular intervals?

I have a table where the data is in groups of 5 rows, so I'd like my longtable to have page breaks only between these five row groupings. Because there is text on the first page (prior to the table), ...
3
votes
1answer
1k views

Chapters only on even pages, sections without pagebreaks?

I'm having a few questions about KOMA script configuration and would love if you guys could help me out: How can I make all chapters only appear on even pages? How can I make all sections NOT have ...
10
votes
2answers
1k views

Automatic way to break narrow tables into two columns?

Is there an easy way to break long narrow tables into two (or possibly more) columns (i.e. without manually rearranging the columns)? In the following example you can see that there is a lot of ...
7
votes
0answers
139 views

How to put one big image on each page [duplicate]

Possible Duplicate: How to include a picture over two pages, left part on left side, right on right (for books)? The problem is the following: I am formatting a twopage book on latex and I ...
10
votes
1answer
4k views

Two-column beamer ToC with control over the breaking point

From Splitting TOC into two columns on single frame in beamer, I'd like to know whether it is possible to control the position of the breaking point between column 1 and column 2?
15
votes
3answers
2k views

How to avoid a page break before a two-column TOC in memoir

Although `I wouldn't normally do this', I'm writing a short(ish) document for which I'd like to place a small TOC in two columns as the last thing on the title page. In single column mode it works ...
23
votes
1answer
30k views

Make a table span multiple pages

I have a table that takes up a full page, but I want it to start on a page that already has some text and then continue onto the next page (i.e. it's ok if the table gets broken up and spans two ...
1
vote
1answer
813 views

How to eliminate unnecessary page break in LaTeX?

I have couple of lines (text) followed by table. I want both the text and table to appear in same page, now text appears in one page and table in next page. How to change it? I have tried using ...
1
vote
1answer
764 views

LaTeX letter document causes new column instead of new page

I am generating a tex file that has a variable length table for each quarter of the year. I would like to keep the tables centered under one another unless there is not enough room for the table, in ...
0
votes
0answers
106 views

Multipage tables (column-wise) [duplicate]

Possible Duplicate: Table and multi-page I have a table with a lot of sideways content. Like the following table: A B ... X Y Z Entry 1 Entry 2 Entry 3 The table ...
6
votes
1answer
8k views

Adding a new page

I have the following title page in LaTeX: \documentclass{article} \title{Appendix A: User Manual} \author{ John Smith\\University XyZ\\Albert Square\\Walford\\NC1 8AE } \begin{document} \maketitle ...
6
votes
2answers
125 views

What is the command to just slightly increase the text height of a particular page?

There is a command for just slightly increasing the text height of a particular page, something like stretchthispage or so. I know where it is in the LaTeX guide that I have at home, but I'm at work ...
4
votes
1answer
1k views

Quote environment with long reference at the end right – without widows

I need a quote-environment to end with source-references in a new line, flush right. Simply using \begin{quote} QUOTED TEXT \begin{flushright} SOURCE \end{flushright} \end{quote} ...
3
votes
1answer
300 views

longtable: Keeping some cells together on the same page

I'm using longtable in my CV to list work experience, so it can continue over multiple pages. However I like to keep some rows together, such as employer and job title, is there a way how I can do ...
19
votes
2answers
12k views

Multi-page equations — problem

I have a very long derivation, that needs to look like: A = B \\ = C \\ = D \\ etc. The derivation spans across many lines. I'm looking for a way to typeset it so that when it reaches the end of ...
2
votes
2answers
340 views

theoremprework Error with ntheorem

I have defined \theoremheaderfont{\normalfont\bfseries} \theoremprework{\bigskip\hrule} \theorempostwork{\hrule\bigskip} \theorembodyfont{\slshape} \newtheorem{definition}[satz]{Definition} and now ...
0
votes
1answer
345 views

Include a file (chapter)

Is it fair to assume that if an \include command does not add a blank page both before and after, it is because the chapter starts on a page with an odd page number ? EDIT: I thought I was having ...
6
votes
1answer
1k views

How to prevent pagebreak in description environment

I have a simple List in the description Environment. \begin{description} \item [item] number one \item [item] number two \end{description} there is a new new page between the first item and the ...
1
vote
2answers
1k views

scrreprt: No extra page per chapter [closed]

Is it possible to configure koma-script's scrreprt so, that it does not create a page only for the chapter information on the start of a new chapter? I am aware that scrartcl does not do this with ...
1
vote
0answers
153 views

Keeping a long minitoc from starting on a new page [closed]

Is there a way to force a long \minitoc to begin on the same page as the chapter title and split into the next page if it is too lengthy? As of now my only long \minitoc starts on a new page and the ...
4
votes
1answer
1k views

Shaded with “continue on next page”

I am using the shaded environment in the framed package to wrap some text lines that may go across two different pages. If there is a crossing of pages, I'd like to automatically add a line "(continue ...
8
votes
1answer
916 views

Theorem decorations that stay with theorem environment

I am typesetting a document using the memoir documentclass. Currently, my theorems have the following definition (using macros provided by the ntheorem package): % THEOREMS ...
19
votes
2answers
23k views

Start new chapter on same page

I am using report document class. When I create a new chapter, it starts it on a new blank page in which only the chapter name appears. I want to be able to start new chapters on the same page as the ...
10
votes
2answers
2k views

Index shouldn't start new page

I am writing an article in LaTeX 2e with \documentclass[twocolumn]{article}, including an index. The document prelude includes \usepackage{makeidx} and the \makeindex command. At the point where I ...
8
votes
2answers
1k views

minted truncates the code if it doesn't fit into one page

minted works well when the code snippet is short, or fit into one page. The problem occurs when I pasted a code snippet with several hundred lines. Sometimes it processed but the output was truncated; ...
1
vote
1answer
433 views

Enlarge list of listings

I'm using \cleardoublepage \renewcommand{\lstlistlistingname}{Quellcodeverzeichnis} \enlargethispage{\baselineskip} %EITHER \lstlistoflistings \enlargethispage{\baselineskip} %OR THIS ...
14
votes
1answer
3k views

Chapter on the right side - How to turn it off?

As a documentclass I use book. Chapters always start on the right hand side. How can I turn it off? I don't want to have empty pages. I don't care on which side starts new chapter.
16
votes
2answers
10k views

Incorrect bookmarks and page number in table of contents

I have problem with table of contents and with bookmarks. In pdf file table of contents shows wrong page number of Introduction and Bibliography, Bookmarks: introduction and bibliography don't bring ...
14
votes
3answers
6k 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?
2
votes
1answer
6k views

Begin every chapter on a new page using LyX

I'm writing a document in LyX (an editor for LaTeX) and I need every chapter to begin on a new page (not necessarily an odd one). Right now it just puts every chapter one after the other. How can I ...
6
votes
3answers
661 views

An unexpected value of \clubpenalty

In the following MWE, \clubpenalty has the expected default value of 150 at the begin of the document. However, a combination of a) a \section b) a paragraph c) a quote environment – in this ...
5
votes
1answer
3k views

openright in book class not taking effect

I have the following command in my preamble: \documentclass[letterpaper,twoside,openright]{book} But \chapter{}s still start on the left. I have seen this thread and this thread but the solutions ...
15
votes
2answers
3k views

Breaking pictures across multiple pages

I am a relative TeX newbie trying to write a new package to generate timelines that can span multiple pages (the existing timeline solutions are not suitable for me, and I would like to write ...
3
votes
1answer
676 views

Making algorithms display after the paragraph and split them in pages

I am using algorithmicx to write algorithms. I want to be able to write algorithms so that they appear right after the paragraph they have been written and possibly split them from the end of one page ...
3
votes
1answer
521 views

Bad looking table of contents (on entire page)

\documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage{indentfirst} \frenchspacing \linespread{1.3} \author{Me} \title{My title} \begin{document} ...