# How to write something underneath \min?

How to type this expression, where has \min on top and \forall at the bottom?

• I'd remove the universal quantifier.
– user10274
Sep 19, 2012 at 18:13

The bottom part is a TeX subscript (like \sum):

\min_{\forall s \in S_j} q_k(s)


Output:

### Textstyle vs. Displaystyle

Compile the following code sequence to understand the difference between textstyle and displaystyle:

\documentclass{article}
\def\sample{\min\nolimits_{\forall s \in S_j} q_k(s)}
\begin{document}
\noindent Text-Textstyle: $$\sample$$\\
Text-Displaystyle: $$\displaystyle\sample$$
$\textrm{Text-Textstyle: }\textstyle\sample$$\textrm{Display-Displaystyle: }\sample$
\end{document}


You can also use \nolimits and \limits to force textstyle limits and displaystyle limits respectively:

\min\limits_{\forall s \in S_j} q_k(s)

• hi, it seems this is not in the same format as the picture in the question Sep 19, 2012 at 16:55
• @william007: how it comes out depends on whether you are on displaystyle or textstyle; try inside a $...$. Qrrbrb..: it's a TeX subscript (/nitpick ;)). Sep 19, 2012 at 16:57
• @william007 morbusg is right. I've updated my answer to explain the difference between textstyle and displaystyle. Sep 19, 2012 at 17:08