How to put multiple non math subscripts? [closed]

I would like to get the following expression in Latex : I tried it as followed:

GSK_{n,z,t} = \frac{P_{n,t}^{N,Y}}{\sum_{n \in z}^{\infty} P_{n,t}^{N,Y}}

but this doesn't work. Any idea how it should be written ?

closed as unclear what you're asking by egreg, Werner, Stefan Pinnow, Torbjørn T., CarLaTeXApr 21 '17 at 19:14

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• The question title says "non math" and yet the image shows "math" subscripts. I'm confused. – Steven B. Segletes Mar 22 '17 at 11:14
• Welcome to TeX.SE! Your code works, of course you need to put it in math environment ... – Zarko Mar 22 '17 at 11:14
• If you don't want it in an equation type environment, you can use $\displaystyle ...$. – John Kormylo Mar 22 '17 at 13:40
• Is your problem solved? – Dr. Manuel Kuehner Mar 23 '17 at 19:49

\documentclass[preview]{standalone}
\usepackage{mathtools}

\begin{document}

\begin{equation*}
\mathit{XYZ}_{a,b,c}^{\gamma} = \dfrac{\mathit{XYZ}_{a,b,c}^{\gamma}}{\sum_{a \in b} \mathit{XYZ}_{a,b,c}^{\gamma}}
\end{equation*}

\end{document} Not related to the actual question: I assume that XYZ is one variable and not three variables multiplied. Therefore I used \mathit so that tey are one unit. If someone has a better idea, please leave a comment or change the code here.

Non-math stuff in equations: If you are looking for text in the equation, try \text{a b c}. \text is provided by the amsmath package (mathtools loads amsmath in this example).