Functions and operators\sec

\secCommand

Used for secant in trigonometric formulas and identities

\sec
Available in
base, physics
Kind
prefix
Allowed mode
math
Frequency
0.02% of corpus formulasrank 152 of 263
Commonality
medium
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
physicsMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\sec

Takes no arguments. In base. Reading argspecs

\seco[a]optional math contentd()(b)optional math content

Argspec o d() — two optional arguments. In physics. Reading argspecs

Examples#

physics

\sec x

physics

\sec[2](x)

Package variants#

PackageSignatureAllowed modeNotes
basemathUsed for secant in trigonometric formulas and identities
physicso d()mathUsed for secant notation, including bracketed powers such as \sec[2](x).

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

physics/named-fn-paren-expandfrom Faithfulreading

Expand physics power and auto-sized parenthesis arguments of standard named functions.

\sin(#1) \sin\left(#1\right)

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\secPositive · baselinePassPassPass
physics
InputCaseMathJaxKaTeXXeTeX
\secPositive · baselinePassPassPass
\sec[a]Positive · vary:o[0]PassPassPass
\sec (a)Positive · vary:d[1]PassPassPass
\sec[a](b)Positive · maximalPassPassPass
All 74 in Functions and operators