minor fix for the use of macro \VER

This commit is contained in:
Henry Jin 2015-03-24 17:51:17 -07:00
parent bf641d0426
commit be603ae649
2 changed files with 5 additions and 6 deletions

View File

@ -1,9 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title page % Title page
\newcommand{\VER}{4.0.2}
\newcommand{\VERDATE}{March 2015}
\begin{titlepage} \begin{titlepage}
\begin{flushleft} \begin{flushleft}
\hspace{-6em} \includegraphics[width=0.4\textwidth]{openmp-logo.png} \hspace{-6em} \includegraphics[width=0.4\textwidth]{openmp-logo.png}
@ -20,14 +17,14 @@
\vspace{1.0in} \vspace{1.0in}
\textbf{Version \VER -- \VERDATE} \textbf{Version \VER{} -- \VERDATE}
\end{center} \end{center}
\end{adjustwidth} \end{adjustwidth}
\vspace{2.3in} %was 3.0 \vspace{2.3in} %was 3.0
Source codes for \emph{OpenMP} \emph{\VER} \emph{Examples} can be downloaded from Source codes for \emph{OpenMP} \emph{\VER} \emph{Examples} can be downloaded from
\href{https://github.com/OpenMP/Examples/tree/v\VER}{githup}.\\ \href{https://github.com/OpenMP/Examples/tree/v\VER}{github}.\\
\begin{adjustwidth}{0pt}{1em}\setlength{\parskip}{0.25\baselineskip}% \begin{adjustwidth}{0pt}{1em}\setlength{\parskip}{0.25\baselineskip}%
Copyright © 1997-2015 OpenMP Architecture Review Board.\\ Copyright © 1997-2015 OpenMP Architecture Review Board.\\

View File

@ -48,7 +48,9 @@
\documentclass[10pt,letterpaper,twoside,makeidx,hidelinks]{scrreprt} \documentclass[10pt,letterpaper,twoside,makeidx,hidelinks]{scrreprt}
% Text to appear in the footer on even-numbered pages: % Text to appear in the footer on even-numbered pages:
\newcommand{\footerText}{OpenMP Examples Version \VER - VERDATE} \newcommand{\VER}{4.0.2}
\newcommand{\VERDATE}{March 2015}
\newcommand{\footerText}{OpenMP Examples Version \VER{} - \VERDATE}
% Unified style sheet for OpenMP documents: % Unified style sheet for OpenMP documents:
\input{openmp.sty} \input{openmp.sty}