[OS X TeX] Problems customizing report.cls

Daryl Basil Biberdorf darylb at pobox.com
Sat Apr 16 13:51:47 CEST 2005


Aaron,

Sorry that I must chuckle about "after a few hours and
several test documents". Kyrie eleison!

However, I express my appreciation at your sample usage of
the titlesec package. Using it, I got chapter headings that I
think will satisfy the thesis clerk. The only thing I notice
is that I'm unable to shrink the distance between the first
line of the chapter heading (the number in my case) and the
top margin to smaller than 1 inch (2.5 cm). It bothers me that
I can't seem to do anything about it, but it will not cause problems
with the thesis clerk, I think.

Thanks again for the help.

Basil

On Apr 15, 2005, at 6:22 PM, Aaron Jackson wrote:
>
> Yes, it is confusing, but I managed to figure it out after a few hours  
> and several test documents.  It makes things much more portable, so I  
> bit the bullet.  To get what I wanted, I just had to use the  
> following:
>
> \usepackage[compact,indentfirst]{titlesec}% needed to change section  
> characteristics
> %%
> %% change default chapter and section heading characteristics
> %%
> %% Syntax:
> %%               
> \titleformat{ command }[ shape ]{ format }{ label }{ sep }{ before }[ a 
> fter ]
> %%
> %%
> \titlespacing{\chapter}{0pt}{0pt}{30pt}[0pt]
> \titleformat{\chapter}[hang]{\normalfont\normalsize\bfseries\centering} 
> %
> {\chaptertitlename\ \thechapter.\quad}{0pt}{}[]
> \titleformat{\section}[hang]{\normalfont\normalsize\bfseries}{\thesecti 
> on.\quad}{0pt}{}[]
> \titleformat{\subsection}[hang]{\normalfont\normalsize\bfseries}{\thesu 
> bsection.\quad}{0pt}{}[]
> \titleformat{\subsubsection}[hang]{\normalfont\normalsize\bfseries}{\th 
> esubsubsection.\quad}{0pt}{}[]
>
> Aaron
> --------------------- 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>
>
>
>

--------------------- 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 macostex-archives mailing list