# [texhax] Macro problem after updating xspace

KKThird@Yahoo.Com kkthird at yahoo.com
Thu Sep 21 12:35:03 CEST 2006

Hello all.
I just updated my tex system by installing all of the package updates. Some code I've been using now fails. It took a while, but I've been able to isolate the problem. My guess it is something in package txfonts, since it was the only one I'm using that was recently updated. Here is an example, where I've renamed upsilon. and can easily use it in math mode or not just by typing \upsilon (unless I use \bm{} with it).

% This works as expected.%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{txfonts}
\usepackage{xspace}
\usepackage{bm}
\renewcommand{\upsilon}{\ensuremath\upsilonup\xspace}
\begin{document}
Lower case upsilon should be given: \upsilon.
\end{document}

% This unexpectedly fails, whereas doing it with other macros defined in the same way works fine. It seem to have something to do with upsilon. %%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{txfonts}
\usepackage{xspace}
\usepackage{bm}
\renewcommand{\upsilon}{\ensuremath\upsilonup\xspace}
\begin{document}
Lower case upsilon should be given: \upsilon.
\end{document}