"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/examples/suite-macros.hva" (16 Jan 2021, 538 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 %%Class test
    2 \urldef{\heveaurl}{\url}{http://hevea.inria.fr/}
    3 \urldef{\heveasecret}{\url}{http://moscova.inria.fr/~maranget/hevea/}
    4 \newcommand{\@tst}{font-family:sans;font-style:oblique;color:maroon}
    5 \newstyle{.tst}{\@tst}
    6 \newcommand{\cls}{\@span{class="tst"}}
    7 \newcommand{\sty}{\@span{style="\@tst"}}
    8 %%Color test
    9 \newcommand{\color@name}{green}
   10 \newcommand{\@color}{color:\@getstylecolor{\color@name}}
   11 \newstyle{.highlight}{\@color}
   12 \newcommand{\clshigh}{\@span{class="highlight"}}
   13 \newcommand{\styhigh}{\@span{style="\@color"}}
   14 %%%%