[texhax] User Defined Values

Philip TAYLOR [PC87S-O/XP] P.Taylor at Rhul.Ac.Uk
Fri Feb 20 15:52:22 CET 2004


Huberts MCN wrote:

[snip] 

> What I want is something like:
> 
> \University = Whatever U.;
> \Name = Whomever;
> \Title = Title of the work;
> 
> where University, Name, and Title all represent some unser supplied value.
> 
> Then, using these definitions (\University, \Name, \Title), I want to call
> upon them at a later time. An example might be:
> 
> \begin{center}
> \Title\\
> \Name\\
> \University\\
> \end{center}

-->

\newtoks \University
\newtoks \Name
\newtoks \Title

\University = {Whatever U.}
\Name = {Whomever}
\Title = {Title of the work}

\begin{center}
\The \Title\\
\The \Name\\
\The \University\\
\end{center}


Philip Taylor, RHBNC


More information about the texhax mailing list