auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] font-latex-sectioning-*-face not updating sizes in buffer


From: Chase Dwelle
Subject: Re: [AUCTeX] font-latex-sectioning-*-face not updating sizes in buffer
Date: Thu, 5 Mar 2015 09:11:41 -0500

Thanks,

I commented out my font-latex-sectioning-*-face arguments and added '(font-latex-fontify-sectioning 1.3), but still don't see a change. All the sectioning faces are inheriting from the correct family (0 from 1, 1 from 2, etc).

I'm guessing this means that I have some conflict which isn't allowing this to go into effect. I checked with M-x customize variable RET font-latex-fontify-sectioning, and the value is set to 1.3.

The modes I have when opening a *.tex file are "(LaTeX/FMPS Ref AC yas WS vl Wrap)." Don't know if that would have an impact or not.

Thanks for the help so far.

-Chase




On Thu, Mar 5, 2015 at 1:48 AM, Tassilo Horn <address@hidden> wrote:
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


_______________________________________________
auctex mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/auctex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]