Marco Falconi writes: > I have a custom definition of math macros to be folded. It is the > following (taken from .emacs in the customize part, I have set it > using customize): > > '(LaTeX-fold-math-spec-list > (quote > (("[{1}/{2}]" > ("frac" "tfrac")) > ("[{1}⇣{2}]" > ("underset")) > ("[{1}⇡{2}]" > ("overset")) > ("︷[{1}]" > ("underbrace")) > ("√[{1}]" > ("sqrt"))))) > > In the ones with two arguments (frac, tfrac, underset, overset), the > first argument gets fontified in the folded string, but the second one > is not fontified (in the unfolded string, everything is fontified > correctly). This macro for example has such behavior: > > \underset{\hslash\to 0}{ \longrightarrow} > > The macros with just one argument are fontified correctly also when folded. Hi Marco, I can't reproduce what you're describing. For me, a minimal .tex file looks like this: