%% %% This is file `makerobust.sty', generated %% on <1992/10/8> with the docstrip utility (2.0r). %% %% The original source files were: %% %% makerobust.doc %% %% Do not distribute the stripped version of this file. %% The checksum in the header refers to the documented version. %% %%% ==================================================================== %%% @LaTeX-style-file{ %%% filename = "makerobust.sty", %%% version = "1.00", %%% date = "19 May 1991", %%% time = "14:27:35 BST", %%% author = "David Carlisle", %%% address = "Computer Science Department %%% Manchester University %%% Oxford Road %%% Manchester %%% England %%% M13 9PL", %%% telephone = "+44 61 275 6139", %%% FAX = "+44 61 275 6236", %%% checksum = "56601 107 444 3944", %%% email = "carlisle@cs.man.ac.uk (Internet)", %%% codetable = "ISO/ASCII", %%% keywords = "LaTeX, fragile, robust", %%% supported = "yes", %%% docstring = " %%% %%% makerobust.sty %%% %%% A LaTeX style option defining the \makerobust command. %%% \makerobust{\cs} makes the control sequence \cs robust. %%% %%% If you put \makerobust{\cite} in the preamble, you can write: %%% \caption{Taken from \cite{foo}} rather than %%% \caption{Taken from \protect\cite{foo}} %%% %%% The checksum field above was produced by %%% Robert Solovay's checksum utility.", %%% } %%% ==================================================================== \def\makerobust#1{% \@ifundefined{fragile\string#1}% {\expandafter\let\csname fragile\string#1\endcsname#1% \edef#1{\noexpand\protect \expandafter\noexpand\csname fragile\string#1\endcsname}}% {\@warning{\string#1 is already robust (command ignored)}}}% \endinput %% %% End of file `makerobust.sty'.