I'm wondering how to modify the way AUCTeX show titles.
By defaut, the titles are too big for me and they take too much place in my screen.
(ignore the red underlining created by flyspell set with a dictionary which is not English).
I would like to have the same font size for everything in my document. I believe the color is sufficient to emphasize titles.
I tried to set
font-latex-fontify-sectioning to 'color' according to AUCTeX manual:
User Option: font-latex-fontify-sectioning
Per default sectioning commands will be shown in a larger, proportional font, which corresponds to a number for this variable. The font size varies with the sectioning level, e.g. ‘\part’ (font-latex-sectioning-0-face) has a larger font than ‘\paragraph’ (font-latex-sectioning-5-face). Typically, values from 1.05 to 1.3 for font-latex-fontify-sectioning give best results, depending on your font setup. If you rather like to use the base font and a different color, set the variable to the symbol ‘color’. In this case the face font-lock-type-face will be used to fontify the argument of the sectioning commands.
However, I obtained an error for the setting
custom-variable-set: This field should contain a number (floating point or integer)
I tried then to set this setting to 1. (the default is 1.1) with the idea that 1. should be the normal font size.
I obtained this error (I cannot see my titles anymore):