6

I want to write something like

Q_{a\in A,b\in B}

but with $b\in B$ being below $a \in A$. What is the way to do so?

17

Use \substack:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\[ Q_{\substack{a\in A\\b\in B}} \]%

 \end{document} 

enter image description here

5

Use the \genfrac command from the amsmath package.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
Q_{\genfrac{}{}{0pt}{}{a\in A}{b\in B}} 
\end{equation*}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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