Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [page-breaking]

{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.

0
votes
0answers
15 views

align followed by pagebreak causes align in the middle of the page [duplicate]

MWE \documentclass[12pt,a4paper,twoside]{article} \usepackage[a4paper,tmargin=2cm,bmargin=2cm,lmargin=3cm,rmargin=2cm,twoside]{geometry} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[...
13
votes
1answer
319 views

A simpler explanation of \clearpage

I have read the manual, so am not trolling here. I REALLY don't understand the use of \clearpage. Especially, its difference with \newpage. A common explanation is that it "flushes" all pending floats ...
0
votes
1answer
77 views

ConTeXt: advanced enumeration item setup

This question is a refinement of ConTeXt: avoid enumeration items across pages. Given an itemgroup, each \item contains one or more paragraphs or itemgroups, possibly mixed. I only want pagebreaks ...
5
votes
1answer
88 views

ConTeXt: avoid enumeration items across pages

If each \item is one or more paragraphs, sometimes ConTeXt will break these paragraphs across pages. In this specific case I would rather ConTeXt break between each item if a single paragraph or ...
2
votes
0answers
22 views

Shade text background without affecting mdframeds or tcolorboxes

I have some text with tcolorboxes interspersed with normal paragraphs. Everything looks lovely so far, even when the tcolorboxes have to break across pages (using the breakable option). However, I ...
0
votes
1answer
40 views

Multiple page table with specific size font and centred columns

I want to make a "Multiple page table with specific size font and centered columns" what I have tried until now is with longtabu, but when I set the size of the font it changes all the fonts for the ...
0
votes
0answers
32 views

Different page breaks, same document, different computers

First post; probably dumb. Not a big deal (so "fixing" it not mission critical) but I wonder if others have come across this, and what might cause it. 717-page book, using the book document class, ...
0
votes
1answer
19 views

Customizing Part in TOC

I am using book class and I want to create a part in TOC in the following way: I want the part centred in the middle of the page and the chapters on the other page. Here is my code: \documentclass[...
2
votes
1answer
54 views

Making the left-hand side of a double spread always print the same within part of a document

I wish to print the actual running text* of part of a document only on the right-hand side pages of double spreads, while the left-hand side repeats the same every time because the reader will want to ...
0
votes
0answers
30 views

Make a multipage table which fits to pagewidth

i have a really long table (~6 Pages). Since it is 465*24, i did not wanted to assign the width for each column with p{.01\pagwidth} or so. Normally i avoid this by using \begin{adjustwidth}{-2.5cm}{} ...
4
votes
2answers
56 views

Can I make a flexible page length?

In my document, I have many large unbreakable boxes. Sometimes, the text will take up most of the page before a box that is a little too big to still fit. Consequently, I am often manually using \...
2
votes
1answer
36 views

“Smart” page breaking for boxed content

I am trying to load content from a central .tex file, then display it. %%%%%%%%%%%%%%% % central.tex % %%%%%%%%%%%%%%% \saveContent{A}{this is content "A"} \saveContent{B}{this is content "B"} \...
0
votes
1answer
20 views

enlargethispage only if … (opposite of needspc)

perts---is there a facility to \enlargethispage only if there is less than x vertical space still available? this would be an analog to \needspace, but with the opposite effect---not pushing ...
1
vote
1answer
32 views

Optimize space usage of paragraphs

I have sometimes encountered the problem in TeX, that a paragraph does not fit on one single page and is therefore splitted over two pages. This behavior makes of course sense. However, I noticed ...
3
votes
1answer
48 views

First chapter page is on even page, not odd

I am trying to do a 500 page book in LaTex, to produce PDF for print on demand. Mostly things work right. In particular, I want chapters to be on the right hand page, and if there is a blank page ...
0
votes
0answers
32 views

Prevent page break after tabular or allow page breaks inside tabular cell

I'm looking for a solution of typesetting "categorized" pieces of text. Currently, I'm using the booktabs package for \midrule and \bottomrule but as the texts get longer, only one of these tables ...
2
votes
1answer
34 views

Suppress page break before Index

By default, where I insert an index, it automatically does so on a new page. Is there a way to suppress this page break, so that my Index begins wherever I inserted it? In the following MWE, I get a ...
0
votes
1answer
30 views

Avoiding page breaks after section headings followed by lists

I am writing a reference book in which every section heading is followed by an itemized list. I often get page breaks after the section heading and just one or two of the list items. In such cases I ...
0
votes
1answer
25 views

Priority of page breaks between paragraphs in beamer slides with allowframebreaks

I have breamer slides with allowframebreaks which have some basic structure, e.g.: \begin{frame}[fragile,allowframebreaks]{Title} some text... \begin{itemize}...\end{itemize} other text \begin{...
0
votes
0answers
27 views

\newpage does not work as expected [duplicate]

Does \newpage not always work sequentially?
0
votes
0answers
20 views

\epigraph and \include: breaking pages indiscriminately

I'm trying to use \include (and I also tried \input with \newpage) to add some parts containing the usage of the command \epigraph. Unfortunately, no matter what I try to do, or both parts merge in a ...
5
votes
1answer
112 views

Why doesn't pagebreak remove extra space at the bottom of the page?

After reading about the differences between \pagebreak and \newpage I have noticed that the \pagebreak doesn't work as it is supposed to. Why is that? Am I missing something? Is there something I ...
0
votes
0answers
41 views

Supertabular page break results in two overlapping tables

I am working on a supertabular table in a two-column document. When the table is supposed to have a page break, it does not continue on the second page, but right on the first page and on top of the ...
0
votes
1answer
33 views

After page-break my node does not exist anymore

After page-break my node (string) gets lost. Only at the first page my node "100" is shown. This code contains parts from @skillmon @ulrike fischer @saso Thank you at this point. I know i should post ...
2
votes
1answer
65 views

ConTeXt: Split xtables across multiple pages

Background Use extreme tables to split tabular data across pages. Problem The \setupxtable command does not appear to be sufficient to force a table to split across pages. Also, a reference to ...
1
vote
1answer
47 views

My if condition does not work. Any idea why?

I have just one question. My if condition does not work. I dont know why. Here is the if condition: \ifthenelse{\boolean{somevariable}}{split dir tree auto,}{} %IF ABFRAGE FUNKTIONIERT NICHT I set \...
0
votes
0answers
14 views

Footnote break with proofs and lists

I am adding {prooftree} and {itemize} inside a footnote, which makes the footnote break, (even if I add \interfootnotelinepenalty=100000 in the preamble)
1
vote
1answer
30 views

How to use the \stretch command over two pages instead of just one

i try to use the \stretch command to space out pieces of text (for a concert programm) and it all works really nicely, but i have no idea how to expand this design towards two pages. Obviously i can ...
1
vote
1answer
33 views

LaTeX section page break

I am writing my CV using LaTeX and I have two pages, the first has a different margin than the second which is what I was intending to. However, while adding the various sections I have the problem ...
0
votes
0answers
30 views

page/line breaks with index

Consider the following possibilities for indexing a word (potentially enclosed in parentheses) with spaces before and after it: 1) \index{foo}long_word 2) long_word\index{foo} 3) (\index{foo}...
0
votes
0answers
45 views

“\let\clearpage\relax” is messing up my ''\tableofcontents''

Whenever I use \let\clearpage\relax, the chapters where I used them just disappear from the table of contents. What can I do? Thanks for reading my first post :3
3
votes
1answer
45 views

Printing Two Double-Sided Copies of an A5 Document on A4 Paper

I'm using LaTeX to write a quiz for the calculus class that I'm teaching, and I'm trying to save paper by using both sides of half a sheet of A4 paper (i.e., an A5 sheet) instead of one side of an A4 ...
0
votes
0answers
23 views

Why is there extra space at the top of a page for a heading after leaving vertical mode?

I've already asked a very, very similar question here, but since asking that question I've done some more digging and have isolated the problem to an even more basic one. Consider this document: \...
0
votes
1answer
17 views

putting reference page at back on even numbered page with revtex4 class (… or maybe amsart class)

I am making booklets with the classes revtex4 and amsart I would like to find a way to put a particular reference page on the back of the booklet... so that means that the document should end on an ...
0
votes
0answers
20 views

Pagebreaks between environments rather than within it

I use the exercise package to produce exercise sheets composed of series of small questions. As I use a two columns layout, I often encounter page/column breaks, and sometimes it cuts the exercise at ...
0
votes
0answers
32 views

Longtabu, \tabucline placed on wrong page (alignment)

The \tabucline of the last row unpredictably is printed either on the current or the next page. A solution to this problem has been found here: https://tex.stackexchange.com/a/210149/169866. The ...
0
votes
0answers
22 views

Reducing/removing an abnormally large vertical space between the title and text in an article

I'm writing an article and there is an issue with the vertical spacing between the title + abstract and the first paragraph of the text. I want the text to start normally after the abstract, similar ...
2
votes
0answers
15 views

Package conflict to generate page break: mdframed and exercise

I'm trying to write a text box inside an exercise environment. Unfortunately, this prevents mdframed to break among pages. I want to obtain mdframed to work inside the exercise environment and get ...
1
vote
1answer
82 views

How to delete unwanted blank page in parallel text?

I'm compiling a bilingual Gregorio document, and a couple of pages into the booklet I use the \parallel package so that chant on an odd page continue onto the next odd page (and same for even pages). ...
0
votes
0answers
28 views

Gregorio chant continuation TWO pages after break

I'm typesetting a bilingual chant in TexShop, with the odd pages in Latin and the even pages in Spanish. I've arrived at a point where I can't manage to fit all the chant into one page, so it ...
2
votes
1answer
48 views

Span a word or text over two pages horizontally

I am looking into how I could go about to achieve spanning a text, word or symbol over two pages horizontally, without any breaks in between. Find attached screenshots of what I mean. It cannot be an ...
3
votes
2answers
58 views

Split command output by odd/evens

I have a document which looks like this, with a custom question command: \documentclass[11pt]{article} \newcommand\question[2]{\setcounter{qnum}{#1}\vspace{.25in}\hrule\textbf{#1:} \textit{#2}\...
2
votes
2answers
73 views

mdframed: splittopskip ignored for center environment

I have a lot of example environments using mdframed in my document that break across pages. In these enviroments, I have some tables of results that I currently place in a center environment. ...
1
vote
1answer
33 views

Conditional definition of a environment

Is it possible to have defintion of an environment based of the value of a string. I have a common preamble file which works for a large number of different documents. Depending on the nature of the ...
0
votes
0answers
19 views

moving one large cell of table to next page LaTeX

I need help with automatically moving rows from one cell of the table to the other page. I'm using the package longtable but it works only for individual table cells. I need a solution for automatic ...
0
votes
1answer
68 views

No page break between sections in scrbook

I have a document which uses scrbook as documentclass. Chapters are in the main document, whereas sections are in separate files and included via \input{filename}. As far as I understand neither ...
0
votes
0answers
63 views

border line width is changed in `\newtcolorbox` when tcolorbox is breaking

The border line of the first tcolorbox is normal, in the the second when I move to a new page the border line width change. this is the code: \documentclass[9pt,a4paper]{article} \usepackage{...
0
votes
1answer
33 views

Custom lstlisting environment preventing page breaks (without using float)

I am trying to create a custom listing environment that will not break over pages and it's a bit of a Chinese finger trap. The two main options it seems to avoid listings breaking over pages are: ...
1
vote
1answer
23 views

Reledpar and Pagebreaks

I am using reledpar to write a document and I can not use a page break command. Here My MWE: \documentclass[12pt,a4paper,twoside]{book} \usepackage{fontspec} \usepackage{polyglossia} \...
0
votes
0answers
32 views

Put horizontal lines above and below tabbing and prohibit page breaks between the lines and the tabbing contents

I wish to put a horizontal line above tabbing and another one below it in such a way that there are no page breaks between the tabbing contents and the two lines. Here is what I tried so far: \...