Skip to content
Permalink
d932030085
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Example research paper written with org mode

Introduction

The introduction should not just repeat the abstract but should properly introduce the topic.

Towards the end of the introduction, there should be a statement about what the contribution of the paper. In computer science these days, it is common to use a bullet pointed list with forward references to sections where that contribution can be found.

Related work

When it comes to citing references, org-ref is pretty cool. For example, I can cite a work cite:&kitchinExamplesEffectiveData2015, and this will then show up in the references cite:&wilkinsModellingUncontrolledSolar2018.

Methods and materials

In the method section, you might have a diagram.

heartbeat-0.pdf

Results

While you can manually enter tables in org-mode, such as in autoref:table1.

Class\protect{Mean}\protect{Std}
a0.21.203030
b1.234e-13.8e-3

A similar table can be produced using code, as in autoref:table2.

echo "hello"
import pandas as pd
import numpy as np
import tabulate

df = pd.read_csv("../all.csv")
result = pd.melt(df).groupby("variable").agg(["mean", "std"])
print("""
#+caption: This table was produced from the all.csv data-set. label:table2
#+attr_latex: :align lSS""")

print(
    tabulate.tabulate(result, tablefmt="orgtbl", headers=["Class", "\protect{mean}", "\protect{std}"]),
)
%matplotlib inline
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df = pd.read_csv("../all.csv")
plt.figure()
plt.plot(df['a'], df['b'], '.')
plt.show()

Conclusions

In conclusion, there are many interesting tools for helping with increasing automation and thus reducing errors.

bibliography:~/Documents/zotero-export.bib bibliographystyle:plain

Needed for adding IEEEtran class

(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\}")
               ))

elisp:(org-latex-export-to-pdf)