I'm trying to write hyperbolic functions like sech, csch, etc,
Since amsmath doesn't recognize them in the form \sech
, \csch
, ...
I wrote a preamble like \DeclareMathOperator{\sech}{sech}
but I get this error:
! LaTex Error: Command \tanh already defined.
Or name \end... illegal, see p. 192 of the manual.
how should I write the hyperbolic functions?
\documentclass{...}
and ending with\end{document}
.tanh
andcoth
were already defined,sech
andcsch
neededd to be defined in the preamble\sech
etc are quite rare, in my point of view, so they weren't defined.