auctex-devel
[Top][All Lists]
Advanced

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

Re: LaTeX 2020-02-02 release


From: Arash Esbati
Subject: Re: LaTeX 2020-02-02 release
Date: Mon, 13 Jan 2020 21:25:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Hi Keita,

Ikumi Keita <address@hidden> writes:

>>>>>> Arash Esbati <address@hidden> writes:
>> Thanks for your response.  I had a look at `LaTeX-mode-menu' reg. adding
>> the new commands but honestly, I wasn't sure where to put them.  I
>> couldn't see the idea behind the sorting of the commands in that menu
>> which looks like this:
>
> It seems that there is no particular reason in that order.

Thanks, that makes me feel better and not so alone in that corner :-)

>> Would it make sense to rework the menu entirely and sort the commands
>> alphabetically after the attribute as described in fntguide.pdf (page
>> 6), i.e., family, series and shape or something like that?
>
> Yeah, it's very likely as you say.  At least I think so.

Ok, does a setup like this make more sense?

PNG image

This is the correponding patch which must be applied to "Replace Font"
as well:

diff --git a/latex.el b/latex.el
index db7bf6e0..a1de4e72 100644
--- a/latex.el
+++ b/latex.el
@@ -5756,14 +5756,21 @@ regenerated by the respective menu filter."
      :help "Insert a new \\item into current environment"]
     "-"
     ("Insert Font"
-     ["Emphasize"  (TeX-font nil ?\C-e) :keys "C-c C-f C-e"]
-     ["Bold"       (TeX-font nil ?\C-b) :keys "C-c C-f C-b"]
-     ["Typewriter" (TeX-font nil ?\C-t) :keys "C-c C-f C-t"]
-     ["Small Caps" (TeX-font nil ?\C-c) :keys "C-c C-f C-c"]
-     ["Sans Serif" (TeX-font nil ?\C-f) :keys "C-c C-f C-f"]
-     ["Italic"     (TeX-font nil ?\C-i) :keys "C-c C-f C-i"]
-     ["Slanted"    (TeX-font nil ?\C-s) :keys "C-c C-f C-s"]
-     ["Roman"      (TeX-font nil ?\C-r) :keys "C-c C-f C-r"]
+     ["Roman"        (TeX-font nil ?\C-r) :keys "C-c C-f C-r"]
+     ["Sans Serif"   (TeX-font nil ?\C-f) :keys "C-c C-f C-f"]
+     ["Typewriter"   (TeX-font nil ?\C-t) :keys "C-c C-f C-t"]
+     ["Normal"       (TeX-font nil ?\C-n) :keys "C-c C-f C-n"]
+     "-"
+     ["Medium"       (TeX-font nil ?\C-m) :keys "C-c C-f C-m"]
+     ["Bold"         (TeX-font nil ?\C-b) :keys "C-c C-f C-b"]
+     "-"
+     ["Emphasize"    (TeX-font nil ?\C-e) :keys "C-c C-f C-e"]
+     ["Italic"       (TeX-font nil ?\C-i) :keys "C-c C-f C-i"]
+     ["Slanted"      (TeX-font nil ?\C-s) :keys "C-c C-f C-s"]
+     ["Small Caps"   (TeX-font nil ?\C-c) :keys "C-c C-f C-c"]
+     ["Swash"        (TeX-font nil ?\C-w) :keys "C-c C-f C-w"]
+     ["Upper Lower"  (TeX-font nil ?\C-l) :keys "C-c C-f C-l"]
+     "-"
      ["Calligraphic" (TeX-font nil ?\C-a) :keys "C-c C-f C-a"])
     ("Replace Font"
      ["Emphasize"  (TeX-font t ?\C-e) :keys "C-u C-c C-f C-e"]

Best, Arash

reply via email to

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