[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 5a49cc5f4f: ox-latex: comment on \date LaTeX macro
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 5a49cc5f4f: ox-latex: comment on \date LaTeX macro |
Date: |
Mon, 1 Aug 2022 12:57:52 -0400 (EDT) |
branch: externals/org
commit 5a49cc5f4f09910fd03d5db590ae2b80f5981a66
Author: Daniel Fleischer <danflscr@gmail.com>
Commit: Daniel Fleischer <danflscr@gmail.com>
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
---
lisp/ox-latex.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 206b1c6d52..3427a7ec60 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org 5a49cc5f4f: ox-latex: comment on \date LaTeX macro,
ELPA Syncer <=