r536: no message
[ctsim.git] / doc / ctsim.tex
index 75672f78a3e83245d2bb3e5eb4b85de0da692567..2eda7d79eb78814b6478f1a209cab3449f79d994 100644 (file)
@@ -2,7 +2,7 @@
 \usepackage{graphicx}
 \usepackage{texhelp}
 \usepackage{fancyhea}
-%\usepackage{mysober}
+\usepackage{mysober}
 \usepackage{mytitle}
 \usepackage{verbatim}
 \usepackage{makeidx}
@@ -28,6 +28,9 @@
 \newcommand{\mandate}[0]{February 12, 2001}
 \newcommand{\ctsimfooter}{\setfooter{\thepage}{}{}{\small Manual \manver}{\small \mandate}{\thepage}}
 \newcommand{\doublehyphen}[1]{-\,-\texttt{#1}}
+\newcommand{\ctsimvernum}[0]{3.0.0beta1}
+\newcommand{\ctsimver}[0]{CTSim \ctsimvernum}
+\newcommand{\ctsimheadtitle}{\ctsimver Manual}
 
 \latexignore{\newcommand{\sqrt}[2]{sqrt(#2)}}
 
 \pagestyle{fancyplain}%
 \pagenumbering{roman}%
 
-\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}%
+\setheader{{\it CONTENTS}}{}{}{\ctsimheadtitle}{}{{\it CONTENTS}}%
 \ctsimfooter
 \parskip=2pt
 \tableofcontents%
 
 \parskip=10pt
 \chapter*{Copyright notice}%
-\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
+\setheader{{\it COPYRIGHT}}{}{}{\ctsimheadtitle}{}{{\it COPYRIGHT}}%
 \setfooter{\thepage}{}{}{}{\manver}{\thepage}%
 
 Copyright (c) 1983-2001 Kevin Rosenberg, M.D.
@@ -74,7 +77,7 @@ PERFORMANCE OF THIS SOFTWARE.
 
 \chapter{Introduction}\label{introduction}
 \pagenumbering{arabic}
-\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
+\setheader{{\it CHAPTER \thechapter}}{}{}{\ctsimheadtitle}{}{{\it CHAPTER \thechapter}}%
 \ctsimfooter
 
 
@@ -114,12 +117,12 @@ I hope that you enjoy \ctsim!
 \bibliographystyle{plain}
 \bibliography{ctsim}
 \addcontentsline{toc}{chapter}{Bibliography}
-\setheader{{\it REFERENCES}}{}{}{}{}{{\it REFERENCES}}%
-\ctsimfooter%
+\setheader{{\it REFERENCES}}{}{}{\ctsimheadtitle}{}{{\it REFERENCES}}
+\ctsimfooter
 
 \addcontentsline{toc}{chapter}{Index}
-\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}} %
-\ctsimfooter %
-\printindex %
+\setheader{{\it INDEX}}{}{}{\ctsimheadtitle}{}{{\it INDEX}} %
+\ctsimfooter
+\printindex
 
 \end{document}