[Tugindia] chapter style change
Duvvuri Venu Gopal
venugopal_duvvuri at rediffmail.com
Sat Apr 24 11:32:13 CEST 2010
Dear
The following is a modification of tutorial.sty
Try it. Insert it in the preamble of your document and compile. You can make changes as per your taste :
\makeatletter
\def\@makechapterhead#1{%
\vspace*{20\p@}%50\p@
{\parindent \z@ \centering \normalfont
\ifnum \c at secnumdepth >\m at ne
{\color{red}\Huge\@chapapp\space \thechapter}\\[-6pt]
\rule{1.5cm}{1pt}
\par\nobreak
\vskip 1\p@
\fi
\interlinepenalty\@M
\rmfamily \LARGE\scshape\lowercase{\color{red}#1}\par\nobreak
\vskip 15\p@%35\p@
}}
\makeatother
On Sat, 24 Apr 2010 13:51:26 +0530 wrote
>Take a look at the document class memoir. They have many wonderful changes
to chapter style.
You can also take a look at source of "LaTeX Tutorials - a primer" by Indian
TEX Users Group:
http://sarovar.org/frs/download.php/121/ltxprimer-src-1.0.tar.gz
to get an idea...
Happy TeXing :-)
On 24 April 2010 13:22, vinay wrote:
> Hello everybody,
>
> I am creating a report in which I want the Chapter heading to be:
>
> 1. centered
> 2. closer to the top margin, and
> 3. smaller in font size.
>
> At present I use "report" class and I get bigger font size, left aligned
> and more away from the top margin than I want it to be.
>
> Is there any solution for this? Pl. help
>
>
> With regards,
> Vinay
> _______________________________________________
> Home: http://www.tug.org.in/
> TeX FAQ: http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>
--
�®��®®ே�®�் �®®ோ�®��®©்
_______________________________________________
Home: http://www.tug.org.in/
TeX FAQ: http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia
I use OpenOffice 3.0!
Do you!!
More information about the tugindia
mailing list