[texhax] LaTeX Question.

Herbert Gintis hgintis at comcast.net
Mon Mar 8 16:08:58 CET 2004


Here is what I use, to replace the \tableofcontents command:

\newcommand\mytableofcontents{
  \chapter*{\vskip-34pt\hrule\vskip10\p@
  \Large\bfseries Contents}
  \@starttoc{toc}}

You can change this to suit your needs.

Best,

Herbert Gintis
At 03:25 PM 3/7/2004 -0800, Meika Stoddard wrote:

>Hello,
>
>I m sorry if I am writing to the wrong place regarding this question, but 
>I have not been able to find help anywhere!
>
>
>
>It seems simple enough.  I am using LaTeX to write my software engineering 
>documents for my senior project at school.  I love it, and it works 
>great.  However, my advisor is really anal, and he insists that the table 
>of contents has the title Table of Contents in the center at the top of 
>the page.  The table of contents file automatically generated by LaTeX 
>puts just Contents at the top on the left.
>
>
>
>I have the LaTeX companion and a Math into LaTex book, and I have been 
>looking everywhere on the web.  I can t find any information on how to 
>alter the table of contents header.  I have also looked at the .toc and 
>.aux file, but there is no place in those files that lists the header.
>
>
>
>If you can help, or know where I can find a solution, I would greatly 
>appreciate it!!!
>
>
>
>
>
>Thank You,
>
>Meika Stoddard
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org

Herbert Gintis
External Faculty, Santa Fe Institute
Adjunct Professor, Barnard College, Columbia 
University
Emeritus Professor, University of Massachusetts
15 Forbes Avenue, Northampton, MA 01060
413-586-7756  (Home Office) 206-984-9873 (Fax)
Recent papers are posted on my <http://www-unix.oit.umass.edu/~gintis>web site.
Get Game Theory Evolving (Princeton, 2000) at 
<http://www.amazon.com/exec/obidos/tg/detail/-/0691009430/qid=1057311870/sr=1-1/ref=sr_1_1/002-8882889-4632849?v=glance&s=books>Amazon.com
Look for Moral Sentiments and Material Interests,
    forthcoming from MIT Press (2004)
        There is no sorrow so great that does not find
       its background in joy.
                                                             Niels Bohr (1938)


                                  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20040308/68109fdb/attachment.htm


More information about the texhax mailing list