# [texhax] vertical setting of binary symbols

Uwe Lueck uwe.lueck at web.de
Thu May 21 18:06:19 CEST 2009

Zbigniew Nitecki <zbigniew.nitecki at tufts.edu> schrieb am 21.05.2009 17:43:57:
> I am having trouble creating a good version of the composition symbol
> (if one exists, I'd like to know).
>
> suggested I use \vcenter,
> but the code
> ************
> \newcommand{\compose}{\mathbin{\vcenter{$\mathsmaller\circ}$}}
> ************
> leads to crazy behavior: in some instances, the function following
> the \compose symbol is either
> tabbed very far to the right, or even appears on a new line.

I had corrected (here!) this mistake of mine into

\newcommand{\compose}{\mathbin{\vcenter{\hbox{$\mathsmaller\circ}$}}}

so \vcenter does not take an entire line + tested.

-- Uwe.