# [texhax] Spacing in equations

Wed Oct 15 20:38:09 CEST 2008

Thank you for your help.
SP

------------------------------------------------------------
Emeritus Professor,  ECE Dept.
Northeastern University

On Wed, 15 Oct 2008, Lars Madsen wrote:

>> When I am in equation mode, how do I introduce a space e.g. writing the
>> function
>>    cosh ax or cosh (ax) ?
>>
>>
>
> they should do that automatically
>
> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> $> \cosh ax \qquad \cosh(ax) >$
> \end{document}
>
> in the case of the \cosh(ax) no space is needed as the ()'s already
> provide the separation.
>
> Note that function names such as cosh should be written in an upright
> font, not as $cosh ax$ as that can be interpreted as $c \cdot o \cdot s > \cdot h \cdot a \cdot x$
>
> amsmath defines a lot of these function name shortcut such as \cosh,
> other can be defined uding
>
> \DeclareMathOperator{\macroname}{Text}
>
> Manual spaces can be inserted via \:,\, etc. But one should be a bit
> careful and think whether this is actually a good thing to do.
>
>
>
>
>
> --
>
> Programmer
> Dept. of Mathematical Sciences
> University of Aarhus
> Denmark
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>