Using expressions. Kind of messy, but it seems to work...

I figured I would jump in to help on the expression piece, but I'm not sure if I like it as is--you have to have spaces between the .. and the expressions. (Even for literal numbers); Falling asleep now, but if this helps feel free to steal some ideas from it. :)