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
|
\documentclass[11pt]{article}
\usepackage{hevea}
\usepackage{url}
\newstyle{.section}{font-size:x-large; color:red; font-variant:small-caps}
\newstyle{.subsection}{font-size:large; color:blue; background-color:pink}
\title{Example of customizing \hevea{} through style sheets}
\author{Ralf Treinen\\\url{mailto:treinen@debian.org}}
\begin{document}
\maketitle
Starting with version 1.08, \hevea{} supports customization through
style sheets. The customization is achieved through \verb|\newstyle|
commands in the preamble of the docoment.
\section{This is a Section Heading in a customized style}
We have customized section headings to be set in red and small caps,
using font size \texttt{x-large}.
\subsection{This is a Subsection Heading in a customized style}
We have customized subsection headings to be set in font size
\texttt{large}, in blue on pink background.
See the documentation, available through the \verb|hevea-doc| package
from the \emph{non-free} section, or at
\ahrefurl{http://pauillac.inria.fr/hevea/doc/index.html}, for details.
\end{document}
|