Inverted question mark in LaTeX (\text{¿})
- LaTeX command
\text{¿}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Text and math mode
- Copy the Unicode character
- ¿
U+00BF
Where it is used
Writes ¿, the inverted question mark that opens a question in Spanish; LaTeX also accepts ?` for it.
Spanish places ¿ at the start of a question and ? at the end, as in ¿Dónde está? In LaTeX, the ligature ?` (question mark followed by a backtick) produces the inverted mark in standard fonts, and \textquestiondown is the named command. Typing ¿ directly also works with UTF-8 input. It is a text character, so put it inside \text in math. Galician and Asturian use it too, while Catalan generally does not. Because ?` is a ligature, a stray backtick after a question mark can accidentally create the inverted glyph, so check sentences ending in a question that is followed by a quote.
Minimal compilable example
Paste this into an empty .tex file and compile it with XeLaTeX or LuaLaTeX (it contains a Unicode character).
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Inverted question mark: $\text{¿}$
\[ \text{¿Dónde está?} \]
\end{document}Related symbols
- Inverted exclamation mark
\text{¡} - Dotless j (math)
\jmath - Dotless i (math)
\imath - L with stroke (uppercase)
\text{Ł} - l with stroke (lowercase)
\text{ł} - O with stroke (uppercase)
\text{Ø}
Frequently asked questions
- How do I write Inverted question mark in LaTeX?
- Type \text{¿} in math mode, for example $\text{¿Dónde está?}$. Load amsmath first with \usepackage{amsmath}.
- Which package do I need for \text{¿}?
- \text{¿} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
- Can I use \text{¿} in text mode, or only in math mode?
- Both. \text{¿} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث