Fixed latex escapes as it needs to escapes and fixed image alignments.