I have a latex table which contains some long commands like includegraphics or href which makes the table very nasty to read.
To get a better view I fold all macros in the table and want to use
align-current. However this doesn't work as expected as in the following MWE-screencast:
Align per se works as you can see in this demo:
How can I fix this? Is there a better way to get a nice few of my table?
latex-fold-macros macro I use above is defined as follows:
(defun latex-fold-macros () (interactive) (let ((macro (read-from-minibuffer "Macro: "))) (save-excursion (goto-char (point-min)) (while (search-forward (format "%s" macro) nil t) (TeX-fold-macro) ) ) ) )