1 %%% Copyright Ulf A. Lindgren
3 %%% Note Premission is granted to modify this file under
4 %%% the condition that it is saved using another
5 %%% file and package name.
7 %%% Revision 1.1 (1997)
9 %%% Jan. 8th Modified package name base date option
10 %%% Jan. 22th Modified FmN and FmTi for error in book.cls
11 %%% \MakeUppercase{#}->{\MakeUppercase#}
12 %%% Apr. 6th Modified Lenny option to prevent undesired
14 %%% Nov. 8th Fixed \@chapapp for AMS
16 %%% Revision 1.2 (1998)
18 %%% Feb. 11th Fixed appendix problem related to Bjarne
19 %%% Aug. 11th Fixed problem related to 11pt and 12pt
20 %%% suggested by Tomas Lundberg. THANKS!
22 %%% Revision 1.3 (2004)
23 %%% Sep. 20th problem with frontmatter, mainmatter and
24 %%% backmatter, pointed out by Lapo Mori
26 %%% Revision 1.31 (2004)
27 %%% Sep. 21th problem with the Rejne definition streched text
28 %%% caused ugly gaps in the vrule aligned with the title
29 %%% text. Kindly pointed out to me by Hendri Adriaens
31 %%% Revision 1.32 (2005)
32 %%% Jun. 23th compatibility problem with the KOMA class 'scrbook.cls'
33 %%% a remedy is a redefinition of '\@schapter' in
34 %%% line with that used in KOMA. The problem was pointed
35 %%% out to me by Mikkel Holm Olsen
37 %%% Revision 1.33 (2005)
38 %%% Aug. 9th misspelled ``TWELV'' corrected, the error was pointed
39 %%% out to me by George Pearson
41 %%% Revision 1.34 (2007)
42 %%% Added an alternative to Lenny provided by Peter
43 %%% Osborne (2005-11-28)
44 %%% Corrected front, main and back matter, based on input
45 %%% from Bas van Gils (2006-04-24)
46 %%% Jul. 30th Added Bjornstrup option provided by Jean-Marc
47 %%% Francois (2007-01-05).
48 %%% Reverted to \MakeUppercase{#} see rev 1.1, solved
49 %%% problem with MakeUppercase and MakeLowercase pointed
50 %%% out by Marco Feuerstein (2007-06-06)
53 %%% Last modified Jul. 2007
55 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
56 \ProvidesPackage{fncychap}
58 LaTeX package (Revised chapters)]
60 %%%% For conditional inclusion of color
66 %%%% DEFINITION OF Chapapp variables
67 \newcommand{\CNV}{\huge\bfseries}
68 \newcommand{\ChNameVar}[1]{\renewcommand{\CNV}{#1}}
71 %%%% DEFINITION OF TheChapter variables
72 \newcommand{\CNoV}{\huge\bfseries}
73 \newcommand{\ChNumVar}[1]{\renewcommand{\CNoV}{#1}}
79 \def\ChNameLowerCase{\LCNtrue\UCNfalse}
80 \def\ChNameUpperCase{\UCNtrue\LCNfalse}
81 \def\ChNameAsIs{\UCNfalse\LCNfalse}
83 %%%%% Fix for AMSBook 971008
85 \@ifundefined{@chapapp}{\let\@chapapp\chaptername}{}
88 %%%%% Fix for Bjarne and appendix 980211
92 \renewcommand\appendix{\par
93 \setcounter{chapter}{0}%
94 \setcounter{section}{0}%
96 \renewcommand\@chapapp{\appendixname}%
97 \renewcommand\thechapter{\@Alph\c@chapter}}
99 %%%%% Fix for frontmatter, mainmatter, and backmatter 040920
101 \@ifundefined{@mainmatter}{\newif\if@mainmatter \@mainmattertrue}{}
107 \newcommand{\FmN}[1]{%
109 {\MakeUppercase{#1}}\LCNfalse
112 {\MakeLowercase{#1}}\UCNfalse
118 %%%% DEFINITION OF Title variables
119 \newcommand{\CTV}{\Huge\bfseries}
120 \newcommand{\ChTitleVar}[1]{\renewcommand{\CTV}{#1}}
122 %%%% DEFINITION OF the basic rule width
125 \newcommand{\ChRuleWidth}[1]{\setlength{\RW}{#1}}
131 \def\ChTitleLowerCase{\LCTtrue\UCTfalse}
132 \def\ChTitleUpperCase{\UCTtrue\LCTfalse}
133 \def\ChTitleAsIs{\UCTfalse\LCTfalse}
134 \newcommand{\FmTi}[1]{%
136 {\MakeUppercase{#1}}\LCTfalse
139 {\MakeLowercase{#1}}\UCTfalse
154 \def\mghrulefill#1{\leavevmode\leaders\hrule\@height #1\hfill\kern\z@}
157 \CNV\FmN{\@chapapp}\space \CNoV\thechapter
161 \newcommand{\DOTI}[1]{%
162 \CTV\FmTi{#1}\par\nobreak
165 \newcommand{\DOTIS}[1]{%
166 \CTV\FmTi{#1}\par\nobreak
172 \DeclareOption{Sonny}{%
173 \ChNameVar{\Large\sf}
175 \ChTitleVar{\Large\sf}
178 \renewcommand{\DOCH}{%
180 \CNV\FmN{\@chapapp}\space \CNoV\thechapter
183 \renewcommand{\DOTI}[1]{%
184 \CTV\raggedleft\mghrulefill{\RW}\par\nobreak
186 \CTV\FmTi{#1}\par\nobreak
187 \mghrulefill{\RW}\par\nobreak
189 \renewcommand{\DOTIS}[1]{%
190 \CTV\raggedleft\mghrulefill{\RW}\par\nobreak
192 \CTV\FmTi{#1}\par\nobreak
193 \mghrulefill{\RW}\par\nobreak
199 \DeclareOption{Lenny}{%
201 \ChNameVar{\fontsize{14}{16}\usefont{OT1}{phv}{m}{n}\selectfont}
202 \ChNumVar{\fontsize{60}{62}\usefont{OT1}{ptm}{m}{n}\selectfont}
203 \ChTitleVar{\Huge\bfseries\rm}
205 \renewcommand{\DOCH}{%
206 \settowidth{\px}{\CNV\FmN{\@chapapp}}
207 \addtolength{\px}{2pt}
208 \settoheight{\py}{\CNV\FmN{\@chapapp}}
209 \addtolength{\py}{1pt}
211 \settowidth{\mylen}{\CNV\FmN{\@chapapp}\space\CNoV\thechapter}
212 \addtolength{\mylen}{1pt}
213 \settowidth{\pxx}{\CNoV\thechapter}
214 \addtolength{\pxx}{-1pt}
216 \settoheight{\pyy}{\CNoV\thechapter}
217 \addtolength{\pyy}{-2pt}
218 \setlength{\myhi}{\pyy}
219 \addtolength{\myhi}{-1\py}
221 \parbox[b]{\textwidth}{%
222 \rule[\py]{\RW}{\myhi}%
224 \rule[\pyy]{\px}{\RW}%
227 \CNV\FmN{\@chapapp}\space\CNoV\thechapter%
230 \rule{\RW}{\pyy}\par\nobreak%
231 \vskip -\baselineskip%
234 \mghrulefill{\RW}\par\nobreak%
239 \renewcommand{\DOTI}[1]{%
241 \CTV\FmTi{#1}\par\nobreak
244 \renewcommand{\DOTIS}[1]{%
246 \CTV\FmTi{#1}\par\nobreak
250 %%%%%% Peter Osbornes' version of LENNY DEF
252 \DeclareOption{PetersLenny}{%
255 \newlength{\bl} % bottom left : orig \space
257 \newcommand{\BL}[1]{\setlength{\bl}{#1}}
258 \newlength{\br} % bottom right : orig 1pt
260 \newcommand{\BR}[1]{\setlength{\br}{#1}}
261 \newlength{\tl} % top left : orig 2pt
263 \newcommand{\TL}[1]{\setlength{\tl}{#1}}
264 \newlength{\trr} % top right :orig 1pt
265 \setlength{\trr}{1pt}
266 \newcommand{\TR}[1]{\setlength{\trr}{#1}}
267 \newlength{\blrule} % top right :orig 1pt
268 \setlength{\trr}{0pt}
269 \newcommand{\BLrule}[1]{\setlength{\blrule}{#1}}
272 \ChNameVar{\fontsize{14}{16}\usefont{OT1}{phv}{m}{n}\selectfont}
273 \ChNumVar{\fontsize{60}{62}\usefont{OT1}{ptm}{m}{n}\selectfont}
274 \ChTitleVar{\Huge\bfseries\rm}
276 \renewcommand{\DOCH}{%
279 %%%%%%% tweaks for 1--9 and A--Z
280 \ifcase\c@chapter\relax%
281 \or\BL{-3pt}\TL{-4pt}\BR{0pt}\TR{-6pt}%1
282 \or\BL{0pt}\TL{-4pt}\BR{2pt}\TR{-4pt}%2
283 \or\BL{0pt}\TL{-4pt}\BR{2pt}\TR{-4pt}%3
284 \or\BL{0pt}\TL{5pt}\BR{2pt}\TR{-4pt}%4
285 \or\BL{0pt}\TL{3pt}\BR{2pt}\TR{-4pt}%5
286 \or\BL{-1pt}\TL{0pt}\BR{2pt}\TR{-2pt}%6
287 \or\BL{0pt}\TL{-3pt}\BR{2pt}\TR{-2pt}%7
288 \or\BL{0pt}\TL{-3pt}\BR{2pt}\TR{-2pt}%8
289 \or\BL{0pt}\TL{-3pt}\BR{-4pt}\TR{-2pt}%9
290 \or\BL{-3pt}\TL{-3pt}\BR{2pt}\TR{-7pt}%10
291 \or\BL{-6pt}\TL{-6pt}\BR{0pt}\TR{-9pt}%11
292 \or\BL{-6pt}\TL{-6pt}\BR{2pt}\TR{-7pt}%12
293 \or\BL{-5pt}\TL{-5pt}\BR{0pt}\TR{-9pt}%13
294 \or\BL{-6pt}\TL{-6pt}\BR{0pt}\TR{-9pt}%14
295 \or\BL{-3pt}\TL{-3pt}\BR{3pt}\TR{-6pt}%15
296 \or\BL{-3pt}\TL{-3pt}\BR{3pt}\TR{-6pt}%16
297 \or\BL{-5pt}\TL{-3pt}\BR{-8pt}\TR{-6pt}%17
298 \or\BL{-5pt}\TL{-5pt}\BR{0pt}\TR{-9pt}%18
299 \or\BL{-3pt}\TL{-3pt}\BR{-6pt}\TR{-9pt}%19
300 \or\BL{0pt}\TL{0pt}\BR{0pt}\TR{-5pt}%20
303 \ifinapp\ifcase\c@chapter\relax%
304 \or\BL{0pt}\TL{14pt}\BR{5pt}\TR{-19pt}%A
305 \or\BL{0pt}\TL{-5pt}\BR{-3pt}\TR{-8pt}%B
306 \or\BL{-3pt}\TL{-2pt}\BR{1pt}\TR{-6pt}\BLrule{0pt}%C
307 \or\BL{0pt}\TL{-5pt}\BR{-3pt}\TR{-8pt}\BLrule{0pt}%D
308 \or\BL{0pt}\TL{-5pt}\BR{2pt}\TR{-3pt}%E
309 \or\BL{0pt}\TL{-5pt}\BR{-10pt}\TR{-1pt}%F
310 \or\BL{-3pt}\TL{0pt}\BR{0pt}\TR{-7pt}%G
311 \or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%H
312 \or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%I
313 \or\BL{2pt}\TL{0pt}\BR{-3pt}\TR{1pt}%J
314 \or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%K
315 \or\BL{0pt}\TL{-5pt}\BR{2pt}\TR{-19pt}%L
316 \or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%M
317 \or\BL{0pt}\TL{-5pt}\BR{-2pt}\TR{-1pt}%N
318 \or\BL{-3pt}\TL{-2pt}\BR{-3pt}\TR{-11pt}%O
319 \or\BL{0pt}\TL{-5pt}\BR{-9pt}\TR{-3pt}%P
320 \or\BL{-3pt}\TL{-2pt}\BR{-3pt}\TR{-11pt}%Q
321 \or\BL{0pt}\TL{-5pt}\BR{4pt}\TR{-8pt}%R
322 \or\BL{-2pt}\TL{-2pt}\BR{-2pt}\TR{-7pt}%S
323 \or\BL{-3pt}\TL{0pt}\BR{-5pt}\TR{4pt}\BLrule{8pt}%T
324 \or\BL{-7pt}\TL{-11pt}\BR{-5pt}\TR{-7pt}\BLrule{0pt}%U
325 \or\BL{-14pt}\TL{-5pt}\BR{-14pt}\TR{-1pt}\BLrule{14pt}%V
326 \or\BL{-10pt}\TL{-9pt}\BR{-13pt}\TR{-3pt}\BLrule{7pt}%W
327 \or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}\BLrule{0pt}%X
328 \or\BL{-6pt}\TL{-4pt}\BR{-7pt}\TR{1pt}\BLrule{7pt}%Y
329 \or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}\BLrule{0pt}%Z
332 \settowidth{\px}{\CNV\FmN{\@chapapp}}
333 \addtolength{\px}{\tl} %MOD change 2pt to \tl
334 \settoheight{\py}{\CNV\FmN{\@chapapp}}
335 \addtolength{\py}{1pt}
337 \settowidth{\mylen}{\CNV\FmN{\@chapapp}\space\CNoV\thechapter}
338 \addtolength{\mylen}{\trr}% MOD change 1pt to \tr
339 \settowidth{\pxx}{\CNoV\thechapter}
340 \addtolength{\pxx}{-1pt}
342 \settoheight{\pyy}{\CNoV\thechapter}
343 \addtolength{\pyy}{-2pt}
344 \setlength{\myhi}{\pyy}
345 \addtolength{\myhi}{-1\py}
347 \parbox[b]{\textwidth}{%
348 \rule[\py]{\RW}{\myhi}%
350 \rule[\pyy]{\px}{\RW}%
353 \CNV\FmN{\@chapapp}\rule{\blrule}{\RW}\hskip\bl\CNoV\thechapter%MOD
354 % \CNV\FmN{\@chapapp}\space\CNoV\thechapter %ORIGINAL
355 \hskip\br% %MOD 1pt to \br
357 \rule{\RW}{\pyy}\par\nobreak%
358 \vskip -\baselineskip%
361 \mghrulefill{\RW}\par\nobreak%
366 \renewcommand{\DOTI}[1]{%
368 \CTV\FmTi{#1}\par\nobreak
371 \renewcommand{\DOTIS}[1]{%
373 \CTV\FmTi{#1}\par\nobreak
381 %%%%%% BJORNSTRUP DEF
383 \DeclareOption{Bjornstrup}{%
385 % pzc (Zapf Chancelery) is nice. ppl (Palatino) is cool too.
386 \ChNumVar{\fontsize{76}{80}\usefont{OT1}{pzc}{m}{n}\selectfont}
387 \ChTitleVar{\raggedleft\Large\sffamily\bfseries}
389 \setlength{\myhi}{10pt} % Space between grey box border and text
390 \setlength{\mylen}{\textwidth}
391 \addtolength{\mylen}{-2\myhi}
392 \renewcommand{\DOCH}{%
393 \settowidth{\py}{\CNoV\thechapter}
394 \addtolength{\py}{-10pt} % Amount of space by which the
395 % % number is shifted right
397 \colorbox[gray]{.85}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}%
399 \hbox{\color[gray]{.5}\CNoV\thechapter}\\%
402 \renewcommand{\DOTI}[1]{%
403 \nointerlineskip\raggedright%
406 \colorbox[gray]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak%
410 \renewcommand{\DOTIS}[1]{%
412 \colorbox[gray]{.85}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\%
413 \nointerlineskip\raggedright%
415 \colorbox[gray]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak%
424 \DeclareOption{Glenn}{%
425 \ChNameVar{\bfseries\Large\sf}
427 \ChTitleVar{\bfseries\Large\rm}
431 \renewcommand{\DOCH}{%
432 \settoheight{\myhi}{\CTV\FmTi{Test}}
433 \setlength{\py}{\baselineskip}
434 \addtolength{\py}{\RW}
435 \addtolength{\py}{\myhi}
436 \setlength{\pyy}{\py}
437 \addtolength{\pyy}{-1\RW}
440 \CNV\FmN{\@chapapp}\space\CNoV\thechapter
441 \hskip 3pt\mghrulefill{\RW}\rule[-1\pyy]{2\RW}{\py}\par\nobreak}
443 \renewcommand{\DOTI}[1]{%
444 \addtolength{\pyy}{-4pt}
445 \settoheight{\myhi}{\CTV\FmTi{#1}}
446 \addtolength{\myhi}{\py}
447 \addtolength{\myhi}{-1\RW}
449 \rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 2pt
450 \raggedleft\CTV\FmTi{#1}\par\nobreak
453 \newlength{\backskip}
454 \renewcommand{\DOTIS}[1]{%
455 % \setlength{\py}{10pt}
456 % \setlength{\pyy}{\py}
457 % \addtolength{\pyy}{\RW}
458 % \setlength{\myhi}{\baselineskip}
459 % \addtolength{\myhi}{\pyy}
460 % \mghrulefill{\RW}\rule[-1\py]{2\RW}{\pyy}\par\nobreak
462 %\vskip -1\baselineskip
463 % \rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 2pt
464 % \raggedleft\CTV\FmTi{#1}\par\nobreak
466 %% Fix suggested by Tomas Lundberg
467 \setlength{\py}{25pt} % eller vad man vill
468 \setlength{\pyy}{\py}
469 \setlength{\backskip}{\py}
470 \addtolength{\backskip}{2pt}
471 \addtolength{\pyy}{\RW}
472 \setlength{\myhi}{\baselineskip}
473 \addtolength{\myhi}{\pyy}
474 \mghrulefill{\RW}\rule[-1\py]{2\RW}{\pyy}\par\nobreak
476 \rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 3pt %
477 \raggedleft\CTV\FmTi{#1}\par\nobreak
483 \DeclareOption{Conny}{%
486 \ChNameVar{\centering\Huge\rm\bfseries}
488 \ChTitleVar{\centering\Huge\rm}
491 \renewcommand{\DOCH}{%
492 \mghrulefill{3\RW}\par\nobreak
493 \vskip -0.5\baselineskip
494 \mghrulefill{\RW}\par\nobreak
495 \CNV\FmN{\@chapapp}\space \CNoV\thechapter
497 \vskip -0.5\baselineskip
499 \renewcommand{\DOTI}[1]{%
500 \mghrulefill{\RW}\par\nobreak
501 \CTV\FmTi{#1}\par\nobreak
504 \renewcommand{\DOTIS}[1]{%
505 \mghrulefill{\RW}\par\nobreak
506 \CTV\FmTi{#1}\par\nobreak
513 \DeclareOption{Rejne}{%
517 \ChNameVar{\centering\Large\rm}
519 \ChTitleVar{\centering\Huge\rm}
521 \renewcommand{\DOCH}{%
522 \settoheight{\py}{\CNoV\thechapter}
523 \parskip=0pt plus 1pt % Set parskip to default, just in case v1.31
524 \addtolength{\py}{-1pt}
525 \CNV\FmN{\@chapapp}\par\nobreak
527 \setlength{\myhi}{2\baselineskip}
528 \setlength{\px}{\myhi}
529 \addtolength{\px}{-1\RW}
530 \rule[-1\px]{\RW}{\myhi}\mghrulefill{\RW}\hskip
531 10pt\raisebox{-0.5\py}{\CNoV\thechapter}\hskip 10pt\mghrulefill{\RW}\rule[-1\px]{\RW}{\myhi}\par\nobreak
532 \vskip -3\p@% Added -2pt vskip to correct for streched text v1.31
534 \renewcommand{\DOTI}[1]{%
535 \setlength{\mylen}{\textwidth}
536 \parskip=0pt plus 1pt % Set parskip to default, just in case v1.31
537 \addtolength{\mylen}{-2\RW}
538 {\vrule width\RW}\parbox{\mylen}{\CTV\FmTi{#1}}{\vrule width\RW}\par\nobreak%
539 \vskip -3pt\rule{\RW}{2\baselineskip}\mghrulefill{\RW}\rule{\RW}{2\baselineskip}%
540 \vskip 60\p@% Added -2pt in vskip to correct for streched text v1.31
542 \renewcommand{\DOTIS}[1]{%
543 \setlength{\py}{\fboxrule}
544 \setlength{\fboxrule}{\RW}
545 \setlength{\mylen}{\textwidth}
546 \addtolength{\mylen}{-2\RW}
547 \fbox{\parbox{\mylen}{\vskip 2\baselineskip\CTV\FmTi{#1}\par\nobreak\vskip \baselineskip}}
548 \setlength{\fboxrule}{\py}
556 \DeclareOption{Bjarne}{%
559 \ChNameVar{\raggedleft\normalsize\rm}
560 \ChNumVar{\raggedleft \bfseries\Large}
561 \ChTitleVar{\raggedleft \Large\rm}
565 %% Note thechapter -> c@chapter fix appendix bug
566 %% Fixed misspelled 12
568 \newcounter{AlphaCnt}
569 \newcounter{AlphaDecCnt}
570 \newcommand{\AlphaNo}{%
571 \ifcase\number\theAlphaCnt
574 \or ONE\or TWO\or THREE\or FOUR\or FIVE
575 \or SIX\or SEVEN\or EIGHT\or NINE\or TEN
576 \or ELEVEN\or TWELVE\or THIRTEEN\or FOURTEEN\or FIFTEEN
577 \or SIXTEEN\or SEVENTEEN\or EIGHTEEN\or NINETEEN\fi
580 \newcommand{\AlphaDecNo}{%
581 \setcounter{AlphaDecCnt}{0}
582 \@whilenum\number\theAlphaCnt>0\do
583 {\addtocounter{AlphaCnt}{-10}
584 \addtocounter{AlphaDecCnt}{1}}
585 \ifnum\number\theAlphaCnt=0
587 \addtocounter{AlphaDecCnt}{-1}
588 \addtocounter{AlphaCnt}{10}
592 \ifcase\number\theAlphaDecCnt\or TEN\or TWENTY\or THIRTY\or
593 FORTY\or FIFTY\or SIXTY\or SEVENTY\or EIGHTY\or NINETY\fi
595 \newcommand{\TheAlphaChapter}{%
600 \setcounter{AlphaCnt}{\c@chapter}
608 \renewcommand{\DOCH}{%
609 \mghrulefill{\RW}\par\nobreak
610 \CNV\FmN{\@chapapp}\par\nobreak
611 \CNoV\TheAlphaChapter\par\nobreak
612 \vskip -1\baselineskip\vskip 5pt\mghrulefill{\RW}\par\nobreak
615 \renewcommand{\DOTI}[1]{%
616 \CTV\FmTi{#1}\par\nobreak
619 \renewcommand{\DOTIS}[1]{%
620 \CTV\FmTi{#1}\par\nobreak
626 \PackageWarning{fancychapter}{unknown style option}
629 \ProcessOptions* \relax
632 \RequirePackage{color}
634 \def\@makechapterhead#1{%
636 {\parindent \z@ \raggedright \normalfont
637 \ifnum \c@secnumdepth >\m@ne
638 \if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 040920
643 \if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 060424
651 %%% Begin: To avoid problem with scrbook.cls (fncychap version 1.32)
654 %\def\@schapter#1{\if@twocolumn
655 % \@topnewpage[\@makeschapterhead{#1}]%
657 % \@makeschapterhead{#1}%
664 \@makeschapterhead{#1}%
666 \@makeschapterhead{#1}%
670 %%% End: To avoid problem with scrbook.cls (fncychap version 1.32)
672 \def\@makeschapterhead#1{%
674 {\parindent \z@ \raggedright