Next: 10 Sample initialization file
Up: 9 Templates
Previous: 9.4 Table Template
9.5 Sample Document Preamble
The following is an example of a LATEX document preamble for use with
LATEX2HTML. It is based on this Guide's preamble.
% N.B. one {latexonly} environment commented out so that its
% contents can be displayed in the HTML version of this template.
% Uncomment it for actual use!
%
% Use text editor to replace:
%
% author --- author's login name
% thisdoc --- document filename (as in thisdoc.tex, thisdoc.ps)
% psiz --- size of compressed PostScript file
%
% Document_Date --- current date
% Document_Short_Title --- header text for Postscript
% Document_Long_Title --- full document title
% Author_Name --- full author name
% Author_City --- Charlottesville, Socorro, etc.
% Author_State --- Virginia, New Mexico, etc.
%
% (non-NRAO: also replace institute name/acronym and country?)
%
\documentclass{article}
\usepackage{html,makeidx,epsf}
%
% Add home page navigation button -- edit the URL!
%
\htmladdtonavigation{\htmladdnormallink
{\htmladdimg{../home.gif}}{http://www.cv.nrao.edu/\~{}author/}}
%
% define hyperlink URLs:
%
\def\authorhomepage{http://www.cv.nrao.edu/\~{}author/}
\def\cvhomelink{http://www.cv.nrao.edu/cv-home.html}
\def\thisdocURL{http://www.cv.nrao.edu/\~{}author/thisdoc/thisdoc.html}
\def\vlahomelink{http://www.nrao.edu/doc/vla/html/VLAhome.shtml}
\makeindex
\begin{document}
%
% Page formatting for Postscript output
%
\title{
{\bf Document_Long_Title}
}
\author
{
Author_Name\\
National Radio Astronomy Observatory\\
Author_City, Author_State, U.S.A.
}
\date
{
{Text last updated: Document_Date}\\
}
\begin{center}
\htmladdnormallink{PDF Version}{\thisdocPDF}
\end{center}
% uncomment to run: \begin{latexonly}
\markright{Document_Short_Title}
\maketitle
% uncomment to run: \end{latexonly}
\tableofcontents
\pagebreak
%
% optional post-title formatting for PostScript
%
\parindent0pt
\parskip2.5ex plus 0.5ex minus 0.5ex
Next: 10 Sample initialization file
Up: 9 Templates
Previous: 9.4 Table Template
Home |
Contact Us |
Directories |
Site Map |
Help |
Search
|