branch: master
commit ab3f1770f37da591626c7cd15c59161a42e11e37
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Add "includegraphics" to `paragraph-start'
* style/graphicx.el ("graphicx"): Let \includegraphics have its
own line.
---
style/graphicx.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/style/graphicx.el b/style/graphicx.el
index d88b720d..cf7c8637 100644
--- a/style/graphicx.el
+++ b/style/graphicx.el
@@ -285,6 +285,9 @@ subdirectories and inserts the relative file name. See
'("DeclareGraphicsRule" 4))
+ ;; \includegraphics macro should get its own line
+ (LaTeX-paragraph-commands-add-locally '("includegraphics"))
+
;; Fontification
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))