branch: externals/auctex commit 2f75f51bb8b76fb282f126b4517adfb555a239a5 Author: Arash Esbati <arash.esb...@gmail.com> Commit: Arash Esbati <arash.esb...@gmail.com>
Add support for LaTeX core command \textsubscript * font-latex.el (font-latex-built-in-keyword-classes): * latex.el (LaTeX-common-initialization): Add entry for "textsubscript" which is in LaTeX core since 2015/01/01. --- font-latex.el | 2 +- latex.el | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/font-latex.el b/font-latex.el index a7982c5..e932577 100644 --- a/font-latex.el +++ b/font-latex.el @@ -387,7 +387,7 @@ variable `font-latex-fontify-sectioning'." ',num) ("textual" (("item" "[") ("title" "{") ("author" "{") ("date" "{") ("thanks" "{") ("address" "{") ("caption" "[{") - ("textsuperscript" "{")) + ("textsuperscript" "{") ("textsubscript" "{")) 'font-lock-type-face 2 command) ("bold-command" (("textbf" "{") ("textsc" "{") ("textup" "{") ("boldsymbol" "{") diff --git a/latex.el b/latex.el index 56cb491..19542b1 100644 --- a/latex.el +++ b/latex.el @@ -6284,6 +6284,7 @@ i.e. you do _not_ have to cater for this yourself by adding \\\\' or $." '("suppressfloats" [ TeX-arg-tb "Suppress floats position" ]) '("ensuremath" "Math commands") '("textsuperscript" "Text") + '("textsubscript" "Text") '("textcircled" "Text") '("mathring" t)