Using TeX-fold-mode to fold figures and algorithms.