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

8
votes
1answer
3k views

Long equation does not page break

I have a series of equations steps, about 20 lines or so. I would like to have it automatically decide page break when necessary, but it resists and always tries to stay in a whole page, rendering the ...
10
votes
2answers
5k views

How to remove page break after \part in report/book

I have tried to look through, but I couldn't find a clear solution on this. I have a document that uses report with multiple \chapters in multiple \parts as: \part{foo} \chapter{uno} \chapter{dos} ...
3
votes
1answer
177 views

Fixing formatting errors created by long eqnarrays

I'm writing a paper in which I have long eqnarrays, many of them 10 lines or longer. Since TeX seems to not want to page-break these equations, this results in weird formatting, eg pages that have ...
2
votes
2answers
90 views

is it possible to span multiples pages in multicolumn?

I have documents generated like this: \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{|p{7cm}|p{7cm}|} \multicolumn{2}{p{14cm}}{ Lorem ipsum dolor sit amet, ...
7
votes
2answers
2k views

Longtable does not break correctly when used with \specialrule instead of \hline

I'm writing an application that generate latex code, therefore the solution must be the most generic possible to ensure that it will generate clean pdf all the time. I would like to let my users ...
3
votes
1answer
97 views

Custom numbered paragraphs gives odd page breaks

I was writing a specification document needing numbered paragraphs. I implemented it like this: \reversemarginpar \newcommand\countparagraphs{ \everypar{% \addtocounter{paragraph}{1}% ...
2
votes
1answer
436 views

Quotes on a new page using \quotchap?

I am trying to use \quotchap to put some text before the chapter title using \begin{savequote} The Quote \qauthor{Quote Author} \end{savequote} What I wanted was to put all the text on a page ...
5
votes
1answer
2k views

Wrong page number for List of Figures within Table of Contents

I have a problem when I typeset my document. The document class is book. I added the List of Figures to Table of Contents manually using following command: \newpage \phantomsection\label{listoffig} ...
1
vote
1answer
230 views

Footnote separator for wrapped footnote, problems with Hebrew

In a previous question I asked how to format the footnote separator for wrapped footnotes. However, the provided solution unfortunately did not seem to work with my document. Now I have found that ...
4
votes
2answers
12k views

Enlarge a single page

How may I enlarge a single page in LaTeX? I need this for the summary of a thesis that has to fit on a single page without respect to an eyecandy design. In order to move the lower border, I was ...
11
votes
2answers
337 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 ...
1
vote
0answers
62 views

Minted split code into two pages [duplicate]

Possible Duplicate: minted truncates the code if it doesn't fit into one page I am using minted in order to write some Objective-C code inside a report I am trying to create. I use it ...
6
votes
2answers
517 views

bigfoot: only break footnotes across double-page spread

The bigfoot handles the breaking of footnotes across pages quite well, but personally I don't like it if I have to turn the page to read a complete footnote. Therefore my question: Is it possible to ...
2
votes
1answer
323 views

table and page break inside list

For a cooperative latex document with a lot of authors, it was decided to use tables for certain structures. Therefore, I have to cope with the problem of automatic page breaks of tables that only ...
2
votes
1answer
487 views

Footnote separator for wrapped footnote

In a text I am writing I have a couple of quite long footnotes which start on one page and continue on the next one. In order to comply with style requirements the line separating the body text and ...
7
votes
1answer
799 views

How to prevent a page break between section title and colored rule?

I use \usepackage[explicit]{titlesec} to customize the design of my sections, subsections... In particular, i have : \titleformat{\section}% {\large\sffamily\bfseries}% {My Section \arabic{section} ...
3
votes
1answer
371 views

Force no breaks after manual biographies in book doc class

After successfully applying tips on how to insert multiple manual bibliographies I have a new problem: each bibliography begins on a new page. This does not look good, and I tried supressing it with ...
5
votes
1answer
3k views

Longtable alternative for twocolumn documents?

Is there a recommended method for incorporating multi-page tables into twocolumn documents? It's clear that the longtable package isn't set up to deal with documents of more than one column. Is ...
3
votes
2answers
2k views

Footnotemark and footnotetext on different pages

Is there a way to permit footnotes to begin on a page subsequent to the one on which they were invoked? If the footnote is separated by no more than 1 page from the invoking line of text, then this is ...
2
votes
0answers
85 views

How to prevent page breaks inside words? [duplicate]

Possible Duplicate: Suppressing hyphenation across pages I would like to prevent page breaking from happening inside a word. In other words, hyphenation should not take place between pages. ...
2
votes
1answer
215 views

Can I write a macro for placing a vertical, breakable rule along arbitrary paragraphs without an output routine?

I answered a question last week about creating a continuous but breakable rule next to an arbitrary number of paragraphs in Plain TeX. My solution gathered the paragraphs to rule in a vbox; my output ...
9
votes
2answers
542 views

Automatically reorder floats to fill page

I have a document consisting only of floats, and I would like to order them so as to use the least number of pages. In my case, each float contains song lyrics, but they could easily be poems or code ...
2
votes
0answers
694 views

XeLaTeX, hyperref and page breaking [closed]

Using XeLaTeX, loading the hyperref package apparently changes the way in which (reconfigured) widow and orphan penalties work — so they reappear, just as if I had not altered the values for the ...
3
votes
3answers
1k views

Avoid page break after \item-followed-by-newline

My document has multiple occurrences of the code fragment \item~\newline \begin{center} \includegraphics{...} \end{center} \item and occasionally, the first item comes right at the end of a page, ...
10
votes
2answers
836 views

Custom alignment of columns in align environment

I need to typeset two columns of equations, each row typeset with an equation number to the right as with an ordinary equation. The first column must be centered, and the second column must be ...
7
votes
1answer
433 views

How can I prevent lstlisting with shadowbox-style to be split?

I have my listings styled with frame=shadowbox. In some cases the lower or upper border of a listing appears on the previous or next page (see screenshot). I do not wrap the listing in a minipage ...
7
votes
4answers
502 views

How to keep the last page number even?

I want to make sure the last page always be even, so I defined command as the following: \documentclass{article} \usepackage{lipsum} \usepackage[paperwidth=302pt,paperheight=400pt, offset=0pt, ...
9
votes
2answers
2k views

Multicol - don't wrap

I have two-columned page by multicol: \begin{multicols}{2} Lorem ipsum dolor sit amet... \end{multicols} It there any way to ban wrapping to the second column. What I mean is, that I ...
4
votes
1answer
2k views

Pushing references to the bottom of the page

I'm new to LaTeX and I have a two fold question, but first, this is the header that I'm using: \documentclass[aps,pre,preprint]{revtex4} \usepackage{graphicx,amssymb,multirow,amsmath} ...
13
votes
4answers
1k views

How can I let a footnote continue on the next page?

I have a rather long footnote which breaks a listing in two parts, unnecessarily. Since the listing is more important then the footnote I'd rather lake to have the footnote split. Can I customize ...
3
votes
1answer
5k 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
134 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
476 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} ...
15
votes
2answers
31k 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
385 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
483 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. ...
2
votes
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
315 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
6k 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
795 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 ...
13
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
21k 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
904 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
5k 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
2k 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, ...