Minimal template for typesetting a report (REP) and a presentation (PRE) in LaTeX.
The files Minimal-REP.tex
and Minimal-PRE.tex
contain, respectively, a sample report and presentation typeset using my Minimal theme.
Title page | Sample page |
---|---|
Title slide | Sample slide |
---|---|
To build a pdf version of the report and the presentation simply run the following commands (assuming you have both pdflatex
and bibtex
installed for instance from a MiKTeX distribution):
git clone https://github.com/FMatti/Minimal-DOC.git
cd Minimal-DOC
pdflatex Minimal-REP.tex && bibtex Minimal-REP.aux && pdflatex Minimal-REP.tex && pdflatex Minimal-REP.tex
pdflatex Minimal-PRE.tex && bibtex Minimal-PRE.aux && pdflatex Minimal-PRE.tex && pdflatex Minimal-PRE.tex
Minimal-DOC
│
│ README.md
| LICENSE
│ Minimal-REP.tex (sample report)
│ Minimal-PRE.tex (sample presentation)
│ biblio.bib (bibtex bibliography file)
|
└───minimal
| |
| | stylesheet.sty (style file for reports)
| | beamertheme.sty (style file for presentation)
- If not already done, install VSCode.
- If not already done, install a LaTeX distribution (e.g. MiKTeX).
- In VSCode go to the
Extensions
tab (pressctrl + shift + x
), search forLaTeX Workshop
, and install this extension. - Go to
File > Preferences > Configure User Snippets > latex
and insert the contents of this snippet into thelatex.json
file that you have just opened. You have now access to a variety of code snippets which will be prompted once you type a\
character in a.tex
document. - Press
ctrl + shift + p
to open the command palette. TypePreferences: Open User Settings (JSON)
and pressenter
. In thesettings.json
file then navigate to the variable"latex-workshop.latex.recipes"
and add a the following recipe below any previously defined recipes:
{
"name": "pdflatex ➞ bibtex ➞ pdflatex × 2",
"tools": ["pdflatex", "bibtex", "pdflatex", "pdflatex"]
},
- In VSCode open a
.tex
file and pressctrl + shift + p
to open the command palette. TypeLaTeX Workshop: Build with recipe
, select the recipe namedpdflatex ➞ bibtex ➞ pdflatex × 2
and execute it. - To view the generated
.pdf
file, pressctrl + shift + p
to open the command palette, typeLaTeX Workshop: View LaTeX PDF in VSCode tab
and pressenter
.
After each time you make changes to the .tex
file, you can partially recompile the file by pressing ctrl + s
to see the changes applied to the .pdf
(if you do any changes to the bibliography, you will need to follow the full compilation instructions in point 6.)
This theme is dedicated to two truly amazing friends of mine.