Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Computer Science›Floor

Floor in LaTeX

The LaTeX command for floor is \lfloor x \rfloor (floor function).

⌊x⌋\lfloor x \rfloor⌊x⌋
\lfloor x \rfloor
Computer Science · no package needed

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

How to type Floor

Write \lfloor x \rfloor 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.

In pseudocode or running text, wrap \lfloor x \rfloor in $...$ so it keeps math spacing and fonts.

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

Related Computer Science symbols

Θ\Thetaoo⊕\oplus∧\land∨\lor¬\neg∣\mid⌈⌉\lceil x \rceil⊤\top⊥\bot⊨\models𝖭𝖯\mathsf{NP}𝖯\mathsf{P}𝒪\mathcal{O}

Computer science symbols in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write floor (⌊⌋) in LaTeX?

Use \lfloor x \rfloor in math mode; it needs no extra package. For example, $\lfloor x \rfloor$.

Which package provides \lfloor x \rfloor?

None: \lfloor x \rfloor 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