{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.
4
votes
2answers
315 views
Problem with the numeration appearing in the table of contents
I have some trouble with the page numbers printed in the table of contents. I am writing a text in book class. In my text, I first print a table of contents with the commands
\frontmatter
...
13
votes
1answer
464 views
pagebreak if only 1/4th of the page left?
I have a document with some tabulars one after the other. I want the tabulars begin on a new page if there is very little room left on the actual page, like 1/4th. Otherwise, there should not be a ...
18
votes
5answers
7k views
Nopagebreak nopagebreak nopagebreak - why won't LaTeX listen to me?
Fun times, I'm making a (manual) index of the lecture slides for class (which are nowhere near latex, ppt files yay) and of course Latex insists on placing pagebreaks willie nillie through my items. ...
12
votes
2answers
10k views
Splitting subfigures across multiple pages — but programmatically!
I am using the subfig package to make many subfloats in a figure environment. It works well, as long as you realize that it tracks the whitespaces within the float environment.
It also has an option ...
8
votes
1answer
661 views
Breakable vboxes
In Plain TeX how can I make vboxes breakable, and can I handle/measure them separately? What I'm trying to do, is that I have a portion of text, that is treated separately (no indention, narrower, ...
5
votes
1answer
10k views
Explicit frame break with beamer class
I am looking for a way to insert explicit frame breaks. I'd like to use the built-in frame title continuation feature. The only way I have found is to play with different values of the ...
17
votes
2answers
254 views
prevent “action” if top of page
I have a manual list of stuff that are sometimes separated by an hrule(or my own custom ruler) for visual purposes.
Sometimes the hrule ends at the top or bottom of a page which makes it useless.
Is ...
10
votes
1answer
2k views
Splitting a float with code listings
Using the floats and listings packages, I have defined a float for code listings and a shortcut for using it as follows:
\usepackage{floats}
\usepackage{listings}
...
9
votes
1answer
191 views
Inserting 'PTO' (please turn over)
Is there a way to create a command which is like a \pagebreak (in that it suggests that it might be a good place to break a page, but certainly doesn't enforce it) but which inserts 'PTO' ("please ...
7
votes
1answer
1k views
How to make a list of unbreakable items?
In continuation of this question, I tried to make a list of items each consisting of unbreakable text. This can be done manually using minipage:
\documentclass[10pt,a4paper]{article}
...
12
votes
1answer
298 views
Conditioning behaviour of a macro on whether on top of a new page
Is there a way to find out, whether the currently typeset material will go to top of a page?
I am trying to write a macro which, when invoked, typesets a horizontal divider to separate the subsequent ...
2
votes
1answer
281 views
Background color of breakable box: removing thin blank lines
The purpose of the mybox environment in the following document is to
typeset a box in a yellow background. The box may be split by page
breaks. The algorithm used is similar to the one found in the ...
12
votes
4answers
6k views
How to show \listoffigures and \listoftables on one page and in the toc?
Is it possible to put the list of figures and tables onto one page? I only have two tables in my thesis, so having it on an extra page looks quite bad.
I've read about the tocloft package and tried ...
10
votes
3answers
793 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.
10
votes
1answer
2k views
How to start new chapters on the right hand side
I use the report document class, and I would like that chapters always start on the right hand side, anyone an idea how this could be easily done?
9
votes
1answer
175 views
How can I create a chapter with graphics only divided into different sections?
I'm trying to create a chapter with pictures only, but keep running into troubles. The chapter is an appendix, where only some graphics should be displayed, placed in different sections. I don't need ...
9
votes
2answers
968 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.
...
7
votes
1answer
3k views
Pseudo code to be spread over multiple pages?
I am writing pseudo code in the algorithmic environment. It is quite long and doesn't fit on one single page. Instead of it continuing on the next page, it is cut off. I tried inserting it into a ...
6
votes
2answers
469 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; ...
5
votes
2answers
505 views
How to disable pagebreak on \hline in longtable?
How to disable pagebreak on \hline in longtable?
This is an example illustrating my problem:
\documentclass[12pt,a4paper,oneside]{letter}
\usepackage{longtable}
\begin{document}
...
4
votes
1answer
612 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 ...
3
votes
1answer
404 views
Page breaks in table rows
I want to make a document that contains a synopsis of events, like
YEAR HISTORY CULTURE SCIENCE
1770 History para- culture para- science para-
...
9
votes
2answers
203 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 ...
8
votes
1answer
1k views
longtable multirow problem with cline and nopagebreak
I have a problem using with the package lontable and multirow together.
It seems that the \* is not avoiding the page breack, if I'm using \cline{i-j} just afterwards.
Here the original code for ...
7
votes
2answers
222 views
Longtable: page breaks within row possible?
I am editing a longtable. Some of my cells contain a lot of text. Page breaks seem to happen only where table rows end/begin. I'd like, however, for the rows to span pages; it's fine with me if, for ...
6
votes
4answers
278 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, ...
6
votes
1answer
1k views
How can I ensure that a listing is not going to be split?
How can I ensure that a listing is not going to be split? If it is going to be split I want that the entire listing to move to the following page, effectively moving everything at pass. I mean any ...
5
votes
1answer
271 views
What is the proper way to prevent text from splitting across columns and pages?
I have some description environments which I do not wish to have split across columns or pages. Is there some command which can be placed around an item to ensure that it will never be split across ...
5
votes
1answer
1k 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
...
5
votes
1answer
485 views
Prevent xtab breaking table too soon
Xtab breaks a long table spanning multiple pages too soon -- see my screenshot:
The output seems rather unsightly to me. Can I make it take more of the available space?
Alternatively, is there a ...
4
votes
1answer
416 views
Conserve the frame in a mdframed box that spans more than one page
I am using mdframed to create big boxes that span more than one page, but they just leave an unframed side at the top and down of the page. Is there a way to solve this?
\documentclass{article}
...
4
votes
2answers
2k 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}
...
3
votes
1answer
184 views
Faulty page-break in longtable: starts with endfoot
while intensively using the longtable environment, I ran into a situation where a the table is broken to the next page immediately after its endfoot line, without any real table row on the starting ...
2
votes
1answer
1k views
Open right for front matter
My front matter (abstract, table of contents, etc) does not start on the right hand side despite my chapters doing so. How do I ensure that these pages also start on the right hand side? The latex ...
1
vote
2answers
1k views
How to create a table that spans over multiple pages, breaking single rows
With the longtable package one can create a table that spans over multiple pages. The problem is that it will never break a row in two: either it stays entirely in the current page or it is moved ...
1
vote
1answer
443 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 ...
35
votes
3answers
505 views
Why no vertical-mode Knuth-Plass?
I have only basic knowledge of the TeX internals, so I hope what I am saying here is not complete nonsense. If I understand correctly, in TeX, horizontal positioning / line breaking is done using a ...
22
votes
1answer
25k views
Why is \newpage ignored sometimes ?
I have the following towards the end of an article. The bibliography is short (4 entries).
What's happening is that on the very last page of document I get the chart and immediately afterwards the ...
16
votes
4answers
1k views
Include without pagebreak
I really like the \input command, but what I really like more is the \includeonly command.
Is there a way to have the best of these worlds? (i.e. an \inputonly or an \include without page-breaks?)
34
votes
3answers
20k views
What is the difference between “Page Break” and “New Page”? [duplicate]
Possible Duplicate:
\pagebreak vs \newpage
In LyX/LaTeX,
What is the difference between "Page Break" and "New Page"?
They both seem to do the same to me.
14
votes
2answers
1k 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 ...
14
votes
1answer
502 views
Conditional pagebreak?
Is there a way I can have LaTeX insert a pagebreak, if the last line of the page is a certain string? e.g.
\noindent \textsl{Solution}:
thanks very much!
18
votes
1answer
490 views
Tikz - How to overlay Decorations over longtable
I asked similar question here Colored Curly Brackets spanning across multiple pages but may be I did not provide enough detail. On its own the solution works great.
I have about 32 longtables in my ...
16
votes
1answer
640 views
Displaying the range of sections on the page in the header
I would like to have on each page the range of sections covered by it displayed, opposite of the page number and accompanied by the name of the first new section (if there is a new one) starting on ...
7
votes
1answer
235 views
How to put footnotes in the page where they belong in a mdframed environment
I have a large bunch of text in a mdframed environment, that span more than one page.
As it seems reading the documentation, the mdframed environment put every footnotes at the end of the frame, by ...
4
votes
1answer
344 views
ledpar: How to force a pagebreak in {pages}-environment/stanzas?
How can I force a pagebreak in ledpar’s {pages}-environment between to \stanzas or even between two lines of a single \stanza? The reason for my question is that ledpar sometimes breaks the page ...
13
votes
2answers
1k views
How to make longtable respect \nopagebreak in the beginning?
For the book I am typesetting now I need a table environment with the following abilities:
Span over multiple pages;
Allow \nopagebreak between two lines
Do not ignore \nopagebreak before the ...
9
votes
2answers
421 views
Section should automatically start new page if the whole section does not fit on current page
I would like my sections to start on a new page if they do not fit on the current page. In other words: if a section fits on the current page print it, if it does not fit start printing it on the ...
9
votes
2answers
986 views
biblatex: No pagebreak in bibliography entry
Is it possible to tell biblatex to never split a bibliography entry across two pages?
Ideally this should work for both \cite and \fullcite.
9
votes
2answers
720 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 ...