I'm trying to get a different layout for each chapter title page in my thesis. Basically, I have a different background picture on each title page and I need to move the title of the chapter each time depending on the picture.
I have
Code: Select all
\def\@makechapterhead#1{%
\vspace*{50\p@}%
{\parindent \z@ \@chapteralignment \reset@font
\ifnum \c@secnumdepth >\m@ne
\huge\bfseries \color{red} \@chapapp{} \thechapter
\par
\vskip 20\p@
\fi
\Huge \bfseries #1\par
\nobreak
\vskip 40\p@
}}
I saw in an article that to change how the title look I could put something like this in the preamble
Code: Select all
\renewcommand{\@makechapterhead}[1]{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\hrule % horizontal line
\vspace{5pt}% % add vertical space
\ifnum \c@secnumdepth >\m@ne
\huge\scshape \@chapapp\space \thechapter % Chapter number
\par\nobreak
\vskip 20\p@
\fi
\interlinepenalty\@M
\Huge \scshape #1\par % chapter title
\vspace{5pt}% % add vertical space
\hrule % horizontal rule
\nobreak
\vskip 40\p@
}}
Code: Select all
! Undefined control sequence.
<argument> 50\p
@
l.7 \vspace*{50\p@}
%
Does anybody know how I could do this?
Thank you.