[texhax] referencing figures, prepend word "Fig"

Philip TAYLOR Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org
Wed Apr 9 09:28:53 CEST 2008

Better, perhaps,

\def\p at figure{Fig.~}
\def\p at table{Table~}

since "g" is not the final letter of "Figure".
Donald Arseneau wrote:

> You got an answer to this question, but did you know that
> LaTeX already knows if it is a figure or table, regardless 
> of the tag?   Just use that:
> \makeatletter
> \def\p at figure{Fig~}
> \def\p at table{Table~}
> \makeatother

More information about the texhax mailing list