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}
Nicky