A LaTeX paper template that I use for papers and notes. GitHub Location; replaces older version.
By Flip Tanedo (flip.tanedo@ucr.edu)
Uses Jacques Distler's utcaps.bst
and AAS TeX's aas_macros.sty
, included in this repository. Place figures in the \figures
directory.
For those, like me, are less competent with git
and GitHub than we really aught to be.
-
Go to repo's page on GitHub.
-
Click on the green
Code
button just to the top-right of the list of files. -
Copy the URL that pops up. It should be:
https://github.com/fliptanedo/flip-paper-template.git
-
Locally (on your system) go to the parent directory of where you'd like to start a new LaTeX project and open a Terminal (command prompt) window there. Assuming you have
git
set up, you can simply type ingit clone https://github.com/fliptanedo/flip-paper-template.git
-
and press enter.
-
This should create a new folder
flip-paper-template
. Go ahead and rename it right away:mv flip-paper-template new-folder-name
-
Go ahead and start your new project.
-
If you'd like to put this new project on GitHub:
-
Start a new GitHub repository through the web interface.
-
Do not initialize with a
README.md
file. -
Follow the steps to push an existing repository. Except: there's one problem. Your copy of
flip-paper-template
(now renamed) is already connected to the paper template GitHub repository. This should be:git remote set-url origin [https://github.com/....git] git push -u origin master
Where the first line is changed from
git remote add origin
. Note thatmaster
may be renamed tomain
. -
Alternately (in place of previous step), you can remove the obsolete remote and then add the new remote:
git remote rm origin git remote add origin [https://github.com/....git]
-
That should do it.