Thread View: comp.text.tex
1 messages
1 total messages
Started by Nosnos
Fri, 05 Dec 2003 22:42
fncychap, renewcommand, DOCH
Author: Nosnos
Date: Fri, 05 Dec 2003 22:42
Date: Fri, 05 Dec 2003 22:42
30 lines
2417 bytes
2417 bytes
hi,
I want to use fncychap and personnalized my chapter a little.
I want to put an image in the chapter header, instead of the string "Chapter N" ....
So i began by redefined \doch and put my \includegraphix{toto.eps} ....
But the probleme is that I don't want to put the images pathFiles directly in the renewcommand, but give a way to get it by parameter .... But I don't know how to communicate the pathFiles from the \chapter... to \doch ...
Here is my code :
\renewcommand{\DOCH}%
\settoheight{\myhi}{\CTV\FmTi{Test}}
\setlength{\py}{\baselineskip}
\addtolength{\py}{\RW}
\addtolength{\py}{\myhi}
\setlength{\pyy}{\py}
\addtolength{\pyy}{-1\RW}
\raggedright
\begin{tabular}[m]{c} \includegraphics{toto.eps} \\ \end{tabular} % <--- \includegraphics{toto.eps}
\hskip 3pt\mghrulefill{\RW}\rule[-1\pyy]{2\RW}{\py}\par\nobreak}
So it will include toto.eps everywhere in all the chapter for each \chapter{...} commands ... but I would like that each chapter could have his own images .... (so transmitted by parameter ...)
Have you an idea ?
thx
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads