How to use for all math symbol for equation like this in LaTeX "for j = 1...J and t = 1...T"?

\sum_{k=1}^K\sum_{\tau=1}^t q_{jk\tau} \leq BF_{jt} \cdot \sum_{\tau=1}^t w_{j\tau} \qquad
\forall j
\textrm{for}\quad j=1,\ldots,J \quad \textrm{and} \quad t=1,\ldots,T
  • 4
    Can you clarify your question? What's the problem?
    – Vincent
    Commented Nov 30, 2020 at 21:32
  • 6
    Are you asking about \forall?
    – Davislor
    Commented Nov 30, 2020 at 21:37
  • 2
    Maybe you should try detexify.kirelabs.org/classify.html
    – JeT
    Commented Nov 30, 2020 at 21:51
  • 1
    try j \in \integer from china2e package. Commented Dec 1, 2020 at 0:31

1 Answer 1


Using \forall and making a slight change one option is seen by:


\sum_{k=1}^K\sum_{\tau=1}^t q_{jk\tau} \leq BF_{jt} \cdot \sum_{\tau=1}^t w_{j\tau} \qquad
\forall \quad 1 \leq j \leq J \quad \textrm{and} \quad 1 \leq t \leq T


which produces

enter image description here

  • 1
    Thank you for the response but if i want something like \forall j and \forall k. How to write where j and k not starting from 1 but from 2 or not end at J but something else.
    – macscm
    Commented Dec 1, 2020 at 22:12
  • 1
    @macscm Depending on what the something else is then to format would be changed. For example it could be \forall j, k \in \mathbb{N}_0 with use of \usepackage{amssymb}. Many other examples exist.
    – Leucippus
    Commented Dec 2, 2020 at 5:35

Not the answer you're looking for? Browse other questions tagged .