3

Does someone know how to prevent the "\cleardoublepage" after each part in a memoir class document ?

I don't have the slightets idea how to do it.

\documentclass[a4paper,12pt]{memoir}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}     
\usepackage{lipsum}
\nonzeroparskip
\begin{document}
\part {Test}
lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus.
Donec aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae
Nam
ornare odio metus a mi.

Nam
\end{document}

I would like to have my part's and section's titles on the same page. Thanks

2
  • Exactly what do you want \part to do instead? should any text start immediately or on the next page??? Not particularly clear from your question
    – daleif
    Sep 2, 2014 at 12:30
  • Yes sorry. I'am using your theme daleif :). I want \part like \section, that is to say on a single page with the text. So, the text after \part should start immediately on the part's title page.
    – Terriguest
    Sep 2, 2014 at 12:33

1 Answer 1

3

use

...
{\let\newpage\relax
\part {Test}}
lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus.
...

if you need \part very often, you can redefine the command.

\let\Part\part
\renewcommand\part[2][]{{\let\newpage\relax
  \ifx\relax#1\relax\Part{#2}\else\Part[#1]{#2}\fi}}
\begin{document}
\part {Test}
...
2
  • Ah thanks !!! How can I redefine this command ? With renewcommand ?
    – Terriguest
    Sep 2, 2014 at 12:48
  • see my edited answer.
    – user2478
    Sep 2, 2014 at 13:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .