I'd like to define a series of variables called $l_1$,$l_2$, etc., in Mathematica, using the "ctrl+_" shortcut. Moreover, I want to use these variables as the controls of a Manipulate[] function so that I can see how an expression is affected by the change of these variables.
Somehow it seems that Manipulate can't take controls containing Subscripts (as far as I remember, I encountered this issue before so I guess this is the case). For example, in the following code, "h" is recognized as a control which is displayed with a different color; on the other hand, the variables containing subscripts won't be recongnized.
Manipulate[{ListLinePlot[
Labeled[ {Subscript[A, 0], Subscript[A, 11], Subscript[A, 2],
Subscript[A, 3], Subscript[A, 41], Subscript[A, 5]},
"label is:"], Frame -> True, Axes -> False, AspectRatio -> 1,
ImageSize -> Medium]}, {{Subscript[l, 0], 0}, -1,
1}, {{Subscript[l, 1], 0.5}, -1, 1}, {{Subscript[l, 2], 0.5}, -1,
1}, {{Subscript[l, 3], 0}, -1, 1}, {{Subscript[l, 4], 0.5}, -1,
1}, {{Subscript[l, 5], 0.5}, -1, 1}, {{h, 0.5}, -1, 1}]
Manipulate[Subscript[l, 0], {Subscript[l, 0], 0, 1}]
works as expected. $\endgroup$