119 lines
4.5 KiB
Org Mode
119 lines
4.5 KiB
Org Mode
#+TITLE: Nano Active Stabilization Sysystem
|
|
:DRAWER:
|
|
#+BIND: org-latex-image-default-option "scale=1"
|
|
#+BIND: org-latex-image-default-width ""
|
|
|
|
#+OPTIONS: toc:nil date:nil
|
|
#+AUTHOR:
|
|
|
|
#+LaTeX_CLASS: iucrjournals
|
|
#+LaTeX_CLASS_OPTIONS: [preprint,12pt]
|
|
#+LATEX_HEADER: \input{preamble.tex}
|
|
|
|
#+LATEX_HEADER_EXTRA: \author[a,b]{Thomas Dehaeze\IUCrCemaillink{thomas.dehaeze@esrf.fr}\IUCrOrcidlink{0000-0002-9528-5832}}%
|
|
#+LATEX_HEADER_EXTRA: \author[b]{Christophe Collette\IUCrEmaillink{christophe.collette@uliege.be}\IUCrOrcidlink{0000-0002-4430-3703}}%
|
|
#+LATEX_HEADER_EXTRA: \affil[a]{ESRF, The European Synchrotron, Grenoble, France}
|
|
#+LATEX_HEADER_EXTRA: \affil[b]{Precision Mechatronics Laboratory, University of Li\`{e}ge, Belgium}
|
|
|
|
#+LATEX_HEADER_EXTRA: \input{preamble_extra.tex}
|
|
|
|
#+BIND: org-latex-bib-compiler "biber"
|
|
:END:
|
|
|
|
* Build :noexport:
|
|
#+NAME: startblock
|
|
#+BEGIN_SRC emacs-lisp :results none :tangle no
|
|
(add-to-list 'org-latex-classes
|
|
'("iucrjournals"
|
|
"\\documentclass{iucrjournals}"
|
|
("\\section{%s}" . "\\section*{%s}")
|
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
|
))
|
|
|
|
;; Remove automatic org heading labels
|
|
(defun my-latex-filter-removeOrgAutoLabels (text backend info)
|
|
"Org-mode automatically generates labels for headings despite explicit use of `#+LABEL`. This filter forcibly removes all automatically generated org-labels in headings."
|
|
(when (org-export-derived-backend-p backend 'latex)
|
|
(replace-regexp-in-string "\\\\label{sec:org[a-f0-9]+}\n" "" text)))
|
|
(add-to-list 'org-export-filter-headline-functions
|
|
'my-latex-filter-removeOrgAutoLabels)
|
|
|
|
;; Remove all org comments in the output LaTeX file
|
|
(defun delete-org-comments (backend)
|
|
(loop for comment in (reverse (org-element-map (org-element-parse-buffer)
|
|
'comment 'identity))
|
|
do
|
|
(setf (buffer-substring (org-element-property :begin comment)
|
|
(org-element-property :end comment))
|
|
"")))
|
|
(add-hook 'org-export-before-processing-hook 'delete-org-comments)
|
|
|
|
;; Use no package by default
|
|
(setq org-latex-packages-alist nil)
|
|
(setq org-latex-default-packages-alist nil)
|
|
|
|
;; Do not include the subtitle inside the title
|
|
(setq org-latex-subtitle-separate t)
|
|
(setq org-latex-subtitle-format "\\subtitle{%s}")
|
|
|
|
(setq org-export-before-parsing-hook '(org-ref-glossary-before-parsing
|
|
org-ref-acronyms-before-parsing))
|
|
#+END_SRC
|
|
|
|
* Notes :noexport:
|
|
** Journal
|
|
Journal of Synchrotron Radiation: https://journals.iucr.org/s/
|
|
|
|
#+begin_quote
|
|
2.1. Research Papers
|
|
Full-length Research Papers should not normally exceed the equivalent of about *10000 words*.
|
|
#+end_quote
|
|
|
|
* Title Page :ignore:
|
|
#+begin_export latex
|
|
\begin{synopsis}
|
|
One or two sentences suitable for the Journal contents listing and use in promoting your article via social media, highlighting the findings and significance of your work.
|
|
\end{synopsis}
|
|
|
|
\begin{abstract}
|
|
Single paragraph stating as specifically and as quantitatively as possible the principal results obtained, and providing an indication of the broader significance of the work. The abstract should be capable of being understood on its own without access to the text or figures.
|
|
\end{abstract}
|
|
|
|
\keywords{ Three or four key words/phrases separated by semi-colons. }
|
|
#+end_export
|
|
|
|
* Introduction
|
|
|
|
introduction
|
|
|
|
[[cite:&dehaeze25_nano_activ_stabil]]
|
|
|
|
* Comparison of decoupling strategies
|
|
results
|
|
|
|
* Acknowledgments
|
|
#+begin_export latex
|
|
\begin{acknowledgements}
|
|
The contributions of non-authors etc. should be given here.
|
|
\end{acknowledgements}
|
|
|
|
\begin{funding}
|
|
List funding organizations, recipients, grant numbers, etc.
|
|
\end{funding}
|
|
|
|
\ConflictsOfInterest{Please declare any conflicts of interest, or declare that there are no conflicts of interest.
|
|
}
|
|
|
|
\DataAvailability{Please state how the data supporting the results reported in your article can be accessed, e.g. within the article, as published supporting material, in repositories, upon request...
|
|
}
|
|
#+end_export
|
|
|
|
* Bibliography :ignore:
|
|
#+latex: \bibliography{dehaeze26_nass}
|
|
|
|
* Footnotes
|
|
|
|
[fn:1]$n$ corresponds to the number of degrees of freedom, here $n = 3$
|