Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the minitoc package to add chapter TOC's in a thesis. The entire document (including the main table of contents) is doublespaced, but I want the chapter toc's to be single spaced. I specify the minitoc options in the document preamble as:

\usepackage[tight,k-tight]{minitoc}

The resulting chapter toc's are still double-spaced, though.

How does one override the properties of the main table of contents to produce a single-spaced minitoc?

share|improve this question

3 Answers 3

Assuming you're using the setspace package and its command \doublespacing to switch to, well, double-spacing, you can always enclose some part that needs to be singlespaced in a singlespace environment. Alternatively, you could issue the command \singlespacing before the start of the minitoc and then issue a \doublespacing command when it's done, as in

...
\singlespacing
\dominitoc
\doublespacing % or \onehalfspacing, or whatever
...
share|improve this answer
    
OK, that is the same solution as the one in the link given in my answer, but you were faster. –  Stephen Sep 22 '11 at 18:51
    
@Stephen: Manipulating \baselinestretch is fraught with occasional pitfalls. It's much safer in general to use the setspace package and then \singlespacing or, equivalently, \setstretch{1.0}. (The latter command may look more numerically precise and hence more scientific than the former... –  Mico Sep 22 '11 at 18:55
    
For some reason this doesn't change the minitoc to singlespace in my file. There are two solutions that brought it down to 1.5 spacing, neither of which make any sense. These include: \begin{spacing}{0.0} \minitoc \end{spacing} and \renewcommand{\baselinestretch}{0.0} \minitoc \renewcommand{\baselinestretch}{1.0} Perhaps there is something in my thesis style that is overwriting the local line spacing changes? –  Deaton Sep 22 '11 at 20:52
    
Hi. If you've loaded the setspace package, you should be using the commands \begin{singlespacing} \minitoc \end{singlespacing} to start and end the single-spaced portions -- note the single part in the environment name. I'm afraid I'm unfamiliar with the spacing environment, so I can't help you there. –  Mico Sep 22 '11 at 21:11
    
Thanks for the help, btw. According to this, \begin{spacing}{1.0} \minitoc \end{spacing} is equivalent to \setstretch{1.0} (both belong to the setspace package. In my case, if I issue even \setstretch{0.0}, the minitoc spacing only reduces to oneandhalf spacing. –  Deaton Sep 22 '11 at 21:26

for chapter tocs use

\begingroup
\parskip=1pt
\chapter{...}
\minitoc
\endgroup

You can also give package chaptertoc a try, it is easier to use, from my point of view

share|improve this answer
1  
I've never heard about this chaptertoc package and sounds interesting (minitoc is powerful but an alternative could be useful); however, I haven't been able to locate it in CTAN. Where can I find the package? –  Gonzalo Medina Sep 23 '11 at 17:50

This post might be a solution here, too. Otherwise

\renewcommand{\baselinestretch}{1}
% The Minitoc here
\renewcommand{\baselinestretch}{2}

might help.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.