How do you put text below other text?

42,088

Solution 1

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) \]

Solution 2

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

using

\underset{x}{\operatorname{argmax}}

Solution 3

$\arg \max\limits_{\substack{w\\ \phi}} f(w,\phi)$
Share:
42,088
tonicebrian
Author by

tonicebrian

Software engineer working on Data Mining hoping to create true A.I.

Updated on March 21, 2020

Comments

  • tonicebrian
    tonicebrian over 4 years

    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.

  • tonicebrian
    tonicebrian almost 15 years
    The displaystyle thing for the in-line mode is what I was looking for. Thanks