[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] font-latex-sectioning-*-face not updating sizes in buffer
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] font-latex-sectioning-*-face not updating sizes in buffer |
Date: |
Thu, 05 Mar 2015 07:48:44 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Chase Dwelle <address@hidden> writes:
> Sorry for spamming the list, just started using AUCTeX.
Hey, that's what this list is meant for.
> I updated my init file to have section heading very easy to read so I
> can easily navigate in folded mode. However, the code below is not
> changing the size of the section headings in emacs.
>
> Is there something obvious I'm missing, or are there other variables
> that could be interfering with what I've written below?
Yes, indeed.
,----
| Face: font-latex-sectioning-0-face (sample) (customize this face)
|
| Documentation:
| Face for sectioning commands at level 0.
|
| Probably you don't want to customize this face directly. Better
| change the base face `font-latex-sectioning-5-face' or customize the
| variable `font-latex-fontify-sectioning'.
`----
So if your whole intent is to change the scaling factor, use this
variable:
,----[ C-h v font-latex-fontify-sectioning RET ]
| font-latex-fontify-sectioning is a variable defined in `font-latex.el'.
| Its value is 1.1
|
| Documentation:
| Whether to fontify sectioning macros with varying height or a color face.
|
| If it is a number, use varying height faces. The number is used
| for scaling starting from `font-latex-sectioning-5-face'. Typically
| values from 1.05 to 1.3 give best results, depending on your font
| setup. If it is the symbol `color', use `font-lock-type-face'.
|
| Caveats: Customizing the scaling factor applies to all sectioning
| faces unless those face have been saved by customize. Setting
| this variable directly does not take effect unless you call
| `font-latex-update-sectioning-faces' or restart Emacs.
|
| Switching from `color' to a number or vice versa does not take
| effect unless you call M-x font-lock-fontify-buffer or restart
| Emacs.
|
| You can customize this variable.
`----
HTH,
Tassilo