1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
\ifstyleloaded\relax
\else
\input{bookcommon.hva}
\newcommand{\@book@attr}[1]{\@secid\envclass@attr{#1}}
\@makesection
{\part}{-2}{part}
{\@opencell{class="center"}{}{}\@open{h1}{\@book@attr{part}}}%
{\partname~\thepart}{\\}%
{\@close{h1}\@closecell}
\newstyle{.part}{margin:2ex auto;text-align:center}
\@makesection
{\chapter}{-1}{chapter}
{\@open{h1}{\@book@attr{chapter}}}%
{\ife\chaptername{}\else\chaptername~\fi\thechapter}{\quad}{\@close{h1}}
\@makesection
{\section}{0}{section}
{\@open{h2}{\@book@attr{section}}}{\thesection}{\quad}{\@close{h2}}%
\@makesection
{\subsection}{1}{subsection}
{\@open{h3}{\@book@attr{subsection}}}{\thesubsection}{\quad}{\@close{h3}}%
\@makesection
{\subsubsection}{2}{subsubsection}
{\@open{h4}{\@book@attr{subsubsection}}}{\thesubsubsection}{\quad}{\@close{h4}}%
\@makesection
{\paragraph}{3}{paragraph}
{\@open{h5}{\@book@attr{paragraph}}}{\theparagraph}{\quad}{\@close{h5}}%
\@makesection
{\subparagraph}{4}{subparagraph}
{\@open{h6}{\@book@attr{subparagraph}}}{\thesubparagraph}{\quad}{\@close{h6}}%
\newcommand{\hacha@style}{book}%
\styleloadedtrue
\fi
|