Tag Info

Hot answers tagged page-breaking

15

Headers and footers are added after TeX has decided it wants to do a page break, so the fact that they are empty or not is completely irrelevant. A page must have something non discardable in it (a box, a rule, a whatsit), because discardable items (glue, penalties, kerns) are discarded at a page break. So doing \newpage\newpage does not produce a blank ...

4

Use case answer: Assuming that the six tables could really fit in one page of two columns, you can keep things together even if they really are not in the source code. You only need (a) six more or less nearby table floats and (b) use the [p] option to have one page of floats. Example with 4+2 tables in page 1 that are printed together in page 2: ...

4

As mentioned in comments, if a group of 6 tables are intended to float together then they should be in a single float. \documentclass[twocolumn]{article} \def\a{\addtocounter{enumi}{7}\roman{enumi}: One two three four five six seven } \def\b{\a\a\par\a\a\a\a\par\a\a\a\a\a\a} \def\c{\b\b Red yellow green blue \a\a\b} ...

4

I created the following 10-page lipsum: \documentclass{article} \usepackage{lipsum} \pagestyle{empty} \begin{document} \sloppy \vspace*{5cm} \begin{center} \bfseries This is \verb|lipsum[1-50]| \end{center} \lipsum[1-50] \end{document} This is how I would include it in the way you may be after (which avoids a page-break: \documentclass{article} ...

3

\include _always forces a page break, use \input, and then allow the figure to be on the same page by including h in its option. \documentclass[a4paper, 11pt]{article} \begin{document} \input{small_table} \begin{figure}[htp] \includegraphics{piechart.eps} \end{figure} \end{document}

3

You can use R rather than r and then wrapfig will allow the figure to float to a certain extent to avoid falling off the end of a page.

2

The error occurs because of the way that the align environment processes the material in its scope: LaTeX is set to look ahead for the hard-coded string \end{align}, at which point processing of the material in the align environment begins in earnest. With your definitions of the SPalignX environments, after \begin{align} LaTeX will eventually come across ...

2

You did not do anything wrong, it is a (documented) deficiency of TeX or a bug in hyperref depending how you like to look at it. If you replace hyperrefby the url package in your example the pages comes out as expected. So what happens? hyperref adds a lot of \pdfdest commands into the page one of which is \pdfdest name{section.<number>} xyz as part ...

1

You can probably arrange to store each page in a box instead of shipping it out, and then sorting the boxes at the end, something like this: \documentclass[openany]{scrbook} \newcount\zzz \newif\ifdone \let\zzshipout\shipout \makeatletter \def\shipout\vbox#1{% \edef\x{\noexpand\typeout{page \thepage\space is box \the\zzz}}\x \global\setbox\zzz\vbox{#1}% ...

1


1

\closing does two things that affect the following text in this case, firstly it adds 6\baselineskip of white space before the signature line (for you to sign by hand, presumably) in this case this happens to make page breaking mid-paragraph in the following text unlikely, just as it happens to fall, so in the example below I shortened the paragraph to ...

1

I did the best I could with no MWE. \documentclass{article} \usepackage{mathtools} \usepackage{showframe} \begin{document} \rule{1pt}{41\baselineskip} Let $P=(x_P, y_P, z_P)$ be a fixed point on the plane, $R$ a fixed length, and $X=(x,y,z)$ a variable point such that $XP=R$. As $X$ varies, it is obvious that it does so along a circle. Obviously, we ...

1

SOLVED Explanation of wipet's answer UPDATED January 11, 2016: The following code demonstrates a solution that counts each item within the environment. It also demonstrates which types of environment's support this technique. It is not supported by the \newenvironment macro or the xparse \NewDocumentEnvironment macro, because the content is inaccessible ...

Only top voted, non community-wiki answers of a minimum length are eligible