View on GitHub

Latex Code Examples for Papers

Latex code examples (reference, equations, tikz, etc.) for research papers

This is a work-in-progress website of miscellaneous research support files, produced by Fan. Materials include miscellaneous git, github and github pages issues.

From Fan’s other repositories: For dynamic borrowing and savings problems, see Dynamic Asset Repository; For example code, see M4Econ for Matlab, R4Econ for R, and Stata4Econ for Stata; For intro econ with Matlab, see Intro Mathematics for Economists, and for intro stat with R, see Intro Statistics for Undergraduates. See here for all of Fan’s public repositories.

Please contact FanWangEcon for issues or problems.

Installations

  1. Software Updates: Python (Conda), R (R-studio), etc: Rmd | pdf | html
    • Conda base Python, and Conda environment for R
    • conda update –all
    • Rtools, install.packages(), devtools::install_github()
  2. Atom, Git, Github, etc Set-up for Linux: Rmd | pdf | html
    • sudo apt-get install atom; install git
    • git init; config; git remote add; git pull
    • wget; bash; source
    • ssh-keygen -t rsa; cat

github pages and git

  1. Multiple git Repositories setup with Github: Rmd | pdf | html
    • set up ssh rsa security with github
    • initalize multiple repositories
    • secure ssh session to avoid passphrase entry
    • mkdir d1 d2; git config –global; git init; git remote add
    • eval “$(ssh-agent)”; ssh-add ~/.ssh/id_rsa
    • git pull github master; git pull -u github master
  2. Sample Githug page: md | html
    • Conda base Python, and Conda environment for R
    • conda update –all
    • Rtools, install.packages(), devtools::install_github()
  3. Git Subtree: Rmd | pdf | html
    • dropbox folder as main project git
    • subfolder also as git subtree synced to overleaf
    • git: git subtree add, push, pull