Hi,
I'm trying to get a character under a word and tried max_{a'} but that just gives subscript. What I want is a' right in the middle under max. How can I do that?
Thanks.
Math & Science ⇒ character under word
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 126
- Joined: Sun Feb 13, 2011 8:36 pm
character under word
Declare an operator and tell LaTex (with the asterisk) to put subscripts below it.
Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\DeclareMathOperator*{\maxa}{max}
\begin{document}
$$ \maxa_{a'} = \frac{\pi}{2} $$
\end{document}
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
character under word
This syntax for displayed equations should not be used. See l2tabu.5gon12eder wrote:Declare an operator and tell LaTex (with the asterisk) to put subscripts below it.
Code: Select all
\documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath} \DeclareMathOperator*{\maxa}{max} \begin{document} $$ \maxa_{a'} = \frac{\pi}{2} $$ \end{document}
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 126
- Joined: Sun Feb 13, 2011 8:36 pm
character under word
Thank you for pointing out this.localghost wrote:This syntax for displayed equations should not be used. See l2tabu.
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).