Summation indices
1,362
Based on guessing:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{Bmatrix}
\sum\limits_{s\in S} \sum\limits_{e\in E} \sum\limits_{p\in P}
& X(i,e,p,d,s) \ge 1 \\[2.5ex]
\sum\limits_{s\in S} \sum\limits_{e\in E} \sum\limits_{p\in P}
& X(i,e,p,d+1,s) \ge 1
\end{Bmatrix}
\Rightarrow W_{i,d} = 1
\end{equation}
\begin{equation}
\begin{Bmatrix}
\sum\limits_{s\in S} \sum\limits_{e\in E} \sum\limits_{p\in P}
& X_{i,e,p,d,s} \ge 1 \\[2.5ex]
\sum\limits_{s\in S} \sum\limits_{e\in E} \sum\limits_{p\in P}
& X_{i,e,p,d+1,s} \ge 1
\end{Bmatrix}
\Rightarrow W_{i,d} = 1
\end{equation}
\end{document}
Author by
new123
Updated on August 01, 2022Comments
-
new123 over 1 year
I'm trying to put 2 equations in 1 and get the summation indices in the right place. My code is:
\begin{equation} \left \begin{array}{c} \sum_{s \in S} \sum_{e \in E} \sum_{p \in P} X_{i}_{e}_{p}_{d}_{s} \ge 1 \\ \\ \sum_{s \in S} \sum_{e \in E} \sum_{p \in P} X_{i}_{e}_{p}_{d+1}_{s} \ge 1 \end{array} \right \} \Rightarrow W_{i}_{d} = 1 \end{equation}
How can I fix this?
-
Au101 over 6 yearsI assume you meant
\left\{
before your array environment? -
Mico over 6 yearsWelcome to TeX.SE. Is
X_{i}_{e}_{p}_{d+1}_{s}
correct, i.e., are you trying to typeset a term with a quintuple [!!] subscript? Or should it beX_{i,e,p,d,s}
? -
Mico over 6 yearsPlease also state what you believe the "right place" for the indexes of summation should be.
-