diff options
Diffstat (limited to 'elpa/auctex-13.1.3/style/graphics.el')
-rw-r--r-- | elpa/auctex-13.1.3/style/graphics.el | 20 |
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. |