Math & Science ⇒ character under word
character under word
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 126
- Joined: Sun Feb 13, 2011 8:36 pm
character under word
Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\DeclareMathOperator*{\maxa}{max}
\begin{document}
$$ \maxa_{a'} = \frac{\pi}{2} $$
\end{document}
- 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
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.