latex中的上下结构可以用下面代买实现
max
n
∈
(
1
,
2
,
⋯
,
N
)
s
i
i
∈
(
1
,
2
,
⋯
,
S
)
\mathop{\max}_{ n \in(1,2,\cdots,N) \atop s_{i}~i\in(1,2,\cdots,S)}
maxsi i∈(1,2,⋯,S)n∈(1,2,⋯,N)
\mathop{\max}_{
n \in(1,2,\cdots,N)
\atop
s_{i}~i\in(1,2,\cdots,S)}