Hi,
anyone that has an idea how to get rid of the box in Table of Contents / List of Figures? I need it only for the chapters but not before. I use PDFLatex for compilation. Thanks
Page Layout ⇒ Fancy headers - get rid of box in ToC / list of figures
Fancy headers - get rid of box in ToC / list of figures
- Attachments
-
- latex_getRidOfThis.png (8.43 KiB) Viewed 3754 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
Fancy headers - get rid of box in ToC / list of figures
Try using another page style (redefined fancy style or maybe simply using plain style) for that part of document. Try putting \pagestyle{plain} before \tableofcontents, and put \pagestyle{fancy} after it, if TOC is at the beginning of the document. If it is on the end, then just put \pagestyle{plain} before it. As I said, you may use redefind fancy style instead of plain if you like.
Re: Fancy headers - get rid of box in ToC / list of figures
\pagestyle{empty} and \pagestyle{plain} didn't work.
I tried also the mods as proposed in http://www.kronto.org/thesis/thesis/
but without success.
any more ideas?
I tried also the mods as proposed in http://www.kronto.org/thesis/thesis/
but without success.
any more ideas?
Fancy headers - get rid of box in ToC / list of figures
It's impossible to know how to remove this without knowing what's creating it to begin with. Please provide a minimal working example showing the problem.
Re: Fancy headers - get rid of box in ToC / list of figures
you are right. I included a link on the previous message but not clearly. Here is a minimal version.
thanks for any help
thanks for any help
- Attachments
-
- fncychapleo.sty
- style
- (11.1 KiB) Downloaded 238 times
-
- latex_test.tex
- minimal working example
- (2.29 KiB) Downloaded 224 times
Fancy headers - get rid of box in ToC / list of figures
A fragment of code from fncychapleo.sty (with the addition of \ChRuleWidth{0.5pt} which is also present in it, but not inside this fragment):
So, basically, redefining \ChRuleWidth{0.5pt} and setting it to 0pt instead of 0.5pt should do the trick. Place above code in your Preamble and test the change to see if this is what you want.
Code: Select all
\makeatletter
\renewcommand{\DOTIS}[1]{%
% JD - We add a box to \chapter* a well
\ChRuleWidth{0.5pt}
\settoheight{\pyy}{\CNoV\thechapter}
\addtolength{\pyy}{-2pt}
\parbox[b]{\textwidth}{%
\rule[\py]{\RW}{\pyy}% % Vertical line at left
\hskip -\RW% % and back
\rule[\pyy]{\textwidth}{\RW}% % Horizontal line at top
\hskip -\textwidth% % and back
\mghrulefill{\RW}% % Horizontal line at bottom
\rule{\RW}{\pyy}\par\nobreak}% % Vertical line at right
\vskip 20\p@
% JD - Original code:
\raggedright
\CTV\FmTi{#1}\par\nobreak
\vskip -10\p@}
\makeatother
Re: Fancy headers - get rid of box in ToC / list of figures
yes it did.
Thanks for your help.
Thanks for your help.