diff --git a/2022-03-replication/replication.org b/2022-03-replication/replication.org index 3ebc2e3..6bddf31 100644 --- a/2022-03-replication/replication.org +++ b/2022-03-replication/replication.org @@ -198,10 +198,22 @@ a.csv: gen.py + More flexible than Rmarkdown + Easy to change document class + Can include many different programming languages within the one document -* Problems: using a different latex class -#+BEGIN_SRC org :exports code - +* Using a different latex class +1. Your org mode document will need =#+latex_class: IEEEtran= +2. You'll need to configure Emacs using something like: +#+BEGIN_SRC emacs-lisp +(add-to-list 'org-latex-classes + '("IEEEtran" + "\\documentclass\[10pt\]\{IEEEtran\}" + ("\\section\{%s\}" . "\\section*\{%s\}") + ("\\subsection\{%s\}" . "\\subsection*\{%s\}") + ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}") + ("\\paragraph\{%s\}" . "\\paragraph*\{%s\}") + )) + #+END_SRC +* Formatting numbers + * Further reading