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

4
votes
1answer
113 views

How to make a pagebreak that goes to the next double sided page?

I am writing a problem set for which the professor has mandated that each problem be submitted on a separate sheet (or sheets). To save some paper, I would like to print double-sided. Thus my ...
10
votes
2answers
500 views

How can I tell LaTeX to only make pagebreaks on new sections?

I'm working on a document where it's important that sections are in the same page. How can I tell LaTeX to only make a page break (if necessary) when I write a new \section without having to manually ...
3
votes
1answer
224 views

Bibliography and listoffigures postion

Whatever I try, I cannot "force" listoffigures and bibliography to be rendered in wanted position. They allways end up on next page, even if there is enough space in previous (wanted) page. CODE: \...
4
votes
1answer
546 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 ...
4
votes
2answers
6k views

Inserting Code in multiple pages as an appendix

I am trying to insert a script (bash shell code) to the appendix of my document. I am trying to import the script from separate file. The script file name is Event_Db_BckUp_Script.als. The problem is ...
13
votes
2answers
749 views

Breaking a theorem between pages

I currently have this custom myexample theorem environment that is working absolutely great. \newtheoremstyle{myexamplestyle}{}{}{}{}{\bfseries}{.}{ }{} \theoremstyle{myexamplestyle}\newtheorem{...
5
votes
1answer
646 views

Keep text together with minipage; leave space at end of previous page

I have a document that includes text with block of source code interspersed. Here's a minimal example: \documentclass[twocolumn,twoside]{article} \flushbottom \begin{document} ... lots of text ... ...
2
votes
1answer
1k views

itemize without pagebreak

I have the following structure of my lists (commonly): ..... Here is the list: * item1 * item2 .... I would like to make my list inseverable (the list with its 'caption' won't be divided by ...
4
votes
2answers
762 views

Problems with newpage and pdfpageattr

I have a document (article class) in which sections of text are interrupted by sideways tables. In order to be able to view the document properly I am using \newpage \global\pdfpageattr\expandafter{\...
8
votes
1answer
183 views

Remove/hide content if it would appear as an orphan [duplicate]

Possible Duplicate: prevent “action” if top of page I have some blocks of text, separated by a \hline. Because the LaTeX code is generated automatically from user-entered data, ...
50
votes
5answers
3k views

Typesetting limitations of LaTeX

What are the typesetting limitations of LaTeX? In other words what are the things that desktop publishing and word processing programs do better than LaTeX? I am not really interested in things that ...
4
votes
1answer
654 views

(Avoid) hyperref links across pages, with automatically generated content

In my previous question I implemented thumbs.sty, a package that allows the creation of Thumbnails of other frames in beamer (if you want to read that one, you'd beter brew some fresh coffee :) ). ...
7
votes
1answer
143 views

No pagebreaks between questions and answers

I'm working on a homework set, and one of my answers to a multi-part question has become very long. I've been keen on keeping problems and solutions as much on the same page as possible, and my ...
5
votes
0answers
322 views

Page break before caption in lstlisting [closed]

I have the following settings for a lstlisting: \lstset{ language=XML, numbers=left, numberstyle=\tiny\color{gray}, stepnumber=1, numbersep=5pt, ...
10
votes
2answers
6k views

placing in the same page two abstract in different language

I'd place in the same page two abstract section.One created using my own language and one in english language. If I tried this: \selectlanguage{italian} \begin{abstract} \lipsum[1] \end{abstract} ...
5
votes
1answer
701 views

How to prevent pagebreak for a custom environment?

I use the following custom environment emailHeader and macros to format an email header (credits belong to egreg). \definecolor{emailHeaderBackground}{RGB}{225,225,225} \usepackage[framemethod=tikz]{...
12
votes
1answer
609 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
584 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
200 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
98 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
422 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
244 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
272 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
395 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
322 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
188 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
167 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
266 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
263 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
13k 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
579 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
724 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 ...