"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/html/undersection.hva" (16 Jan 2021, 2590 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 \@ifundefined{@base}{\typeout{'undersection.hva' must be loaded after base style}\endinput}{}
    2 \usepackage{color}
    3 %%Colors (gray)
    4 \definecolor{visited}{gray}{0.0}%
    5 \definecolor{link}{gray}{0.35}%
    6 \definecolor{hover}{gray}{0.7}%
    7 \definecolor{part}{gray}{0.0}%
    8 \ifthenelse{\equal{\@base}{article}}{%
    9 \definecolor{section}{gray}{0.2}%
   10 \definecolor{subsection}{gray}{0.4}%
   11 \definecolor{subsubsection}{gray}{0.6}
   12 \definecolor{paragraph}{gray}{0.7}}{%
   13 \definecolor{chapter}{gray}{0.2}%
   14 \definecolor{section}{gray}{0.4}%
   15 \definecolor{subsection}{gray}{0.6}%
   16 \definecolor{subsubsection}{gray}{0.7}%
   17 \definecolor{paragraph}{gray}{0.8}}%
   18 %% Section style
   19 \AtBeginDocument
   20 {\newstyle{body}{margin-left:2ex;margin-right:2ex;background-color:white}%
   21 \newstyle{a:link}{color:\@getstylecolor{link};text-decoration:underline;}
   22 \newstyle{a:visited}
   23   {color:\@getstylecolor{visited};text-decoration:underline;}
   24 \newstyle{a:hover}
   25   {color:black;text-decoration:none;background-color:\@getstylecolor{hover}}
   26 \newstyle{.title}{border-top:solid 4px;border-bottom:solid 4px;}%
   27 \newstyle{.titlemain}{}%
   28 \newstyle{.titlerest}{}%
   29 \newstyle{.part}{padding:1ex;border-bottom:solid 4px;}
   30 \newstyle{.section}{padding:0.5ex 0ex;border-bottom:solid 3px;}
   31 \newstyle{.subsection}{padding:0.5ex 0ex;border-bottom:solid 2px;}
   32 \newstyle{.subsubsection}{margin:0.5ex 0ex;padding:0.5ex 0ex;border-bottom:solid 1px;display:inline-block;}
   33 \newstyle{.paragraph}{margin:0.5 0ex;padding:0.5ex 0ex;border-bottom:solid 2px;display:inline-block;}
   34 \ifthenelse{\equal{\@base}{book}}
   35 {\newstyle{.chapter}{padding:0.5ex 0ex;border-bottom:solid 3px;}}
   36 {}%
   37 \newstyle{.fmarginpar}{border:solid thin black; width:20\%; text-align:left}%
   38 \newstyle{.ffootnoterule}{border:none;margin:1em auto 1em 0px;width:50\%;background-color:black;}
   39 \setenvclass{marginpar}{fmarginpar}
   40 \setenvclass{footnoterule}{ffootnoterule}}
   41 \newcounter{tocstyle}
   42 \renewenvironment{tocenv}
   43   {\setenvclass{itemize}{ftoc\thetocstyle}%
   44    \setenvclass{li-itemize}{\getenvclass{li-toc}}%
   45    \stepcounter{tocstyle}%
   46    \begin{itemize}}
   47   {\end{itemize}\addtocounter{tocstyle}{-1}}
   48 \newcommand{\newftocstyle}[3][0ex]
   49   {\newstyle{.ftoc#2}{list-style:none;margin:#1 1ex;padding:0ex 1ex;border-left:1ex solid \@getstylecolor{#3}}}
   50 \AtBeginDocument
   51 {\newftocstyle{1}{part}%
   52 \ifthenelse{\equal{\@base}{book}}
   53 {\newftocstyle{2}{chapter}\newftocstyle{3}{section}%
   54  \newftocstyle{4}{subsection}%
   55  \newftocstyle{5}{subsubsection}%
   56  \newftocstyle{6}{paragraph}}
   57 {\newftocstyle{2}{section}%
   58  \newftocstyle{3}{subsection}%
   59  \newftocstyle{4}{subsubsection}%
   60  \newftocstyle{5}{paragraph}}}