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 a LyX beamer template which can be downloaded from this link.

I'm having trouble with a large TOC, which can't fit on one page. How can I reduce the font size of TOC, so that it can be fit on one page?

share|improve this question
    
Please provide a minimal working example. For starters, you might want to surround the table of contents with a \begin{scriptsize} or tiny environment. –  recluze Nov 20 '11 at 13:53
    
Does recluze's suggestion help? (Adding \begin{scriptsize} in an ERT before the TOC and \end{scriptsize} after.) –  Torbjørn T. Dec 3 '11 at 23:46

2 Answers 2

up vote 3 down vote accepted

This isn't a complete solution, as the numbers in the item bullets aren't reduced in size, but as suggested by recluze, putting the \tableofcontents in a scriptsize environment does reduce the font size of the text in the TOC. To do this:

  1. Put the text cursor immediately before the Table of Contents object in LyX.

  2. Add an ERT by Ctrl + L or Insert --> TeX code, and type

    \begin{scriptsize}
    

    in this.

  3. Do the same immediately after the TOC object, and type

    \end{scriptsize}
    

    In LyX you'll see something like this: enter image description here

Without the ERTs, the result is

enter image description here

while with the ERTs you get

enter image description here

There are other sizes available, the smallest being tiny, followed by scriptsize, footnotesize, small and then normalsize. The latter, as you may guess, is the standard size.

For reference, the larger sizes are large, Large, LARGE, huge and HUGE.

share|improve this answer

You could split table of contents with parameters, such;

\tableofcontents[sections={1-4}]

and

\tableofcontents[sections={5-}]

in different frames.

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.