5 Synopsis: Conflicting \@tempswa in font selection and \@cite
7 The \@cite macro is a small wrapper used to control the
8 formatting of citations, yet if one inserts font selection
10 \def\@cite#1#2{\textbf{[{#1\if@tempswa , #2\fi}]}}
11 it fails to format properly, because \textbf (\maybe@ic@)
12 resets tempswa to "true".
18 \AUTHOR{Frank Mittelbach}
19 \documentclass{article}
22 \def\@cite#1#2{\textbf{[{#1\if@tempswa \typeout{comma added}\else \typeout{no comma added}\fi}]}}
33 \cite{test} % no comma should show