3

Possible Duplicate:
Change \textwidth and \textheight in mid-document

is there a way to adjust the vertical margins, i.e. left and right, on a single page / a certain region (the table of contents in my case) of a TeX document?

The reason why I'm asking is, that I've got a simple TeX-Article with two columns, therefor I set the margins left and right to somewhat around 2cm. However, I did not apply multicols on the table of contents (as I do not want that). Now the toc stretches over the full page width, which I find very ugly. Ideally it would have an individual width of 2/3 of the page, somewhat around 12cm.

scravy
  • 207
  • @lockstep The solution given there uses \newgeometry that forces a page break. – egreg Jan 06 '12 at 12:05
  • @egreg Thanks -- I normally start ToC's on a new page, so I didn't think abput \newgeometrys limitation. (And +1 for your answer.) – lockstep Jan 06 '12 at 12:07
  • @egreg Looking at the question title again, it reads "on a single page". ;-) – lockstep Jan 06 '12 at 12:09
  • @lockstep "on a single page / a certain region". Maybe scravy can make the question more precise. – egreg Jan 06 '12 at 12:21
  • @egreg: As the OP accepted your answer, the correct tag seems to be {indentation}, not {margins}. – lockstep Jan 06 '12 at 19:53

1 Answers1

6

A practical way might be

\begin{center}
\begin{minipage}{.667\textwidth}
\tableofcontents
\end{minipage}
\end{center}

The center environment however, introduces vertical space; you could also use

{\centering
 \begin{minipage}{.667\textwidth}
 \tableofcontents
 \end{minipage}\par}

Take your pick.

egreg
  • 1,121,712