Writing text on the LaTeX \ part page

I was wondering if it is possible to write introductory text on the page generated by \ part {...} in LaTeX?

I tried to insert text into it, but it just generates a blank page in front of the text.

Regards, Kenneth

+6
latex
source share
4 answers

You can define your own macro \mypart . for example

 \def\mypart#1#2{% \par\break % Page break \vskip .3\vsize % Vertical shift \refstepcounter{part}% Next part {\centering\Large Part \thepart.\par}% \vskip .1\vsize % Vertical shift % Some text #2 \vfill\break % Fill the end of page and page break } \part{Main}{Something about main...} 
+2
source share

This solution works without a macro and with the correct entry in the table of contents

 \part[Title for TOC]{Title on part-page \\ \\ \begin{center} \begin{minipage}[l]{11cm} **Additional text on part page** \end{minipage} \end{center} } 
+1
source share

If you use the memoir class, then a simpler (but less general) method is to simply override the \afterpartskip command.

I wrote:

 \renewcommand{\afterpartskip}{\vfil} 

in my preamble.

This works because pagination is generated from

 \newcommand{\afterpartskip}{\vfil\newpage} 

in memoir.cls. (It is called from the \partpageend ).

This method simply removes the \newpage , which may be all you want to do.

0
source share

Another solution for the srcbook class can be found at https://tex.stackexchange.com/questions/273340/old-code-to-define-part-in-scrbook-does-not-work-with-tex-live-2014- and-i-need , which looks like this: (//)>

 \documentclass[10pt, german, twoside, openright, headings=small, bibliography=totoc, footinclude=false, mpinclude=false, headinclude, captions=tableheading, numbers=noenddot, cleardoublepage=empty, index=totoc %, draft ]{scrbook} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[latin 1]{inputenc} \setkomafont{partnumber}{\Huge} \renewcommand\raggedpart{\raggedleft} \begin{document} \setpartpreamble{% \vspace*{20pt}% Im Teil A dieses Buches soll zunächst anhand konkreter Beispiele aus Natur und Technik gezeigt werden, ... } \part{Einführung in wichtige Aspekte und Phänomene der Strömungsmechanik} \end{document} 
0
source share

All Articles