Affine transformations, hotkeys and LaTeX output