summaryrefslogtreecommitdiff
path: root/elpa/auctex-13.1.3/style/graphics.el
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-05-17 07:07:37 -0400
committermattkae <mattkae@protonmail.com>2022-05-17 07:07:37 -0400
commitbecff06c71d277647eda4378203d03ab36e141eb (patch)
treea1f73bba3676f34e0faf76764f5de963321f5576 /elpa/auctex-13.1.3/style/graphics.el
parent3f4a0d5370ae6c34afe180df96add3b8522f4af1 (diff)
Evil mode and latex support
Diffstat (limited to 'elpa/auctex-13.1.3/style/graphics.el')
-rw-r--r--elpa/auctex-13.1.3/style/graphics.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/elpa/auctex-13.1.3/style/graphics.el b/elpa/auctex-13.1.3/style/graphics.el
new file mode 100644
index 0000000..4cdd31c
--- /dev/null
+++ b/elpa/auctex-13.1.3/style/graphics.el
@@ -0,0 +1,20 @@
+;;; graphics.el --- Handle graphical commands in LaTeX 2e. -*- lexical-binding: t; -*-
+
+;;; Code:
+
+;; Load "graphicx" explicitly to access `LaTeX-graphicx-package-options'
+;; before running style hook "graphics". This is necessary to have
+;; support for completion of package options of "usepackage".
+
+(require 'tex)
+
+(TeX-load-style "graphicx")
+(defvar LaTeX-graphics-package-options LaTeX-graphicx-package-options)
+
+(TeX-add-style-hook "graphics"
+ (function
+ (lambda ()
+ (TeX-run-style-hooks "graphicx")))
+ TeX-dialect)
+
+;;; graphics.el ends here.