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 [email protected]:Tarang74/LaTeX-Submodule.git
If you are using a project that contains this submodule, initialise it with the following commands:
git submodule init
git submodule update --remote
Use the following commands if you want to use the provided .ignore
file.
cp LaTeX-Submodule/.gitignore .gitignore
copy LaTeX-Submodule\.gitignore .gitignore
To 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]