latex \renewcommand trouble
Hi,
I am tring to redefine the subsection in latex using the
renewcommand. I use the following code:
\renewcommand{\subsection}{\@startsection
{subsection}%
{2}%
{0mm}%
{0.5\baselineskip}%
{0.5\baselineskip}%
{\normalfont\normalsize\itshape}}%
But when I use it with something like \subsection{hello}
I got the following error:
Document Class: article 1999/01/07 v1.4a Standard LaTeX document
class
(/usr/share/texmf/tex/latex/base/size12.clo)) (hello.aux)
! You can't use `\spacefactor' in vertical mode.
\@->\spacefactor
\@m
l.29 \subsection
{hello}
?
Please help me with this.
Thanks in advance.
Shao.
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au |___/
_____________________________________________________________________________
Reply to: