I have looking for TeXT Placement movememnt in the class file. Requirement is store the value and print in another places.
My LaTeX code is:
\documentclass{threecolumn}
\usepackage{ifthen}
\begin{document}
\jnl{5}
\end{document}
and my class file is
\def\jnl#1{\protected@edef\@jnl{#1}}
\def\@jnl#1{%
\ifthenelse{\equal{#1}{1}}{Sample 1}{}%
\ifthenelse{\equal{#1}{2}}{Sample 2}{}%
\ifthenelse{\equal{#1}{3}}{Sample 3}{}
\ifthenelse{\equal{#1}{4}}{Sample 4}{}
\ifthenelse{\equal{#1}{5}}{Sample 5}{}
}
If \jnl{2} is found need to change the \jnl{Sample 2} and like to place in after \maketitle. How do achieve this in class file?
etoolboxare to be preferred over those fromifthen, see http://tex.stackexchange.com/q/13866/15925 – Andrew Swann Aug 03 '13 at 14:55