[XeTeX] Problems with toc

Wilfred van Rooijen wvanrooijen at yahoo.com
Wed Jul 16 02:05:45 CEST 2014


Question is of course: what is "properly formatted"...



On Tuesday, July 15, 2014 2:32 AM, Sharon Kimble <boudiccas at skimble.plus.com> wrote:
 

>
>
>I'm using the new "tex14live", and am having great difficulties in
>generating a toc without spaces between each item. I'm using
>--8<---------------cut here---------------start------------->8---
>\documentclass[a4paper,12pt]{report}
>\usepackage{todonotes}
>% \usepackage[disable]{todonotes}
>\usepackage{fancybox} 
>\usepackage{everypage}
>\usepackage{draftwatermark}
>% \SetWatermarkColor{red}
>\usepackage[margin=1in,xetex]{geometry}
>\usepackage[toc]{multitoc}  %% gives a 2-column toc
>\usepackage[Glenn]{fncychap}   %% use Glenn or Lenny
>\usepackage{lipsum} % filler text
>\usepackage{etoolbox}
>\makeatletter
>\patchcmd{\@makechapterhead}{\vspace*{50\p@}}{\vspace*{-30\p@}}{}{}
>\patchcmd{\@makeschapterhead}{\vspace*{50\p@}}{\vspace*{-30\p@}}{}{}
>\patchcmd{\DOTI}{\vskip 80\p@}{\vskip 40\p@}{}{}
>\patchcmd{\DOTIS}{\vskip 40\p@}{\vskip 0\p@}{}{}
>\makeatother
>\usepackage{fancyhdr}
>\pagestyle{fancy}
>\setlength{\headheight}{14.5pt} 
>--8<---------------cut here---------------end--------------->8---
>
>and
>--8<---------------cut here---------------start------------->8---
>\begin{document}
>\maketitle
>\clearpage
>% \thispagestyle{plain}
>\tableofcontents
>\thispagestyle{fancy}
>
>\clearpage
>--8<---------------cut here---------------end--------------->8---
>
>How can I get a properly formatted toc and yet still use my current
>packages please?
>
>Screenshot is here showing what the toc is looking like. 
>
>
>-- 
>A taste of linux = http://www.sharons.org.uk
>my git repo = https://bitbucket.org/boudiccas/dots
>TGmeds = http://www.tgmeds.org.uk
>Debian testing, fluxbox 1.3.5, emacs 24.3.92.1
>
>
>--------------------------------------------------
>Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20140715/cc9aec8f/attachment.html>


More information about the XeTeX mailing list