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

Partial compilation of part of a document without breaking the page

I'd like to avoid recompilation of unchanged sections of my documents. However, I don't want new sections to be on new pages. Suppose this is my document: I only want the second section to be ...
0
votes
0answers
27 views

Remove newpage before \printindex

I want to remove the new page before \printindex \phantomsection \renewcommand{\indexSectionCount}{\myeval{\SectionCount-1}} \renewcommand{\indexname}{B~Stichwortverzeichnis} \addcontentsline{toc}{...
0
votes
0answers
26 views

Making a tikzpicture a figure sends it to next page

I made a pie chart in my document. When it's not in a figure, everything is fine, the tikzpicture is between the two paragraphs I want. When I make it a figure, it goes to next page: \begin{figure}[!...
0
votes
0answers
8 views

Missing pagebreak between to section titles [duplicate]

If there is an "empty" section (i.e. two section titles after each other), page break is prevented, even if the second section title won't appear in the document. (Checked with book and article ...
2
votes
1answer
120 views

Placing the little orange square at the end of the Exercise environment from Legrand Book Orange template

I wrote the notes of one of my courses using the very nice Legrand book template, but I have a little problem with those little orange squares at the end of the exercises. When I write \begin{exercise}...
3
votes
1answer
46 views

Line break without page break using `poetry` package

The poetry package overrides \\*, which means that I can't use that to prevent page breaks in the middle of a stanza. Is there another way to create a line break while forbidding a page break at the ...
1
vote
0answers
45 views

How to get rid of widow in List of theorems

In my PhD thesis I have 31 definitions in my List of Definitions. The last definition does not fit on the page, and becomes a widow on the next page. How can I get one or more definitions to be moved ...
0
votes
0answers
41 views

Page length exceeded

I am writing a paper for a journal and by the time I try to build a pdf version, I realized the length of each page is shifted down. Here I attached a snapshot an here is a link to the Journal's latex ...
3
votes
1answer
34 views

Extend breakable tcolorbox over footer on page break

I've defined a tcolorboxenvironment thusly: \newtcolorbox{cajita}[1]{ boxrule=2pt, breakable, enhanced, arc=3mm, colback=Orange!15, colframe=Orange!70, colbacktitle=Orange!35, coltitle=...
1
vote
1answer
38 views

Spacing Error with mdframed Over Page Break

I'm having a bit of trouble with the mdframed environment. I'm using it to enclose Examples in my text in a light gray background box (and control spacing around the text). When the frame splits over ...
1
vote
1answer
69 views

prevent page break inside a sentence

I am asked to not break sentences so that they are on two pages. Is there a way to globally and automatically prevent sentences to be split into two pages? It should look like it would be a new ...
1
vote
1answer
29 views

Spacing issue on chapter page with page break due to section

I'm using the titlesec package to redefine the chapter format, and I noticed a spacing issue when adding a section which causes a page break. Essentially, I want the title displayed between two ...
0
votes
0answers
21 views

Perform a page break within \cvlistitem in moderncv template [duplicate]

I am using following template \cvlistitem{ \begin{itemize} \item 1 \item 2 \item 3 \item 4 \item 5 \item 6 \end{itemize}} Currently, if it is not able to fit in same-page, it take whole ...
1
vote
3answers
62 views

Framed boxed text with “continued” text on page break

I need to write a boxed text as like as: Currently, I am using \documentclass{book} \usepackage{framed} \begin{document} \begin{framed} \section{Box 15...} ... \end{framed} \end{document} Please ...
0
votes
1answer
35 views

How to display horizontally aligned images with caption?

I'm looking for an advice how to display high amount of images horizontally aligned with caption: there are hundreds or even thousands images in the gallery dimensions of images are unknown, their ...
1
vote
1answer
44 views

LaTeX: \figure + \includegraphics unwanted page breaks and wrong spacing between caption

I'm implementing gallery of scanned documents and I have issues with using \figure + \includegraphics, see the screenshot below: 1) [violet comment] caption of current image and following image are (...
1
vote
0answers
31 views

LaTeX - invalid page break for first \includegraphics in chapter

I've created chapter containing only images with caption. All images shall have fixed width (\textwidth), height is always unknown (image shall be correctly scaled). From second image everything ...
1
vote
1answer
39 views

Miktex/XeLaTeX - wrong images wrapping at the page breaks (wrapfigure)

I've asked already this question in other thread, but because I've opened it for two issues, only the other was discussed/answered. So I've added new thread only for this topics with additional ...
2
votes
1answer
94 views

Miktex/XeLaTeX - non-working wrapped images (wrapfigure)

I've searched hundereds forums of the same question, but without any working solution. I'd like to insert images to my document to the right side of the page and my text shall wrap them from the left....
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[...
15
votes
1answer
419 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
49 views

How to prevent pagebreak between section/subsection title

How to prevent pagebreaks between section/subsection titles and the multicolumn content of the document when using the paracol environment like this... \renewcommand{\deutschertitel}{Dezimalsystem} \...
0
votes
1answer
93 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
100 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
33 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
51 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
1answer
24 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
68 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 ...
4
votes
2answers
57 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
39 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
21 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
34 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
55 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 ...
2
votes
1answer
57 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
32 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
30 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{...
5
votes
1answer
124 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
1answer
35 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
72 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 \...
1
vote
1answer
34 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
37 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
39 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}...
3
votes
1answer
60 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
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 ...
-1
votes
0answers
25 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
18 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
98 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). ...
-1
votes
0answers
29 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 ...