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 writing a thesis, and I need to change the upper margin for the second page for the table of contents only. The university demands 2in upper margin for first page of ToC, followed by 1.25in upper margin for next page. I need help.

MWE is here:

\documentclass[12pt,letter]{report}
\usepackage{univ}
\usepackage{u-local}
\usepackage{local}

\usepackage{cite}
\usepackage{appendix}
\usepackage{float}
\floatstyle{boxed}
\usepackage{srcltx}

\begin{document}
 \pagenumbering{gobble}

% \setlength{\headheight}{-0.01 in}
\begin{spacing}{1.45}
 \tableofcontents
\end{spacing}
\clearpage

\pagestyle{fancy}
 \lhead{}
 \chead{}
 \rhead{\thepage}
 \lfoot{}
 \cfoot{}
 \rfoot{}
 \renewcommand{\headrulewidth}{0.00in}
 \renewcommand{\footrulewidth}{0.00in}

\titleformat{\chapter}[display]{\normalfont\normalsize\filcenter\bfseries}{\centering\chaptertitlename\ \thechapter}{0pt}{\normalsize\uppercase}

\input{chapters}
\clearpage
\appendixtitleon
\appendixtitletocon
\begin{appendix}
    \input{appendices}
\end{appendix}

\begin{bibliography}
\bibliographystyle{IEEEtran}
\bibliography{bib}
\end{utdbibliography}

\pagestyle{empty}
    \begin{vita}
        \input{vita}
    \end{vita}
\end{document}

In this, chapters, appendices, bibliography and vita are different files and the text is in those files. Also, univ, local and u-local are different .sty files for setting space and formats for different pages. For ToC page, the setting is as follows:

\usepackage[titles]{tocloft}

\setcounter{tocdepth}{3}

\renewcommand{\contentsname}{TABLE OF CONTENTS}
\renewcommand{\cftchapfont}{\normalsize}
\renewcommand{\cftchappagefont}{\normalsize}
\renewcommand{\cftchapdotsep}{\@dotsep}
\renewcommand{\cftchapleader}{\normalsize\cftdotfill{\cftchapdotsep}}
share|improve this question

closed as too localized by Joseph Wright Dec 2 '12 at 11:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Document elements like the ToC are heavily depending on the class and/or packages you're using. As such, please include a minimal working example (MWE) that clearly shows some document construction and a 2-page ToC. –  Werner Oct 24 '12 at 0:45
    
Presumably the geometry package might be able to help out here, in particular, \newgeometry for the second page. Of course, as Werner says, a MWE would go a long way :) Welcome to TeX.SE! –  cmhughes Oct 24 '12 at 1:25
    
Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. –  doncherry Oct 24 '12 at 2:01
    
Also, what about the other pages of your thesis? What dimensions should they have? –  Werner Oct 24 '12 at 4:33
    
@Werner MWE is here: \usepackage{fancyhdr} \usepackage{setspace} \doublespacing \usepackage[compact,tiny]{titlesec} \setcounter{secnumdepth}{3} \gdef \ttl@space {0} % Table of Contents styling using tocloft. \usepackage[titles]{tocloft} \setcounter{tocdepth}{3} \renewcommand{\contentsname}{TABLE OF CONTENTS} \renewcommand{\cftchapfont}{\normalsize} \renewcommand{\cftchappagefont}{\normalsize} \renewcommand{\cftchapdotsep}{\@dotsep} \renewcommand{\cftchapleader}{\normalsize\cftdotfill{\cftchapdotsep}} sorry for bad presentation. how can i improve it? i am new to this. –  Arun Desiraju Oct 24 '12 at 5:25

1 Answer 1

I assume that the margin for the other pages (different from the first one) is already set and that the problem is with the first page of the ToC; since you are using the tocloft package, you can simply set the appropriate value for \cftbeforetoctitleskip using something like:

\setlength\cftbeforetoctitleskip{-1cm}

of course, instead of -1cm you should use the length that produces the desired value.

share|improve this answer

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