Code block in templates.

Commit
854f60ef0e1cdbb0cc2bb86ba7d2177a2f520e63
Author
Blendoit <blendoit@gmail.com>
Author date
Committer
Blendoit <blendoit@gmail.com>
Committer date
templates/documents/default.org
index c5bbdf81..6415af7b 100644..100644
@@ -35,3 +35,18 @@
35 35 #+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate}
36 36 #+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt}
37 37 #+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage/\pageref*{LastPage}\\[0.8em]\footnotesize Compiled with \includegraphics[width=1.618ex]{~/.emacs.d/img/icons/EmacsIcon.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/Org-mode-unicorn.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/LuaTeX_logo.png}/...\\ Copyright \copyright~2020 Marius Peter. All rights reserved.}
38 Added:
39 Added: #+BEGIN_SRC emacs-lisp :exports none :cache no :results raw
40 Added: (concat "#+LATEX_HEADER_EXTRA:"
41 Added: "\\fancyfoot[C]{\\hrulefill\\\\[0.8em] "
42 Added: "Page \\thepage/\\pageref*{LastPage}\\\\[0.8em] "
43 Added: "\\footnotesize Compiled with"
44 Added: "\\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/EmacsIcon.png}/"
45 Added: "\\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/Org-mode-unicorn.png}/"
46 Added: "\\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/LuaTeX_logo.png}/..."
47 Added: " On \\texttt{" (with-temp-buffer (org-insert-time-stamp (current-time)))
48 Added: "}\\\\ Copyright \\copyright~2020 Marius Peter. All rights reserved.}")
49 Added: #+END_SRC
50 Added:
51 Added: # #+RESULTS:
52 Added: # #+LATEX_HEADER_EXTRA:\fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage/\pageref*{LastPage}\\[0.8em] \footnotesize Compiled with\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/EmacsIcon.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/Org-mode-unicorn.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/LuaTeX_logo.png}/... On \texttt{<2020-11-23 Mon>}\\ Copyright \copyright~2020 Marius Peter. All rights reserved.}