Shorter names for decomposed images
Refactored latex generation