mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:00:49 +00:00
ox-latex: comment on \date LaTeX macro
* lisp/ox-latex.el (org-latex-template): short comment about the `\date` macro, its default and how to override the default date. TINYCHANGE
This commit is contained in:
parent
0599ddfd41
commit
5a49cc5f4f
|
@ -1979,6 +1979,9 @@ holding export options."
|
|||
(format "\\author{%s\\thanks{%s}}\n" author email))
|
||||
((or author email) (format "\\author{%s}\n" (or author email)))))
|
||||
;; Date.
|
||||
;; LaTeX displays today's date by default. One can override this by
|
||||
;; inserting \date{} for no date, or \date{string} with any other
|
||||
;; string to be displayed as the date.
|
||||
(let ((date (and (plist-get info :with-date) (org-export-get-date info))))
|
||||
(format "\\date{%s}\n" (org-export-data date info)))
|
||||
;; Title and subtitle.
|
||||
|
|
Loading…
Reference in a new issue