[OS X TeX] Problems customizing report.cls

Daryl Basil Biberdorf darylb at pobox.com
Fri Apr 15 12:51:12 EDT 2005


Herb,

I suspect the \baselineskip in force
when I do the \vspace is already enlarged for
the chapter title, so I end up with the chapter number
starting 2 inches (~4.75 cm or so) below
the page header. This is too big. I should have
something closer to 5/8" (1.5 - 2 cm).

How can I get to the baselineskip for the normal
font?

Thanks for the help from everyone so far!
Basil

>>\NeedsTeXFormat{LaTeX2e}
>>\ProvidesClass{dlb_report}
>>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
>>\ProcessOptions
>>\LoadClass{report}
>>\def\@makechapterhead#1{%
>> \vspace*{50 \p@}%
>> {\parindent \z@ \raggedright \normalfont
>>   \ifnum \c at secnumdepth >\m at ne
>>       % dlb SVS thesis center chapter headings
>>       \begin{center}\huge\bfseries \thechapter \par
>>       #1 \end{center}
>>       \par\nobreak
>>   \fi
>>   %\interlinepenalty\@M
>>   %\Huge \bfseries #1\par\nobreak
>>   \vskip 28\p@
>>   %\vskip 40\p@
>> }}
>>\endinput
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list