Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Operators›Sec

Sec in LaTeX

The LaTeX command for sec is \sec (secant).

sec⁡\secsec
\sec
Operators · no package needed

Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.

How to type Sec

Write \sec inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.

\sec sets the name upright with operator spacing; typed as plain letters it would print in italics, as a product of variables.

Example
$\sec_{i=1}^{n} x_i$sec⁡i=1nxi\sec_{i=1}^{n} x_iseci=1n​xi​

Open this example in the live preview: it renders as you type, with no compiler and no signup.

Related Operators symbols

arcsin\arcsinarccos\arccosarctan\arctansinh\sinhcosh\coshtanh\tanhcot\cotcsc\cscexp\explog\logln\lndet\detdim\dimker\ker

Math operators in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write sec (sec) in LaTeX?

Use \sec in math mode; it needs no extra package. For example, $\sec_{i=1}^{n} x_i$.

Which package provides \sec?

None: \sec is built into LaTeX, so no extra package is required.

latexci

Free LaTeX tools for researchers and students, in any browser. No paid plan, no advertising.

Star on GitHubBuy me a coffee

Tools

Live PreviewBibTeX ToolsDOI → BibTeXarXiv → BibTeXPubMed → BibTeXISBN → BibTeXLaTeX DiffWord → LaTeXSymbol SearchTable GeneratorTemplatesCV Generator

Learn

Academics hubLife after OverleafFreeGitHub

Community

DiscordGitHub IssuesFeature Requests

© 2026 latexci. By Sitraka Forler, sitraka.lu

PrivacyTerms