~josealberto4444/latex-templates

Add environments for activities and their solution
Add amsthm package for theorem-style environments
Use integers when comparing integers

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~josealberto4444/latex-templates
read/write
git@git.sr.ht:~josealberto4444/latex-templates

You can also use your local clone with git send-email.

#LaTeX templates

These are all my LaTeX templates. I optionally use the script compile.sh for making the final document as follows:

$ ./compile.sh document.tex

This script, basically, makes the following:

  1. Builds the images from the svg files in img folder if inkscape is installed.

  2. Compiles the document:

    texfot pdflatex -file-line-error -interaction nonstopmode document.tex
    biber document
    texfot pdflatex -file-line-error -interaction nonstopmode document.tex
    texfot pdflatex -file-line-error -interaction nonstopmode document.tex
    

    Explanation:

    • texfot cleans the output of pdflatex so we only get errors and warnings.
    • biber is used for the bibliography.

This script also uses colours for warnings and errors, so they are easily spotted.

Two other useful ways for compiling that I use a lot are the following:

First,

latexmk -pdflatex -silent document.tex

is faster than using the script because it only does the necessary steps in the compilation chain. However, it does not show errors and warnings (but it tells you that there are some). When I want to check them, I use the script.

On the other hand,

latexmk -pvc -pdflatex -silent document.tex

is very useful for viewing changes as they are saved to disk, automatically. It saves a lot of time.

#Licence

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.