How can I left-justify inside substack
?
\documentclass{standalone}
\usepackage{amsmath}
\begin{document}
$L_{\textrm{disk}} = L_{ \substack{\textrm{disk} \\ \textrm{orbital} } } + L_{ \substack{\textrm{disk} \\ \textrm{spin} } }#$
\end{document}
yields
I tried using \raggedright
inside the \substack
, but this failed.
Best Answer
You can use
\begin{subarray}{l}
, but perhaps it's better to define a new command based onsubarray
(just like\substack
is based onsubarray
).You have the advantage of not needing
\textrm
and also this avoids the subscripts being typeset in italic if the formula appears in an italic context like a theorem statement, because\normalfont
takes care of selecting the default upshape font.The argument to
tsubarray
can bec
orl
.