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

1
vote
0answers
24 views

Blank pages with horizontal line and header

I am writing my thesis paper in LaTeX. I wrote the main program like below, but whenever I compile the .tex file one extra blank page is added after every chapter, and it doesn't take into account if ...
2
votes
1answer
17 views

Help for a complicated macro: breaking pages at custom places and itemize environment

In this answer, there is a macro that allows one to have a precise control of the page lengths of a document. This macro is too complicated for me and I have found a problem with it. It behaves ...
2
votes
1answer
25 views

suppress page break before chapter title in LyX

I'm using LyX and need to have the chapters to start soon after the end of the previous chapter. A LyX solution will be most appreciated. Document class report and I am not to change the document ...
5
votes
1answer
66 views

vspace gets extremely large

I'm just writing my bachelor thesis and i got into some problems with vspace. To seperate definitions, theorems and so on, from the rest of the text i defined the following environment: ...
0
votes
0answers
27 views

Split algorithm over two pages, inside a for loop [duplicate]

I have found questions similar to mine, but none of the solutions given solves my problem. Because my algorithm is too long to fit on one page, I want it to be split on two pages. Solutions I've ...
2
votes
0answers
33 views

Defining a screenplay dialog environment for breaking across pages

Edit: consider this a followup to the answer here http://tex.stackexchange.com/a/63847/64528 I'm trying to create a LaTeX/XeTeX template for screenwriting, specifically to output from an Emacs major ...
2
votes
0answers
21 views

Framed theorem environment spread across pages

I wanted to put a vertical line in front of examples to make them easier to distinguish from the regular text. For this I used mdframed, and it mostly seems to work. However, if an example happens to ...
0
votes
0answers
18 views

Multicolumn custom float

I use these package and bunch of instruction to get a custom ruled float named "example" \usepackage{float} \floatstyle{ruled} \newfloat{example}{tbh}{exam} \floatname{example}{\textsc{Exemple}} ...
4
votes
1answer
34 views

How to nicely split proofs into different parts?

I often break long proofs into smaller pieces, in order to make it easier to read and understand. I'm doing that by adding a fbox with "Part X: ...". However, this doesn't work out very well all the ...
3
votes
0answers
24 views

How to prevent my theorems from breaking off at a pagebreak?

I styled the theorems in my document a bit, using the mdframed package. I'm glad with the result, but the frame sometimes breaks off incorrectly. I've created a sample to show you what's going wrong. ...
2
votes
1answer
34 views

How to change text arrangement on page

Currently I'm using pdflatex to print content on page with width of 6 in and height of 9 in. It's printing in standard print orientation as mentioned in the diagram below "Current Printing format". ...
2
votes
0answers
37 views

How to put something on a page without disturbing the main vertical list?

I'd like to put something on an arbitrary place on a page. I'm using \begin{tikzpicture}[remember picture,overlay] ... \end{tikzpicture} inside \nointerlineskip\vbox to 0pt{\vss ...
3
votes
1answer
49 views

How to suggest reasonable places for pagebreaks

I am currently typesetting a bilingual Afrikaans-English bible. I sometimes end up with ugly orphans and widows. Is there any way to mark the beginning of verses as friendly page-break places. In my ...
1
vote
0answers
31 views

In row table page break

I want to generate a report automatically. I use python to replace placeholders inside a LaTeX template. The report contains large complex tables that span multiple pages. I have found a packet cals ...
0
votes
1answer
39 views

Not to start the bibliography in a new page

I'm using thebibliography in order to do the bibliography of my text. Here is what I have written: \begin{thebibliography}{99} \addcontentsline{toc}{section}{Bibliografia} ...
1
vote
1answer
43 views

Figure disappears if a new page is added before it

In the experimental section of my Master's thesis in chemistry, I'm using chemnum to numbering chemical coumpounds. The problem is that the figures disappears when adding a \newpage in front; see ...
2
votes
1answer
64 views

Page break problem after \subsection in LNCS format

I am using LNCS template to author a paper. But, weirdly at random point, if I add a \subsection a page break appears between 'Abstract' and 'First Section': ...
2
votes
1answer
35 views

pagebreak and amsmath theorem environment issue

In the example below, you'll notice that when a \pagebreak is used right after the theorem, an unwanted vertical blank space is added after the theorem environment while it should not. ...
3
votes
2answers
77 views

\columnbreak doesn't work

With the following code: \documentclass[a4paper]{report} \usepackage{multicol} \begin{document} \begin{multicols}{2} \noindent Vediamo un po' di testo a due colonne. Proviamo a cambiar colonna: ...
2
votes
2answers
90 views

How can you automatically continue a figure on to the next page?

Below is my code, I have 5 figures (a, b,c,d,e) under Figure 1.. i want them to continue on the next page and not stuck in the middle. I want them to be one under the other i.e. vertically like the ...
3
votes
0answers
30 views

Add vertical space only if there is no pagebreak

I'd like to define a new listings environment where the listing has an \hrule before and after the listing itself. In order to do this I've defined this environment: \lstnewenvironment{haskell}[1][] ...
1
vote
0answers
20 views

Linguex glosses and translation separating across page break

I use linguex and I don't want my examples to be separated from their interlinear gloss and translation by a page break. Currently I have to check the .pdf output and use the package {needspace}, but ...
6
votes
2answers
118 views

How can i add the abstract and acknowledgment on the same page?

I want to add my abstract and acknowledgment on the same page as they only fill the half of the page in total, so it looks foolish to have them split into two pages. ...
1
vote
1answer
48 views

longtable side by side

I've two longtables and I'd like to place them side by side. Tabular environments work very well, but I think it is not possible to place longtable side by side (why?). It needs to be a longtable or ...
2
votes
2answers
19 views

Can I configure bibtex.exe to insert the command \interlinepenalty=10000 in the .bbl file?

The following question-answers show a method of avoiding page-breaks in between references: How can I prevent page break between lines of a paragraph or bibliography entry? ...
0
votes
1answer
21 views

Break subfigures along 2 pages using the subfigure package

I am trying to add subfigures that are larger than one page. I am using the package subfigure that might be a bit obsolete, indeed, however I insist in using it because I have a very large documents ...
2
votes
1answer
52 views

Avoiding widows while keeping text height even across two-page spread

In The Elements of Typographical Style, the author notes (§2.4.8) that widows—single lines occurring at the top of a page—should be avoided. Yet the text height of two facing pages should be the same, ...
3
votes
2answers
35 views

Page break after each section with title

I'd like to have there be a page break in between each section, just like in this question, but I'd also like there to be no page break prior to the first section (that is, between the title and the ...
1
vote
1answer
38 views

How to prevent header being the last line of page?

Hi. How to prevent breaking of section header and section content? It is very strange behaviour for LaTeX, but it happened and I want to fix it. Code of this section is below: ...
1
vote
1answer
67 views

How can I prevent page breaks from occuring inside the body of a function?

Is it possible to tell the listings package not to insert page breaks inside the body of a function? For instance, void foo() { // Do not insert page break here } //But here is fine An ...
4
votes
2answers
101 views

Break Lines in minted environment

Usually when adding code in a LaTeX document, I use the listings package. When trying to modify and personalise styles in listings, @1010011010 suggested to use the minted package. To be quite frank, ...
4
votes
2answers
54 views

Two \maketitles in one page

If I wanted to include two titles in one page, what can I do? I've seen the titling package as this QA suggested, but the titles came out in separate pages. \documentclass[twocolumn]{article} ...
1
vote
1answer
45 views

Section Titles, not the crossing next page

It's my code, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[svgnames]{xcolor} \usepackage{lipsum} ...
2
votes
1answer
70 views

How to switch from one sided to two sided document?

I have been writing a thesis that is currently in one sided layout, but I would like to switch everything except for contents, abstract, acknowledgement and dedication into two sided layout. Is it ...
1
vote
0answers
37 views

How do I keep a block of text on the same spread?

I am building a cookbook, and I need to keep each recipe's text on the same spread. I've wrapped each recipe in its own environment, so I can easily add commands at the beginning and end of each ...
3
votes
1answer
75 views

Increment counter only if no page break occurs

I'm trying to create a form that contains a series of test instructions, each of which are represented as minipages and take up between 1/3 - 1/2 of a standard A4 page. What I'd like is to be able to ...
9
votes
1answer
78 views

When does \nopagebreak work?

There are many examples where \nopagebreak doesn't work as expected: Nopagebreak nopagebreak nopagebreak - why won't LaTeX listen to me? How to make longtable respect \nopagebreak in the ...
4
votes
2answers
82 views

bclogo page breaks

I am using the Bclogo package http://www.ctan.org/pkg/bclogo. I have created environments for lemmas and proofs with it. The proof was too big to fit on the bottom of the page, so it just inserted a ...
3
votes
3answers
518 views

I need help on forcing a pagebreak in LaTeX

I am using LaTeX and trying to put the tables and figures at the end of the manuscript so that they occur on separate pages. I have tried \pagebreak, \newpage, \displaybreak before each of the ...
1
vote
0answers
34 views

How to attach section-title to corresponding text? [closed]

My title (\chapter, \section etc.) should always be attached to the corresponding, followed text. It happens that the title is squeezed into the last line of a page and the corresponding text on the ...
0
votes
0answers
41 views

Manually Split Bibliography in beamer

I'm doing a presentation in beamer. I have a total of 8 references and i want to display them as 2 references per slide. Does anyone knows how i can do this? my code: \documentclass[10pt]{beamer} ...
4
votes
2answers
49 views

How to keep an environment with the last line of the previous environment?

I quite often include attributed quotes in my documents, using something like: \begin{quote} Now I am become Death, the destroyer of worlds. Also, I like bananas! I like bananas so much ...
1
vote
0answers
34 views

Multicols leaving blank pages

I am trying to create a formula sheet which I am going to use for my exams. I was able to set up the layout as I like it, bit I am having a problem on pages 4, 6 and others (as you can see from the ...
2
votes
2answers
49 views

Page breaks inside titlesec section headings

I use LaTeX to generate contracts and agreements. In most cases, it works okay but, every so often, it causes problems with pagination; specifically, if I have too many subsections without an explicit ...
1
vote
1answer
46 views

longtable multirow problem with cmidrule and nopagebreak

I'm trying to reimplement the David Carlisle solution given here for breaking long tables over certain rows (breaking in \hline commnands instead \cline ones). This solution is complemented with the ...
1
vote
1answer
53 views

How to force section to not go to new page in article

I have a document like this: \documentclass{article} \begin{document} \include{sect1} \include{sect2} \end{document} Both files sect1.tex and sect2.tex begin with \section{...}. The output pdf ...
3
votes
2answers
21 views

Preventing an arbitrary block from being displayed on two different pages?

I have a collection of concert entries; two such entries are displayed below: \textbf{Modest Mouse, Jimmy Eat World, Angels and Airwaves}\\ \textit{LIVE105 Not So Silent Night}\\ Bill Graham Civic ...
0
votes
1answer
87 views

Problem, header location and different page in one page

My code is this \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{showframe} \usepackage{multicol} ...
3
votes
1answer
139 views

How do I test for a new page?

I need to know when I change pages. I thought I had a solution using everypage. It works using \newpage, but not using \vspace. \documentclass{article} \usepackage{everypage} ...
6
votes
1answer
84 views

Opposite of \allowdisplaybreaks

If i load the amsmath package it doesn't allows to break by default alignments across the pages in the multline, align, gather, alignat environments and their starred versions. Howewer it exists the ...