MathJax does not work for hyperbolic $ \sech \,x$... Can it be now included? Thanks in advance.
EDIT1:
From user1729's comment suggestion, they work okay:
$$\operatorname{sech}(x) $$
$$ \DeclareMathOperator{\sech}{sech} $$
$$\sech (y)$$
To make my comments into an answer:
Firstly, you can define it manually, so \operatorname{sech}(x)
renders as $\operatorname{sech}(x)$. A more fancy way is to put \DeclareMathOperator{\sech}{sech}
somewhere in your post, and then \sech
will work everywhere in the post.
For example, I'll declare the operator (invisibly) here: $\DeclareMathOperator{\sech}{sech}$
And it renders nicely here: $\sech(x)$
(Click on "edit", below, to see my code.)
There are other ways to do this. For example, you can use \newcommand
rather than \DeclareMathOperator
: \newcommand{\csch}{\operatorname{csch}
$\newcommand{\csch}{\operatorname{csch}}$ gives $\csch(x)$.
(One way not to do it is to use \mathrm{csch}
rather than \operatorname{csch}
. For example, \operatorname{csch}x
$\operatorname{csch}x$ is correctly spaced while \mathrm{csch}
$\mathrm{csch}x$ is not. See here for more details.)
\operatorname{sech}(x)
renders as $\operatorname{sech}(x)$. $\endgroup$\DeclareMathOperator{\sech}{sech}
$\DeclareMathOperator{\sech}{sech}$ to define it everywhere in your post. So typingsech(x)
now gives $\sech(x)$. (There is a way, or used to be a way, to define commands for a whole page, but I can't remember it at the moment.) $\endgroup$\DeclareMathOperator
should work, in the sense that it worked above for me... $\endgroup$