From 7f6d19adb83a2e81312a69208876c360f1848d7d Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Fri, 26 Aug 2022 15:44:26 +0200 Subject: new alternate command \App to allow for better code folding with ekdosis.el --- ekdosis.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ekdosis.el') diff --git a/ekdosis.el b/ekdosis.el index 50c6364..21d202f 100644 --- a/ekdosis.el +++ b/ekdosis.el @@ -256,6 +256,9 @@ ("resetlinenumber" . nil) ("resetvlinenumber" . nil)))) ;; Folding features: + (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) + '("{1}" ("App")) + t) (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) '("{1}" ("app")) t) @@ -268,6 +271,9 @@ (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) '("[n]" ("note")) t) + (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) + '("[n]" ("note*")) + t) (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) '("[l]" ("linelabel")) t) @@ -330,6 +336,8 @@ 0) '("ilabel" "indexed label" 0) + '("App" [ TeX-arg-key-val LaTeX-ekdosis-app-options ] + 2) '("app" [ TeX-arg-key-val LaTeX-ekdosis-app-options ] t) '("lem" [ LaTeX-ekdosis-long-key-val LaTeX-ekdosis-lem-options ] -- cgit v1.2.3