Page LayoutRemove Page Break after Part Heading (/Appendices heading)

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
nicksy
Posts: 8
Joined: Sat Aug 27, 2011 9:59 pm

Remove Page Break after Part Heading (/Appendices heading)

Post by nicksy »

Hello,

I would like to split my document into \parts, \chapters and \sections as it will be a long document, but there are 2 main fields of expertise (\part) and then 2 broad areas (\chapter) within each of these, inside which I will be writing several multi-level sections. With this document I am also constrained to a total page limit, so spacing is a premium.

1). As such I need help getting rid of the pagebreak that is inserted with the \part command: e.g. after the heading of the part the text introducing that part begins on the next page as though the heading were a cover sheet.

I include an example that has my \Part heading positioned at the top of the page where I want it to save space, I just need to remove the pagebreak that follows it.

2). Also, if anyone knows how to make the second line of the heading indent to below the word radiation, so that Part I is to the left of the heading?? would be much appreciated.

Code: Select all

\documentclass[pdftex,12pt,oneside,a4paper]{report}
\special{papersize=210mm,297mm}

\usepackage{hyperref}
\usepackage{setspace}
\usepackage{titlesec}
\usepackage{lipsum}

\hoffset 4.6truemm \oddsidemargin =0pt \marginparwidth 0pt \marginparsep 0pt			
\voffset -0.4truemm \topmargin 0pt \headheight 0pt \headsep 0pt
\textheight 232truemm \textwidth 155truemm
\footskip = 15truemm
\pagestyle{plain}

\titleformat{\part}[block]{\bfseries\huge}{\partname\ \thepart}{2pc}{}{}
\titleformat{\chapter}[hang]{\bfseries\huge}{\thechapter}{2pc}{}{}

\titlespacing*{\part}{0pt}{-12pt}{18pt}{}
\titlespacing*{\chapter}{0pt}{-12pt}{18pt}{}

\begin{document}
\part[External Beam Radiation Therapy]{\texorpdfstring{External Beam Radiation\\ Therapy}{External Beam Radiation Therapy}}
\subsection*{Introduction to part}
\lipsum

\chapter{foo}
\lipsum
\end{document}
Thank you in advance

Nicky
Last edited by nicksy on Tue Jan 24, 2012 5:35 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Page Break after Part Heading

Post by kaiserkarl13 »

It seems you would be served well by moving everything down one level: the two main sections as "chapters" and the headings below them as "sections." You would then have subsections, subsubsections, paragraphs, etc. below that.

Parts are intended as VERY large separations for reports and books, and as such are supposed to separate them as if they were separate volumes starting afresh in the next part. For example, a collection of six books published in three physical volumes would have six parts but only three 'books.'
nicksy
Posts: 8
Joined: Sat Aug 27, 2011 9:59 pm

Remove Page Break after Part Heading (/Appendices heading)

Post by nicksy »

kaiserkarl13 wrote:It seems you would be served well by moving everything down one level: the two main sections as "chapters" and the headings below them as "sections." You would then have subsections, subsubsections, paragraphs, etc. below that.
Thanks kaiserkarl.

This was how I started until I learnt there was a \Part command, but currently with having parts I am already running into trouble needing a non-existant subsubsubsection and having to redefine \paragraph to be like a mini-heading.

I will use this as a work-around if no other solutions are posted before july
nicksy
Posts: 8
Joined: Sat Aug 27, 2011 9:59 pm

Re: Page Break after Part Heading

Post by nicksy »

I suppose if anyone knows how to make Appendix A start on the same page as the word `Appendices' in the appendix section then possibly that would be the same solution to getting Chapter/section 0 to start on the same page as Part I
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Remove Page Break after Part Heading (/Appendices headin

Post by kaiserkarl13 »

You can number paragraphs using \setcounter{secnumdepth}{6} (I think).
Post Reply