Text Formatting ⇒ (5) on top of =
(5) on top of =
The '(5)' should not be left of the '=' (like $=_{(5)}$), but it should be right on top of it.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
(5) on top of =
Code: Select all
\stackrel{(5)}{=}
Re: (5) on top of =

Re: (5) on top of =
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
(5) on top of =
Actually that's not the topic of this thread. But since we are here.Srcee wrote:And what to do if I want the '(5)' to be under the '=' ?
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathtools} % loads »amsmath«
\begin{document}
\[
a\underset{(5)}{=} b
\]
\end{document}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10