[texhax] Changing TOC \part formatting with scrbook

martin f krafft madduck at madduck.net
Sun Aug 9 13:42:34 CEST 2009


Hi folks,

I am using the scrbook class for a thesis. I'd like to reformat the
way that \part{}s appear in the TOC, e.g.

instead of

  II   Research

I want

  _________________________________________________________________
  Research

I have played around with the tocloft package, but the closest
I could come was

  \renewcommand{\cftpartpresnum}{\protect\mbox{}\protect\hrulefill\par}
  \cftpagenumbersoff{part}

which produces

  _________________________________________________________________
  ___IIResearch

which is quite ugly. ;)

Any idea how I can achieve what I want?

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"even if you persuade me, you won't persuade me."
                                                       -- aristophanes
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://tug.org/pipermail/texhax/attachments/20090809/edc68e30/attachment.bin>


More information about the texhax mailing list