{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
1answer
18 views

Use \nopagebreak (or similar) in supertabular

I'm trying to add multipages tabulars with counters in tabular tail. I first tried longtable but as it generates head and tail before the table content I can't use counters. So I used supertable who ...
2
votes
1answer
22 views

After \clearpage move the figure to the top

I need to make a "pagebreak" after a figure so I use \clearpage. But I want the figure to stay at the top of the page and not centering at the now empty page. My code right now looks like: \begin{...
3
votes
1answer
22 views

\cleardoublepage does not seem to work

I have tried to use the \cleardoublepage command so that each chapter starts on a right hand page. However, the command does not seem to work. I have included a minimalistic excerpt of the set-up in ...
0
votes
1answer
19 views

Pagebreak after titlepage

I have now made a titlepage in my document using \begin{titlepage} stuff \end{titlepage} and that is fine, but now when I tried to insert a blank page after the titlepage and before \begin{...
2
votes
0answers
88 views

Page formatting when using images [duplicate]

New Lyx user, not very good in page formatting. whenever i insert an image, the whole page formatting get messed up. like in the below figure. In my code the above paragraph was after the pic. but in ...
2
votes
0answers
69 views

Inserting a page after title page containing text and image without numbering

How can I insert a new page containing text and image (so I would be able to edit that page) after my title page and before ToC without counting that page in a multi-file format? thanks a bunch, ...
6
votes
1answer
69 views

Tcolorbox with a dashed frame: same boxed title style after break?

A solution that keeps the style of the boxed title after a break in a tcolorbox can be found at Tcolorbox: same boxed title style after break? The solution works well for frames made of a continuous ...
4
votes
1answer
82 views

Tcolorbox: same boxed title style after break?

How can we set the same style of boxed title after a break in a tcolorbox ? \documentclass{article} \usepackage{lipsum}% \usepackage[all]{tcolorbox}% \begin{document} \def\TheTitle{Boxed title} \...
7
votes
3answers
164 views

Geometry for single page, redux

I'm bummed that this question is closed. I want to know how to do what the OP there wanted. So I'm asking again. Here is a MWE: \documentclass{article} \usepackage{lipsum} \usepackage[margin=1.5in]{...
1
vote
1answer
22 views

Adding section header to appendix

I am currently using the appendix package and would like to add some form of header to the appendix section. For example currently my appendix starts with Appendix A as its title, I would like it to ...
3
votes
0answers
36 views

Badly aligned tikz objects and bad page-break in deluxetable

I am creating a table in latex, and I need to use a deluxetable environment. I use the package tikz to draw some circles in the table. The problem I am having is that I want to reposition those ...
1
vote
1answer
37 views

Table Errors - Misplaced \noalign, Misplaced \omit, extra alignment tabs

I am very new to latex, and as I'm nearing the end of my first thesis, due to submission in two days I'm placing the results which have finally been extracted after several attempts over the past few ...
1
vote
0answers
14 views

How to keep my tikzpicture in the same page [duplicate]

I am using latex with 2 columns text format. I have a tikzpicture that moves to the next page once I create it. I do not know how to keep it within the same page and prevent it from moving to the next ...
0
votes
2answers
40 views

How to create a breakable whitebox with fixed height

I want to create a whitebox with empty space (in order for people to write in it when the document in printed) but i can't find any solution to do that. I tried tcolorbox but I can't fix the height of ...
4
votes
2answers
63 views

How to label a list / make a line before list stick with the list?

I am getting frustrated by not being able to "label" lists in a way where the "label" would stick with the list and a page break (or column break) would not be introduced before it. Here is a MWE: \...
2
votes
0answers
42 views

Encourage (XeLa)TeX to break pages at the end of sentences within a paragraph

As the title suggests, I am using XeLaTeX to layout very long paragraphs (up to 50 pages in length for a single paragraph), and would like to encourage it to break pages at the end of sentences within ...
1
vote
0answers
34 views

babel ngerman interfering with longtable pagebreaks

I have a longtable environment and want pagebreaks only after certain rows which can be achieved putting * at the end of the rows that must not be broken (see this post). This does work as long as ...
1
vote
0answers
23 views

Automatically split enumeration over multiple pages [closed]

I would need to automatically split a very long enumeration over multiple pages. I've tried several solutions but no one works for me. Please, could you help me? Thank you
3
votes
2answers
26 views

Partial center in environment

I'm writing a lab manual with step by step directions. Some directions include screenshots. To keep the screenshot with the line of direction, I use samepage. I am exploring an environment I can use ...
0
votes
0answers
49 views

Persistent Gap! [duplicate]

I'm working on my paper using MiKTex v2.9 and i came across this odd problem with {proof} environment. Syntax i use for proof is working properly in other areas of text but in one place i encountered ...
2
votes
1answer
32 views

Only allow pagebreak between lefthand and righthand page in double sided document

I'm working on a songbook, using the class scrbook. Every song is a single file imported using \input. I'm using \enumerate for the verses and refrain. At the moment, I put the whole song in a ...
1
vote
0answers
40 views

Package hyperref causes a blank page to be added before a section starting with a large image

When I try to have a section start with a large image, an extra page is added before the start of the section. I tracked down the problem to the hyperref package; when it is not loaded the extra page ...
0
votes
0answers
21 views

create custom badness for pagebreaking over a custom area

This is a - as I think - tricky question. I want to create and/or modify a badness for pagebreaking/newpage. It should work like this (pseudo code): \begin{areaOfBadnessValid}{badnessvalue} \...
1
vote
1answer
20 views

Page break: enumeration with headline

In my document I created a new environment called examples. Basically it's an enumeration with the headline "Examples". The idea is to get something like: Examples Example 1 Example 2 Example 3 ...
1
vote
0answers
21 views

Penalising page breaks within environment

I have an environment that I use to format examples in a document I'm writing. The contents of that environment typically consists of a few short paragraphs, often each only a line or two long. I ...
2
votes
1answer
36 views

How do I prevent figure pages from interrupting passages?

I've written a text with some page-size figures in it. The problem is: The figure pages are interrupting sentences and paragraphs. The figures are supposed to be looked at for some time, so I'd like ...
0
votes
0answers
32 views

Page break incorrect with sideways table

I'm having difficulty with a sidewaystable: after the section heading it will leave a whole page blank after having a separate page with the table. How can I get it on the same page? \documentclass[...
0
votes
0answers
24 views

Weird floating properties

I have a document that is arranged this way: However, I don't like this, because the order of my figures are messed up. What I would like to see is something like this: Can you tell me how to ...
3
votes
3answers
85 views

speech cards / palm cards

I wish to print a document in the form of speech/palm cards. That means, the text of the speech needs to be divided up by LaTeX automatically so that it fits into boxes of fixed dimensions (e.g....
1
vote
0answers
48 views

Editing .cls file [closed]

I am using a .cls file for my thesis but the document format is not perfect. I need to guarantee that the pages which are generated with the following commands are in the odd pages: \maketitle, \...
2
votes
1answer
24 views

Maximize size of figure such as to maintain page breaks

In this MWE, I manually fine-tuned the width of the graphics (0.711082\linewidth) in order to maximize its size while fitting the whole document on one page. \documentclass{article} \usepackage{mwe} \...
0
votes
0answers
42 views

\newpage or \pagebreak DONT work before \section

I am trying to make a \section{Chapter 1} start on a new page using \newpage immediately before it, and it doesn't work. Can anyone tell me why? Thanks
7
votes
0answers
111 views

Typesetting literate programs: how to enable page breaking mid-paragraph, but not mid-code?

I'm writing a book that is a literate program. A literate program is divided into "chunks" or "sections," each of which has a documentation part and a code part. (It is also permissible, and in my ...
1
vote
0answers
39 views

Remove Blank Pages

MWE: \documentclass[a4paper,12pt,leqno,footinclude=true]{memoir} \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} \usepackage{tocloft}% \newcommand{\cftchapaftersnum}{.} \begin{document} % ---...
10
votes
4answers
328 views

Creating arbitrary number of blank pages

Is there a single command with which one can insert an arbitrary number of blank pages inside some latex text?
2
votes
1answer
49 views

Problem Splitting Very Long Algorithm on two or pages

In the example below, I have a very long algorithm, probably spanning 3 pages. I tried manually splitting the code up, but each time, a new algorithm number is generated. How do you maintain the ...
2
votes
1answer
116 views

How can I render a LaTeX document without pages?

Almost always, I simply render electronic documents, so I don't need pages. Also, pages make it difficult to arrange images in a document. I want to draw TikZ graphs for my blog articles, and I don't ...
1
vote
1answer
23 views

Prevent page and column breaks mid bibliography entries in Biblatex/biber

Using biblatex and biber is there any way to prevent a page/column break from occurring mid item? The image below shows bibliography items being split both at the end of a column and at the end of the ...
3
votes
1answer
34 views

Nested breakable frames

I am trying to solve problem with nested frame environments which must be both breakable. It is not important to use tcolorbox if there is some better alternative. Is it possible to display it ...
0
votes
0answers
25 views

My pages are not the same size on the PDF for my Senior Econ paper

I don't know if a basic working example would help, as I would not be surprised if packages are conflicting or I have a typo or syntax mistake in the 10 page document. And I've no doubt made it much ...
2
votes
1answer
40 views

classification labels in headers and footers

I'm trying to write Latex documents that will automatically satisfy government requirements for labeling certain classes of information: - Each paragraph starts with a label indicating its importance....
0
votes
0answers
36 views

pagebreaking and `\vfil` in ConTeXt

I am trying to distribute elements vertically across a page: \setupbodyfont [TeX Gyre Pagella, 30pt] % Or something else \showframe \starttext A \vfil B \vfil C \vfil D \page E \vfil F \page G \...
3
votes
2answers
43 views

Auto Generate Custom Text Message for Page Break

I created a new environment that creates a box around text. I used tcolorbox. Additionally, since I wanted to break from page to page, I added 'breakable'. However, what I want it to do is to break ...
13
votes
1answer
120 views

\@clubpenalty leaks out

In the following example the value of \clubpenalty has been reset to the one of \@clubpenalty on the second page: \documentclass[]{book} \usepackage{lipsum} \begin{document} \subsection{abc} blblb ...
3
votes
1answer
50 views

\clearpage produces an extra blank page

I'm trying to insert some sidewaysfigure environments between segments of text. The output should be like Title Page Text (ends about halfway down the page) Sideways Figure Sideways Figure Text ...
2
votes
1answer
32 views

tcolorbox disable repeated text in overlayed node

In the following MWE (built from http://tex.stackexchange.com/a/170767/69378) I have demonstrated that title text in an overlayed tcolorbox node gets repeated across page breaks. I have checked the ...
2
votes
1answer
118 views

How to prevent page break between listing caption and code?

How to prevent page break between listing caption and code (see the picture)? Minimal example illustrating issue: \documentclass[a4paper, 12pt, oneside]{report} \usepackage[a4paper, left=3.5cm, ...
3
votes
2answers
38 views

Preventing page break between a Verbatim environment and an equation

I have a document in which displayed equations often appear immediately after an environment created using the fancyvrb package. How can I prevent page breaks from appearing in between? \...
2
votes
2answers
90 views

Place text on top of bibliography page

I would like to include a quote at the top of the first page of my bibliography section. \newenvironment{wittyquote} {\color{darkgray} \begin{addmargin}[6cm]{0cm} \begin{footnotesize}} { \end{...
1
vote
0answers
84 views

Blank page between references and appendix

Could anyone help please. A blank page is being created between the references and appendix. I have tried all the usual fixes like \clearpage and \cleardoublepage, but none are working. All the ...