File: article.hva

package info (click to toggle)
hevea 2.36-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,780 kB
  • sloc: ml: 19,453; sh: 503; makefile: 311; ansic: 132
file content (28 lines) | stat: -rw-r--r-- 976 bytes parent folder | download | duplicates (6)
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
\ifstyleloaded\relax
\else
\input{articlecommon.hva}
\newcommand{\@art@attr}[1]{\@secid\envclass@attr{#1}}
\@makesection
  {\part}{-1}{part}
  {\@opencell{class="center"}{}{}\@open{h1}{\@art@attr{part}}}
  {\partname~\thepart}{\\}
  {\@close{h1}\@closecell}
\newstyle{.part}{margin:2ex auto;text-align:center}
\@makesection
  {\section}{0}{section}
  {\@open{h2}{\@art@attr{section}}}{\thesection}{\quad}{\@close{h2}}%
\@makesection
  {\subsection}{1}{subsection}
  {\@open{h3}{\@art@attr{subsection}}}{\thesubsection}{\quad}{\@close{h3}}%
\@makesection
  {\subsubsection}{2}{subsubsection}
  {\@open{h4}{\@art@attr{subsubsection}}}{\thesubsubsection}{\quad}{\@close{h4}}%
\@makesection
  {\paragraph}{3}{paragraph}
  {\@open{h4}{\@art@attr{paragraph}}}{\theparagraph}{\quad}{\@close{h4}}%
\@makesection
  {\subparagraph}{4}{subparagraph}
  {\@open{h5}{\@art@attr{subparagraph}}}{\thesubparagraph}{\quad}{\@close{h5}}%
\newcommand{\hacha@style}{article}%
\styleloadedtrue
\fi