branch: master
commit 82a23a93ae656291b19419692d6a4920c627aefb
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Add some variables containing font declarations
* latex.el (LaTeX-font-family, LaTeX-font-series)
(LaTeX-font-shape, LaTeX-font-size): New variables.
---
latex.el | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/latex.el b/latex.el
index e561a928..eea54db4 100644
--- a/latex.el
+++ b/latex.el
@@ -8859,6 +8859,22 @@ wrapped in \\(?:...\\)? then."
;; We are done. Just search until the next closing bracket
"[^]]*\\]"))
+(defvar LaTeX-font-family '("normalfont" "rmfamily"
+ "sffamily" "ttfamily")
+ "List of LaTeX font family declarations.")
+
+(defvar LaTeX-font-series '("mdseries" "bfseries")
+ "List of LaTeX font series declarations.")
+
+(defvar LaTeX-font-shape '("itshape" "slshape" "scshape" "sscshape"
+ "swshape" "ulcshape" "upshape")
+ "List of LaTeX font shape declarations.")
+
+(defvar LaTeX-font-size '("tiny" "scriptsize" "footnotesize" "small"
+ "normalsize" "large" "Large"
+ "LARGE" "huge" "Huge")
+ "List of LaTeX font size declarations.")
+
(provide 'latex)
;;; latex.el ends here