Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
2  
I'd remove the universal quantifier. –  Marc van Dongen Sep 19 '12 at 18:13
add comment

1 Answer

up vote 8 down vote accepted

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

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

Output:
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}

Output code

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)
share|improve this answer
    
hi, it seems this is not in the same format as the picture in the question –  william007 Sep 19 '12 at 16:55
1  
@william007: how it comes out depends on whether you are on displaystyle or textstyle; try inside a \[...\]. Qrrbrb..: it's a TeX subscript (/nitpick ;)). –  morbusg Sep 19 '12 at 16:57
    
@william007 morbusg is right. I've updated my answer to explain the difference between textstyle and displaystyle. –  Qrrbrbirlbel Sep 19 '12 at 17:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.