Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you put text below other text?

Tags:

math

latex

I need to write the expression meaning optimize over the parameter set. I think I should write something like

$\arg \max_{\substack{w \\ \phi}} f(w,\phi)$

but this puts the subscript below at the right of \max and I'd like to put those subindexes below and centered on the max word.

Which command should I use?

Thanks in advance.

like image 446
tonicebrian Avatar asked Jul 01 '09 12:07

tonicebrian


2 Answers

Have you tried display mode math instead of text mode math. That is, try either:

$\displaystyle\arg \max_{\substack{w \\ \phi}} f(w,\phi)$

Or try:

\[ \arg \max_{\substack{w \\ \phi}} f(w,\phi) \]
like image 120
Bruno De Fraine Avatar answered Sep 21 '22 16:09

Bruno De Fraine


See: http://www.breakthru.altervista.org/?p=27

using

\underset{x}{\operatorname{argmax}}
like image 30
Kjell Erik Larsen Avatar answered Sep 18 '22 16:09

Kjell Erik Larsen