[texhax] vertical placement of symbols

Uwe Lueck uwe.lueck at web.de
Mon May 4 21:28:24 CEST 2009


[left the list]

Zbigniew Nitecki <zbigniew.nitecki at tufts.edu> schrieb am 04.05.2009 16:35:15:
> Yes, but \circ alone gives a circle that is really too big.

If so, $f \comp g$ with \newcommand{\comp}{\vcenter{$\scriptstyle\circ$}}. 
-- Uwe. 

> On May 4, 2009, at 10:29, Uwe Lueck wrote:
> 
> Zbigniew Nitecki <zbigniew.nitecki at tufts.edu> schrieb am 04.05.2009 
> 15:14:08:
> To create the symbol for composition of functions, I have the 
> following code
> 
> \newcommand{\compose}{{\scriptstyle \circ}}% composition symbol
> \newcommand{\comp}[2]{\ensuremath{#1\compose #2}}% composition by 
> function name
> 
> This works fine, except that the circle is not vertically centered---
> it is too low. How do I adjust it?
> 
> Isn't it fine when you drop \compose and replace it by \circ? 
> 
> I even would not be willing to type `\comp{f}{g}' in place of `$f \
> circ g$' or, in equations, `f \circ g'. Or \let\comp\circ to see "
> what you mean" rather than "what you get". 
> 
> I guess not the vertical placement is bad, it is choosing \scriptstyle 
> that chooses a font size too small between normal size symbols. 



More information about the texhax mailing list