Math & ScienceHow to recognize the hyperbolic secant

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
airjuan
Posts: 5
Joined: Tue Apr 07, 2009 8:11 pm

How to recognize the hyperbolic secant

Post by airjuan »

Hi everybody,
I use Lyx 1.6
It does not recognize the hyperbolic secant (\sech):
Image

Does someone know which package I should download?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to recognize the hyperbolic secant

Post by localghost »

Load the amsmath package and declare the hyperbolic secant as a math operator.

Code: Select all

\DeclareMathOperator{\sech}{sech}
This operator then will behave like the \sin or \cos command.


Best regards and welcome to the board
Thorsten¹
Post Reply