[texhax] Spacing in equations

Prof. Sheila Prasad prasad at ece.neu.edu
Wed Oct 15 20:38:09 CEST 2008


Thank you for your help.
SP


------------------------------------------------------------
  Professor Sheila Prasad
  Emeritus Professor,  ECE Dept.
  Northeastern University
  e-mail:  prasad at ece.neu.edu


On Wed, 15 Oct 2008, Lars Madsen wrote:

> Prof. Sheila Prasad wrote:
>> When I am in equation mode, how do I introduce a space e.g. writing the
>> function
>>    cosh ax or cosh (ax) ?
>> Sheila Prasad
>>
>>
>
> 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.
>
>
>
>
>
> -- 
>
> /Lars Madsen
> 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/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>


More information about the texhax mailing list