# Revision history [back]

### Iterate on a LatexExpr

This is certainly a question I have already asked, but I don't find any source.

I have a list of indexed variables up to 2 digits (for example $x_{13}$) and I want to loop on a `LatexExp()' of the sort :

show(LatexExpr(r"\text{blabla } p_i = ", some stuff)

The result should be

$\text{blabla } p_1 = 10$

$\text{blabla } p_{20} = 10$

Hope my question is not too unclear