mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-16 11:46:26 +00:00
LaTeX export: Define the align macro
This commit is contained in:
parent
b8a4d004f2
commit
b66858acbb
|
@ -1,5 +1,8 @@
|
|||
2010-02-01 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-latex.el (org-export-latex-make-header): Define the align
|
||||
macro if it is not yet defined.
|
||||
|
||||
* org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
|
||||
`org-insert-heading' with the INVISIBLE-OK argument.
|
||||
|
||||
|
|
|
@ -1146,6 +1146,8 @@ OPT-PLIST is the options plist for current buffer."
|
|||
(org-export-apply-macros-in-string
|
||||
(plist-get opt-plist :latex-header-extra))
|
||||
(org-export-apply-macros-in-string org-export-latex-append-header)
|
||||
;; define align if not yet defined
|
||||
"\\ifx\\alert\\undefined\\let\\alert\\textbf\\fi"
|
||||
;; insert the title
|
||||
(format
|
||||
"\n\n\\title{%s}\n"
|
||||
|
|
Loading…
Reference in a new issue