tags:

views:

294

answers:

2

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.

+2  A: 
$\arg \max\limits_{\substack{w\\ \phi}} f(w,\phi)$
Svante
+3  A: 

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) \]
Bruno De Fraine
The displaystyle thing for the in-line mode is what I was looking for. Thanks
ancechu