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.

I have an equation like this

\begin{gather}
n_i(t-1)= \sum_{j \in S} v_{ij}(t) \\
n_j(t)= \sum_{i \in S} v_{ij}(t) \\
\forall_{t\in T_0} \sum_{i \in S} n_i(t)=N
\end{gather}

The third part of it looks bad because \forall symbol is much smaller than \sum symbol. How can I meke it bigger? I want the \forall symbol to have size of \sum symbol. I would prefer not to change equation code. I would prefer some changes in preamble.

Also, is it possible to have t\in T_0 part below the \forall symbol like when using \sum symbol?

share|improve this question
add comment

1 Answer

up vote 8 down vote accepted

Very similar to egregs solution in How to create my own math operator with limits:

\documentclass{article}
\usepackage{amsmath}
\let\stdforall\forall
\renewcommand{\forall}{\mathop{\vphantom{\sum}\mathchoice
  {\vcenter{\hbox{\huge$\stdforall$}}}
  {\vcenter{\hbox{\Large$\stdforall$}}}{\stdforall}{\stdforall}}\displaylimits}
\begin{document}
$\forall_{t\in T_0} \sum_{i \in S} n_i(t)=N$
\[
    \forall_{t\in T_0} \sum_{i \in S} n_i(t)=N
\]
\end{document}

auto-sizing forall symbol

share|improve this answer
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.