If a variable is named: h-L-III or something similar with more than one -, then it gets translated into h_{L}_{III}, which is error in LaTeX and won't compile.
Had this for a while now, thought I'd leave it be as I can't choose whether to do {h_{L}}_{III} or h_{{L}_{III}}.
So either I need to put this in documentation so people are aware, or I should fix it one way so that LiTeX doesn't generate invalid LaTeX.
If a variable is named:
h-L-III
or something similar with more than one-
, then it gets translated intoh_{L}_{III}
, which is error in LaTeX and won't compile.Had this for a while now, thought I'd leave it be as I can't choose whether to do
{h_{L}}_{III}
orh_{{L}_{III}}
.So either I need to put this in documentation so people are aware, or I should fix it one way so that LiTeX doesn't generate invalid LaTeX.