- paper.md is language agnostic (use for stata/matlab based projects)
- rmd-paper.Rmd uses Rmarkdown and a custome template
lal-paper-template.tex
- forked from Steve Miller's template, which implements nifty features such as hyperlinks to footnotes and citations
- added option to have separate title page
septitle
in yaml boilerplate - added option to centre-align title
titlecentre
in yaml boilerplate - added fancyheaders and added parameter to title paper
fancy-header
in boilerplate - comment out to restore non-fancy page layout
- pweave for python pending
for papers using rmarkdown, plain R files can be extracted using:
library(knitr); knitr::purl('file.Rmd')
Includes placeholder directories for code, data, figures, and tables.
Define a function in ~/.aliases
as follows
# paper template
paperstruct() {
git clone [email protected]:apoorvalal/alal-markdown-paper-template.git $1
cd $1
rm .git -rf
mv rmd-paper.Rmd $1.Rmd
mv rmd-paper.tex $1.tex
echo "Initialise a new git repo for this; goto bitbucket"
}
alias papeR='paperstruct'
then clone by simply doing papeR <papertitle>