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

12
votes
1answer
598 views

Text spreading onto both columns in middle of twocolumn layout

I know that the package cuted can do its job quite well. However I'd be interested in different layout than what cuted provides. I hope that the image will be worth milion words: On the left is the ...
3
votes
1answer
579 views

keep listing's caption together with listing

I'm using the tips found in here to show a code listing with a caption. Sometimes the caption is put at the end of the page and the listing on the next page. How can I keep them together?
5
votes
1answer
199 views

Different pdflatex versions produce differently typeset documents - is there a kind of compatibility modus?

For some time I've been working on editing a conference proceedings, putting the different chapters together. I'm working on two different systems, which run slightly different versions of pdflatex. ...
0
votes
0answers
95 views

How do I break a long table cell/row using the europecv package? [duplicate]

Possible Duplicate: Table environment that can break inside a cell Using the europecv package to typeset my CV, I mostly use the \ecvitem command which. The whole Europass CV is built around a ...
2
votes
1answer
175 views

fixed distance and no page break between lines

I'm trying to make a quotation environment which puts the quote on a gray background, with a colored rule right on top of it: \documentclass{memoir} \usepackage{color} \usepackage[papersize={100mm,...
2
votes
1answer
419 views

Forcing new categories in splitbib to start on new pages

I use splitbib to create a sectioned bibliography in my CV, and I was wondering if there's a way to customize it to force new categories to start on a new page? I'm thinking that I'd have to do ...
4
votes
1answer
237 views

Place group of text and image on same exported PDF page

I am new to Tex and this question maybe is not written well, so I will try to explain it better. I am writing a reference manual where there are a lot of "blocks" that all have the same structure: a ...
9
votes
1answer
11k views

Remove blank page between list of figures and list of tables

Please how can I delete the blank page between List of Figures and List of Tables? I tried this: \listoffigures \nopagebreak[0] \listoftables but nothing changed. Here is my code: \begin{...
2
votes
2answers
2k views

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

This question is essentially the same as 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 ...
10
votes
3answers
1k views

Forcing even number of pages in output (LaTeX — pdflatex) [duplicate]

Possible Duplicate: How to keep the last page number even? Is there a way of forcing an even number of pages in output ? What I mean is to make pdflatex document "intelligent" it will add or ...
10
votes
1answer
215 views

prevent break after \poemtitle

This MWE shows that LaTeX can put a break after the title of a poem (written with the \poemtitle command of the verse package). Can someone advice me a way to prevent this behaviour? \documentclass{...
7
votes
1answer
1k views

Rounded corners not working in \mdf@singleextra using mdframed with TikZ

I am creating new framed environments using the mdframed package (along with TikZ) based on the digression example given in mdframed-example-texsx.tex. My code is the following: \documentclass{...
7
votes
1answer
270 views

Allow line breaks but not page breaks in inline formulas

It often happens that LaTeX breaks up an inline formula over two lines. However, I find it quite distracting when it breaks an inline formula over multiple pages. For example: \documentclass{...
1
vote
1answer
393 views

Set slide subtitle in beamer after \framebreak

I am writing my thesis' slides. I need to set a subtitle in some slides, but I am using the [allowframebreaks] option and \framebreak. When I set the \framesubtitle{} after \framebreak, the subtitle ...
5
votes
1answer
8k views

Vertical align at center in beamer slides using the [allowframebreaks] option and \newpage

I'm writing my thesis slides in beamer. I need to align vertically at center the slide's contents when I use the [allowframebreaks] option in the frame environment and the \newpage to start a new ...
5
votes
1answer
319 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 ...
6
votes
1answer
187 views

Footnotes causing pagebreaks in philosophersimprint.cls

I am trying to typeset an article using the philosophersimprint class, but footnotes are having a weird interaction with pagebreaks. Here is a minimal example demonstrating my problem: \...
5
votes
1answer
165 views

How to keep last n lines together in listing?

I have a large listing defined with lstlisting (listins-package). Now the listing reaches over three pages. On the last page there is only one line (the last line) of the listing. I looks not very ...
13
votes
2answers
7k views

Proofs in Beamer

I'm writing a presentation in Beamer, where I present proofs which are longer than one frame. How to make Beamer to break it automatically to another frame? If it is not possible how am I supposed to ...
1
vote
1answer
265 views

Pagebreak problem (stop my document from not pagebreaking) [duplicate]

Possible Duplicate: What is the command to just slightly increase the text height of a particular page? Squeeze some more lines on the current page How would I shift up my text from the 2nd ...
3
votes
2answers
1k views

Longtable exceeds page length

My longtable exceeds the page length. Any help would be highly appreciated. \documentclass[11pt,a4paper,oneside]{report} \usepackage{fontenc} \usepackage{setspace} \usepackage{array} \usepackage{...
7
votes
1answer
1k views

Remove blank pages after title and Table of contents

I'm using the book style, and I've got a title and ToC, they generate a lot of blank spaces after them that is completely unnecessary; how do I stop this behaviour? Here is my example code \...
4
votes
0answers
140 views

Avoiding bottomrule to go to next page [duplicate]

Sometimes my longtable bottom rules end up in the following page. How do I avoid that?
5
votes
3answers
205 views

Onecolum at the end in twocolum

So I have two problems: first. how to add onecolumn at the end of article withtout breaking page? second. same but after table in the middle of text?
10
votes
1answer
259 views

How to have the mdframed material flow in the top part of consecutive pages

Suppose you have the following layout: The gray area represents normal text. The orange area consists of one or more text boxes (inserts) of given height. Some textbook layouts present advanced or ...
12
votes
2answers
1k views

Is there a distinct command for \widowpenalty and \clubpenalty in footnotes?

I have found that setting \widowpenalty=10000\clubpenalty=10000 in the main document has not prevented widows and clubs from appearing occasionally in footnotes in a long and complex document I am ...
7
votes
1answer
3k views

More sophisticated page breaks within aligned equations

This is my current method of allowing page breaks between my aligned equations {\allowdisplaybreaks \begin{align*} left &= right1 \\ &= right2. \end{align*}} It works, but it doesn't ...
14
votes
3answers
12k views

\newpage,\clearpage and \cleardoublepage not working

I'm trying to compile the following: \documentclass[twoside,11pt,titlepage]{article} \usepackage[paperwidth=5in,paperheight=7in]{geometry} \usepackage{graphicx} \usepackage[absolute]{textpos} \begin{...
6
votes
1answer
7k views

LaTeX: First page blank

I just installed LaTeX with TeXworks today. I need to create a simple PDF out of a couple large images, I realize this is likely very crude and roundabout but I somehow managed to get the thing done. ...
2
votes
1answer
564 views

Pagebreak and Verbatim environments

Given the following piece of code: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{fancyvrb} \DefineVerbatimEnvironment{shell}{Verbatim}{ commandchars=\%\{\}, label=\shelltitle, ...
11
votes
1answer
3k views

Change page layout after first page

currently I'm trying to prepare a letter head with XeLaTeX. The first page of the letter should have a sidebar on the right. For this sidebar, the text width should be shrinked to approx. 80% of its ...
5
votes
1answer
1k views

Landscape forces premature pagebreak

After some trouble I have managed to make a table in landscape orientation that breaks over three pages. I used tabularx and the landscape package. Now my problem is that the thing won't float like ...
4
votes
1answer
720 views

bibnewpage option using apacite not working

I am having difficulty with getting the references to show on a new page using apacite. According to the documentation the bibnewpage option should do it, but it is not happening. It is displaying ...
3
votes
1answer
1k views

figure between date and bottom of the title page [duplicate]

Possible Duplicate: How to insert an image in the front cover of a report? I want to insert a .eps figure on the title page of a report. This figure has to be placed after date and then some ...
2
votes
0answers
644 views

Why does LaTeX longtable start on next page? [closed]

I have a 3-column-longtable that spans over several pages, there's no problem with that. The thing is that there's some text before the longtable. Instead of starting right under the text, LaTeX ...
3
votes
1answer
267 views

Can I have a table that spans multiple pages using ctable?

I'm currently working on a paper and I have a bunch of tables. Currently I'm using the ctable package for my tables. One of my tables is rather long and it spans more than one page. However currently ...
2
votes
2answers
483 views

Vertical line & list environment

I would like to make a good looking environment for my proofs. Some are spread on two pages so i thought of the list environment. \documentclass{article} \usepackage[francais]{babel} \usepackage{...
3
votes
2answers
4k views

section numbers (\thesection) and names have next page's values

I have customized my headers to display section numbers and section names. However: (a) The section number (\thesection) in my header often shows up with the next page's value. (b) The section name ...
2
votes
1answer
302 views

ConTeXt equivalent of LaTeX samepage [duplicate]

Possible Duplicate: What is the proper way to prevent text from splitting across columns and pages? I'd be surprised if this has not been asked a zillion times before, but really I couldn't ...
9
votes
1answer
2k views

How to wrap text around a landscape table over multiple pages? \sidewaystable or \landscape + \longtable

I am trying to create a landscape table that breaks over multiple pages. I have successfully done this with the following code: \begin{landscape} \begin{longtabu} to \textwidth{some columns} \caption[...
2
votes
1answer
119 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 = 1in]{...
1
vote
1answer
228 views

Page break in incorrect position in resume

The pagebreak in this resume is in the wrong spot. I would like latex to automatically put a page break in the right spot. EDIT I would like items to be cut off by a page break and continued on the ...
3
votes
2answers
562 views

\AddEverypageHook at end of page

\AddEverypageHook works at the start of a page. How can I add a hook to the every last part of a page right before a pagebreak? Essentially I want to watermark the pages BUT I want to do it after the ...
2
votes
1answer
6k views

Keep text together without page break [duplicate]

Possible Duplicate: Unbreakable block Hello I am trying to print this poem together on a single page except it keeps getting broken in the middle. Is there a way for me to group it together? ...
2
votes
1answer
725 views

Putting table of contents in a page without other elements

I want to put the table of contents in a separate blank page where it will be alone without any other element. How can I achieve this?
7
votes
2answers
3k views

How to prevent column break in multicols environment

I am typesetting a simple songbook and would like some songs to be displayed in two columns (I use the multicol package). However, I would like to prevent inserting a columnbreak within a stanza. It ...
7
votes
1answer
1k views

using \marginnote inside a math environment in tufte-book

I've recently started using tufte-book for typesetting solutions to math problems. I like it very much that you're encouraged to use the margin, which is very nice for giving hints, pointers and ...
4
votes
1answer
281 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 ...
7
votes
3answers
529 views

Break PDF booklet into pages

I have a PDF with booklet-odered pages (like the one below). I would like to break these PDF A4 pages back into the original twice as many PDF A5 pages. |-------| PDF page 1 | 8 1 | |-------| |----...
1
vote
1answer
4k views

\addtotoc starts new page

I have a section which I don't want to be numbered, but which I still want in the table of contents. So I have written \addtotoc{section}{My section} \section*{My section} I have done the same ...