loading tool…
The LaTeX command for sec is \sec — secant.
\secWrite \sec inside math mode — that is, between $…$ for inline math or in a \[ … \] / equation block for display math. It is part of core LaTeX math, so no extra package is required.
$\sec_{i=1}^{n} x_i$Prefer to see it live? Paste it into the LaTeX preview and it renders as you type — no compiler, no signup.
Search all 380+ LaTeX symbols →
Use \sec in math mode — it needs no extra package. For example, $\sec_{i=1}^{n} x_i$.
None — \sec is built into LaTeX's math mode, so no extra package is required.