Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Using the book style, I need chapters to start on anypage (as in openany) BUT to be recto after a part (which is also recto).

fussy eh!

share|improve this question

1 Answer 1

You can redefine the \chapter command to suppress the \cleardoublepage command that is used when openany is not used and replace it with a simple \clearpage. Add these lines to the preamble:

\makeatletter
\renewcommand\chapter{\clearpage
                    \thispagestyle{plain}%
                    \global\@topnum\z@
                    \@afterindentfalse
                    \secdef\@chapter\@schapter}
\makeatother
share|improve this answer
    
Just what I was looking for. Works perfectly thank you. Where would I find documentation that would allow me to do this sort of thing myself (that in itself is not a tex tome 8) –  SpmP Apr 4 '11 at 2:06
2  
@Jasper: in this particular case, you need to be familiar with the .cls files (in your case, book.cls); it's always a good experience to take a look at them, to learn what each command is doing, and to experiment a little to change the default behaviour; of course, those changes and experiments must be done using copies of the original files and not changing the files themselves. A good LaTeX manual, of course, will always be of great help. –  Gonzalo Medina Apr 4 '11 at 2:33
4  
@Jasper Learning this sort of thing is done with a mixture of reading source code (often quite well documented by package authors within the package documentation) and trying things, in addition to reading real books. And hanging around here, where you can definitely learn a lot. –  Alan Munn Apr 4 '11 at 2:35
    
Thanks guys. I will be bolder in the future. I have done some hacking on class files. It always feels like stabbing in the dark tho 8) (usually works tho). Cheers. –  SpmP Apr 4 '11 at 6:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.