# What is the best way to stacked subscripts for a matrix?

by JKHA   Last Updated July 11, 2019 16:23 PM

I use this code to generate subscript indexes for a matrix but stacked thanks to substack:

\documentclass{standalone}
\usepackage[utf8]{inputenc}

\usepackage{amsmath}

\begin{document}

$(v_j^h)_{\substack{1\le h\le p-1\\1\le j\le n}}$

\end{document}


I wonder how could I do a better formatting, what would be the best way. A really better way is trivially to left aligned instead of center the stacked subscripts but I have no idea how to do that. Do you know how to do it, or even better, do you know if there is a better way to represent those kind of subscripts and how to implant it?

Tags :