Code Monkey home page Code Monkey logo

alal-paper-template's Introduction

(r)markdown paper template + working directory structure for empirical papers

Apoorva Lal

  • 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.

Configuration in bash

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>

alal-paper-template's People

Contributors

apoorvalal avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.