A repo for keeping our shared latex headers
- under the
\\documentclass
line in your latex file type \\input{|"curl --stderr /dev/null https://raw.githubusercontent.com/Billingegroup/latex-headers/main/latex_headers/<header_name>.tex"}
for each file you want to include. Recommended at the time of writing iscmds_general.tex
,cmds_programs.tex
andpackages.tex
- or
\\input{"wget -O - https://raw.githubusercontent.com/Billingegroup/latex-headers/main/latex_headers/packages.tex"}
(note, this command has not been tested, please fix if it needs to be updated) - when you compile the latex add
--shell-escape
to your latex command. e.g., latex --shell-escape <filename>.tex
orpdflatex --shell-escape <filename>.tex
Crib: copy-paste this into your file below the documentclass line:
\input{|"curl --stderr /dev/null https://raw.githubusercontent.com/Billingegroup/latex-headers/main/latex_headers/cmds_general.tex"} \input{|"curl --stderr /dev/null https://raw.githubusercontent.com/Billingegroup/latex-headers/main/latex_headers/cmds_programs.tex"} \input{|"curl --stderr /dev/null https://raw.githubusercontent.com/Billingegroup/latex-headers/main/latex_headers/packages.tex"} %
% to compile, use
% pdflatex --shell-escape <filename>.tex
Please see Simon's group meeting talk here for more details.
Group matplotlib style-files are held in the billingegroup/bg-mpl-stylesheets repository. Instructions for using them can be found in the Readme.md in that repo, with some discussion in Simon's group meeting talk here