Search found 4 matches

by Sanjeevi_S
Sun Jul 22, 2012 10:42 pm
Forum: Text Formatting
Topic: Problems with ToC in custom Class
Replies: 5
Views: 2637

Problems with ToC in custom Class

This helped a bit more.

Code: Select all

\addtocontents{toc}{CHAPTER ~\hfill Page\par}
Now, I have the "CHAPTER Page" line exactly where I want in the first page, but don't know how to put it in the second page yet.
by Sanjeevi_S
Sun Jul 22, 2012 10:27 pm
Forum: Text Formatting
Topic: Problems with ToC in custom Class
Replies: 5
Views: 2637

Re: Problems with ToC in custom Class

Thanks for the reply. It works like you said, and helps partly. Removing the redefinition of the "CHAPTER page" line and changing it to \pagestyle{headings} makes the "CHAPTER page" line appear at the same level on the two pages. However, there are two problems:

1. The "Table of Contents" title now ...
by Sanjeevi_S
Sun Jul 22, 2012 7:14 pm
Forum: Text Formatting
Topic: Problems with ToC in custom Class
Replies: 5
Views: 2637

Problems with ToC in custom Class

The following is a minimal working example:

\documentclass{eethesis}
\usepackage[left=1.4in,right=1in,top=1.25in,bottom=1.25in]{geometry}
\usepackage{sectsty,titlesec}

\makeatletter
\def\@makechapterhead#1{%
%\vspace*{50\p@}%
{\parindent \z@ \centering \normalfont
\ifnum \c@secnumdepth >\m@ne ...
by Sanjeevi_S
Sun Jul 22, 2012 3:03 am
Forum: Text Formatting
Topic: Problems with ToC in custom Class
Replies: 5
Views: 2637

Problems with ToC in custom Class

Hi everyone,

I'm trying to write my dissertation using LaTeX. I downloaded a class file provided by my university. The \tableofcontents command was defined in the class file as follows:

\def\tableofcontents{
\newpage
\let \tempp \topskip
\topskip 1em
\tocspace
\chapter*{\vspace*{-2em}TABLE OF ...