spec: update version/title

Created a command to output the version number.
Changed the title on each page to "OpenFlow Switch Specification" and
"Version \ofversion"
This commit is contained in:
Glen Gibb committed 2009-12-14 16:10:10 -08:00
1 parent abe6db25f7
commit ba8ca45217
1 file changed
+7 -2
+7 -2
View File
@@ -13,9 +13,14 @@
%\lstset{language=C}
% Define the OpenFlow version here
\newcommand{\ofversion}{1.0.0}
\pagestyle{fancy}
\fancyhead{}
\chead{DO NOT BUILD A SWITCH FROM THIS SPECIFICATION!}
\lhead{OpenFlow Switch Specification}
%\chead{DO NOT BUILD A SWITCH FROM THIS SPECIFICATION!}
\rhead{Version \ofversion}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
@@ -25,7 +30,7 @@
\newcommand{\qosupd}[1]{{\color{blue} #1}}
\title{OpenFlow Switch Specification}
\author{Version 1.0.0 ( Wire Protocol \input{define/OFP_VERSION})}
\author{Version \ofversion{} ( Wire Protocol \input{define/OFP_VERSION})}
\date{\today}
\maketitle