← Prev in month ← Prev in thread
Next in thread → Next in month →

[PATCH] virtio: LaTeX: change the way the dotted lines are added in the TOC

From
Pawel Moll
Date
2013-11-19T15:55:00+00:00
ID
Thread
[PATCH] virtio: LaTeX: change the way the dotted lines are added in the TOC
Instead of using the tocloft package, which seems to collide with OASIS-style TOC headers, patch the report style. More hacky, less intrusive...  Signed-off-by: Pawel Moll <> ---  virtio-v1.0-csd01.tex
8 ++++----  1 file changed, 4 insertions(+), 4 deletions(-)  diff --git a/virtio-v1.0-csd01.tex b/virtio-v1.0-csd01.tex index b5f8ac4..fe1c76f 100644 --- a/virtio-v1.0-csd01.tex +++ b/virtio-v1.0-csd01.tex @@ -33,9 +33,6 @@  usepackage{xifthen}  usepackage[no-math]{fontspec}  usepackage{xltxtra} -usepackage{tocloft} -
enewcommand{cftdot}{
ormalfont.} -
enewcommand{cftchapdotsep}{4.5}  usepackage{etoolbox}  setmainfont[Mapping=tex-text]{Arial}  setromanfont{Arial} @@ -73,10 +70,13 @@  	itleformat{paragraph}[hang]{color{oasis1}
ormalfont
ormalsizefseries}{color{oasis1}	heparagraph}{1em}{#1}  	itleformat{subparagraph}[hang]{color{oasis1}
ormalfont
ormalsizefseries}{color{oasis1}	hesubparagraph}{1em}{#1}
-% hyperref toc hack - do not include the chapter/section number in the link +% toc hacks  makeatletter +% hyperref package: do not include the chapter/section number in the link  defprocess@contentsline#1#2{#1{#2}hyper@linkstart{link}{Hy@tocdestname}}  patchcmd{contentsline}{hyper@linkstart{link}{Hy@tocdestname}{#2}}{process@contentsline#2}{}{} +% report style: add dotted lines between chapter names and page numbers +patchcmd{l@chapter}{hfil}{leadershbox{
ormalfont$m@thmkern @dotsep muhbox{.}mkern @dotsep mu$}hfill}{}{}  makeatother
% main document --  1.8.3.2
← Prev in month ← Prev in thread
Next in thread → Next in month →