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.

Filter by
Sorted by
Tagged with
3
votes
1answer
18 views

Longtable Overfull \vbox page not breaking

I'd think this is super common but no matter how I search I cannot find anyone else even asking this question. I'm finding that the longtable package is keeping the last row with the rest of the ...
0
votes
0answers
20 views

\pagebreak and \newpage problem (Miktex 2.9; Texworks 5.12.4)

I tried to write both command and none of them worked. If the text longer than 1 page and I wrote one of them into the text, the process isn't running. If I didn't write it into the text, it is ...
3
votes
1answer
76 views

tcolorbox: Colored margins in breakable box

Maybe I haven't made myself clear. In the following example \documentclass{scrbook} \usepackage{tcolorbox} \usepackage{lipsum} \tcbuselibrary{skins} \usepackage{calc} \usetikzlibrary{patterns} \...
2
votes
1answer
27 views

Issue of title of beamer slide (while maintaining enumerate)

I am dealing with beamer now in second slide I am using enumerate and list of items is very large. I wish to maintain item number in next slide that is why I am applying \framebreak. But the main ...
0
votes
0answers
28 views

Is there a way to automatically enlarge pages up to one line if there would be a widow otherwise?

I use the nowidow package but it steals me so much space, therefore I would like to have something like a automized command \enlargethispage{\baselineskip} if there would be a single widow line on the ...
0
votes
0answers
50 views

Page breaking differs in MiKTeX and TeX Live

I've faced with such a problem: page is broken in different places when compiling the same file in MiKTeX and TeX Live. Of course, I should provide TeX source, but the document is of 166 pages (...
0
votes
1answer
24 views

Page break within table rows

I have a longtable that has paragraphs in each cell in the second column. My problem is that when a page ends, it can break only at the end of a row. This often leaves large blank space at the end of ...
2
votes
1answer
76 views

Keeping section heading with body paragraph & image (context)

How can you get Context MkIV to automatically put in page breaks to keep \section, etc. headings with the paragraph when accompanied with a floating image, instead of putting the heading at the end of ...
0
votes
1answer
22 views

Conditional line break for better page break

Is there a way to insert a condition line break, in order to get better page breaks, i.e. less empty space on the pages? My concrete problem is: In my document I have some large figures, and thus ...
0
votes
1answer
25 views

How can I suppress a page break before all \midrule and \cmidrule horizontal lines in an xtabular environment?

I have a large number of tables (several dozen) which contain either amino acid or DNA nucleotide sequences, and are produced by a semi-automated bioinformatics workflow. These tables are fairly long,...
1
vote
1answer
64 views

split and move 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 need a solution for automatic text transfer from one long cell to next page. The solution may seem strange ...
0
votes
2answers
96 views

tabularx is breaking page formatting for some reason

I am in the process of writing my PhD thesis in chemistry and I seem to be having a problem with the table/tabularx instances. I have a lot of tables and I also have several longtables (which seem to ...
0
votes
1answer
47 views

etoolbox not breaking page when needed

I have the following piece of code in the preamble, that should prevent chapter from beginning on different pages, but, by the same time, when I get to chapter 3 it has enough text to break a page and ...
-1
votes
2answers
38 views

Place double-column figure right below section heading

I have a document in double column format, and for the appendix, where I just list omitted figures, I would like to have a section heading ("A - Omitted Figures") and then several figures. However, ...
0
votes
0answers
29 views

Force pagebreak behind hline in longtable

I try to force the pagebreaks only behind \hline and not behind a \hhline{|~|----} The first MWE shows the wrong behavior \documentclass[fontsize=12pt,twoside=false]{scrbook} \usepackage[ngerman]{...
0
votes
1answer
51 views

If a figure is too large and with parameter [H], LaTeX skips a page

If a figure is too large for one page and bound with the parameter [H], LaTeX leaves an entire page blank. Using the [p!] placement prevents the empty page but messes up the order. The first page of ...
0
votes
0answers
32 views

How can I prevent a pagebreak after an empty section?

I'm typesetting a roleplaying game rulebook in LaTeX. A frequently-occurring pattern in that problem space is a section header, followed immediately by a hierarchically lower section header—for ...
0
votes
1answer
33 views

how do i give a clean page break between two pages so that commands of one page do not interfere with commands on the other page

\documentclass[10pt,a4paper]{letter} %inter office note /cover page vertical line template \usepackage{fancyhdr} %\usepackage{amsmath} %\usepackage{amsfonts} %\usepackage{amssymb} \...
1
vote
2answers
53 views

autobreak formula but doesn't work

I have a long formula , I use autobreak as follows,but it doesn't work \begin{align} \begin{autobreak} {E_{{S_{t + 1}}}}\left[ {\left. {E\left[ {\left. {{G_{t + 1}}} \right|{S_t},{S_{t + 1}}} \right]}...
2
votes
1answer
51 views

Unequal text height in PlainTeX, no problem in LaTeX

I wrote 2 MWEs, one for LaTeX, one for PlainTeX. When they are compiled you can see, that the output produced by PlainTeX suffers from an unequal text height. There are sometimes less lines than ...
1
vote
1answer
57 views

tcolorbox is not breakable with fix height

I create the following "empty box" with predefined height. I use the command \emptybox defined below \documentclass{article} \usepackage{tcolorbox} \tcbuselibrary{skins,breakable} \newcommand{\...
0
votes
0answers
9 views

Page breaking doesn't work to bring section to new page [duplicate]

This has eaten almost three hours of my time today. I have tried \break, \pagebreak, \newpage, but nothing brings the section to the new page. At one point I tried to use \clearpage, it did take the ...
0
votes
1answer
31 views

Preventing pagebreak within \newenvironment

I downloaded a latex template for a CV here https://www.latextemplates.com/template/medium-length-professional-cv in the cls file it defines a newenvironment rSection that is then used for each ...
2
votes
2answers
69 views

latex: How to typeset many headings with no bodies? (After about 20 they don't fit on a page, and latex is not creating new pages for some reason)

I have a document (I use the 'article' class, but I cannot guarantee that, since the users may override it.), which only consists of headings of various kinds (\chapter, \section, \subsection, \...
0
votes
1answer
33 views

How do I add chapter title format in appendix?

MWE \documentclass{book} \usepackage[explicit]{titlesec} \usepackage{makeidx} \makeindex \usepackage{tikz} \newcommand{\chaptercolor}{blue} \titleformat{\chapter} [display] {\normalfont\filcenter} {\...
0
votes
1answer
42 views

combining table* with p to have two columns and occupy the full page

I have a long latex file and it is mostly messing up because of a long wide table. Also, this is a two-column file while the table itself occupies both columns. Hence, I used table* instead of table. ...
0
votes
2answers
45 views

Page breaking between introduction and abstract

\documentclass[twocolumn]{aastex61} \pdfoutput=1 %for arXiv submission \usepackage{amsmath,amstext} \usepackage[T1]{fontenc} \usepackage{apjfonts} \usepackage[figure,figure*]{hypcap} \renewcommand*{\...
2
votes
1answer
48 views

Latex/scrbook - no pagebreak above chapter

My problem is that I need to start new chapters on the same page if there is still space available. I use the scrbook class. As far as I see I have two solutions. 1. Change the class, i.e. to ...
1
vote
1answer
59 views

Avoid Pagebreak In Appendix

I am trying to get the headings on the same page and have already tried using /nopagebreak and samepage, however it will still break the page. As to my understanding, the pdf size should be small ...
1
vote
2answers
49 views

Latex new environment pushes environment title to end of page when content is long

I am trying to figure out why does \newenvironment pushes the environment title down to the bottom of the page whenever the environment content is longer than 1 page. The following is an example. I ...
0
votes
0answers
30 views

Enforce newline but not pagebreak?

In different part of my text I utilize \newline (because I need to force a new line break), but how do I ensure that the new line don't also seperat or make a page break right after the newline ...
2
votes
1answer
38 views

Force paragraph to stay on same page where it began

I am organizing several abstracts for a conference booklet; some of them are too long, thus inducing a page break. After finishing the booklet layout I am going to edit the abstracts to make them ...
1
vote
1answer
41 views

Remove the vertical spacing in Itemize environment?

Here is an example of the code for a CV. As it compiles, the first page gave a lot of white space. I would like to split the text so that part of the text is at the next page and part on the first ...
0
votes
0answers
31 views

How to make \hhline work with longtable's \\*

longtable provides \\* which can prevent the pagebreak, and longtable redefines \hline to support this function. Then, multirow enhances \cline to support that function. One can use package option "...
2
votes
1answer
76 views

How to make an environment like itemize to break when it reaches the end of the page?

I am currently using the Smart Twenty Seconds CV for creating my CV: The template has a sidebar on the left and text area on the Right. It uses some Kind of an own created environment which hold \...
0
votes
0answers
34 views

How to break table *notes* over multiple pages?

I have a long table (even longer than the example I have below when in full), and in particular I have a lot of table notes. I am using the deluxetable environment, and for simplicity and consistency ...
0
votes
0answers
35 views

Make use of a CV template, one section cannot be split over 2 pages when list is getting too long [duplicate]

I currently make use of this CV template with the Name "Twenty Seconds Resume/CV" The author created a new list Environment, however when my actual list is getting too long Latex does not make a page ...
6
votes
1answer
121 views

Distribute large Tikz image on two A4 landscape

How do I distribute the following picture in such a way that it is printed on two A4 landscape 1cm in the centre repeat itself (that is, the right most cm on the first page is equal to the ...
2
votes
1answer
95 views

Prevent table rows from being split across pages

I have a twocolumn document with a very long supertabular table. Within the table, I have "subsections" that I want clumped together; not split over multiple pages. For this example, each "subsection"...
1
vote
0answers
40 views

Page breaking issue with colored environment

I have the following problem. In the preamble I have the following: \newcounter{problem}[chapter]\setcounter{problem}{0} \renewcommand{\theproblem}{\arabic{chapter}.\arabic{problem}} \newenvironment{...
1
vote
1answer
52 views

Adjusting Latex table width & length. Splitting table to multiple pages

I am latex beginner.If I use tabularx, I am unable to split tables to multiple pages. \begin{table}[h!] \centering \caption{Summarized Analysis of Structured, OO, ADL \& WSO Approach} \begin{...
2
votes
0answers
44 views

LaTeX floats do not increase vertical stretchability nor the page total (t), but reduces the goal height (h). Why? And how to change?

Foreword This question is a follow up question of this question. More precisely, I was able to trace the problem down to its root, especially I was able to produce three MWE that illustrate the ...
1
vote
1answer
55 views

Bug tracing LaTeX page breaking penalties, adjusting rubber-length skips in KOMAscript

I use KOMAscript's scrbook class. I am very nitpicking about clubs/widows. Interestingly, most clubs and widows predominantly occur on pages that have multiple flows, displayed math environments and ...
3
votes
1answer
40 views

How to set a frame title at the top of each page break in a tcolorbox frame

I am trying to write a LaTeX setting that reproduce the way a2ps is displaying source code. Here is an example of such layout: For now, I try to use tcolorbox to build such layout. Here is a ...
4
votes
3answers
267 views

line break after the word “proof” in proof environment

I would like a proof environment that satisfies the following constraints: The proof must start on a new line after the word “Proof”. The word “Proof” and the first line have to be on the same page. ...
0
votes
0answers
46 views

Prevent pagebreak in the longtable - tabulary hybrid

I like the hybrid of longtable and tabulary environments, that was devised on this site, so much, that I came to use it exclusively. References: Multi-page with Tabulary? Longtable and tabulary ...
3
votes
1answer
58 views

ConTeXt: Allow all floating extreme tables to split across pages

Background Using Pandoc to generate tables that are sourced from an R Markdown document. Problem Pandoc does not have a way to override the code generated for a Markdown table. As such, there does ...
3
votes
2answers
252 views

Why is an empty \line added when \insert is used?

Consider the following example: \tracingonline=1 \tracingoutput=1 \gdef\makefootline{} \gdef\makeheadline{} \insert\topins{\vbox to\vsize{\hrule height \vsize width 300pt}} \end The log file ...
0
votes
0answers
51 views

Newpagestyle always starts a new page

is there any option to prevent Latex from starting a new page when I change the pagestyle (\pagestyle{...})? Related to this question. Whenever I start a new chapter I get the page number in "1" on ...
0
votes
1answer
34 views

Two abstracts on same page with 'report' [duplicate]

I'm struggling to make my German and English abstract appear on the same page in my report document. Currently they appear on two separate pages, no matter how big the abstracts get. Can anybody help ...