Browse Source

ox-latex: Set default figure position to htbp

* lisp/ox-latex.el (org-latex-default-figure-position): Change default
  value.  Add missing keywords.

Reported-by: Jean Louis <guix@rcdrun.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/109468>
Nicolas Goaziou 2 years ago
parent
commit
45c775a4d2
1 changed files with 6 additions and 3 deletions
  1. 6 3
      lisp/ox-latex.el

+ 6 - 3
lisp/ox-latex.el

@@ -715,10 +715,13 @@ environment."
   :package-version '(Org . "8.0")
   :type 'string)
 
-(defcustom org-latex-default-figure-position "htb"
-  "Default position for latex figures."
+(defcustom org-latex-default-figure-position "htbp"
+  "Default position for LaTeX figures."
   :group 'org-export-latex
-  :type 'string)
+  :type 'string
+  :version "25.2"
+  :package-version '(Org . "9.0")
+  :safe #'stringp)
 
 (defcustom org-latex-inline-image-rules
   '(("file" . "\\.\\(pdf\\|jpeg\\|jpg\\|png\\|ps\\|eps\\|tikz\\|pgf\\|svg\\)\\'"))