Set up your LaTeX projects quickly using GitHub submodules!
To add this submodule to your LaTeX project, use the following command:
# HTML
git submodule add https://github.com/Tarang74/LaTeX-Submodule
# SSH
git submodule add git@github.com:Tarang74/LaTeX-Submodule.gitIf you are using a project that contains this submodule, initialise it with the following commands:
git submodule init
git submodule update --remoteUse the following commands if you want to use the provided .ignore file.
cp LaTeX-Submodule/.gitignore .gitignorecopy LaTeX-Submodule\.gitignore .gitignoreTo use the definitions in template.tex, place the following command in the preamble of your document.
\input{LaTeX-Submodule/template.tex}make_figures.bat is designed to compile multiple .tikz files from the root directory of the program.
The figures are compiled to PDFs and are stored in ./figures.
To compile a single file, use:
make_figures file [directory] [filename] [options]To compile all .tikz files in a directory use:
make_figures recursive [directory] [options]