44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
Markdown
Latex master template
|
|
|
|
# Setup
|
|
|
|
## Install LaTeX packages
|
|
```
|
|
debian/ubuntu:
|
|
sudo apt install -y texlive-full # approx. 2 GiB
|
|
|
|
arch:
|
|
?
|
|
```
|
|
|
|
## Folder structure
|
|
```
|
|
$report # <-- the folder of the $report
|
|
$report/$report.tex # <-- the actual .tex file
|
|
$report/references.bib # <-- bibliography file
|
|
$report/texmaster/ # <-- this is the git repo
|
|
```
|
|
|
|
This can be achived with:
|
|
```sh
|
|
mkdir $report
|
|
cd $report
|
|
git clone https://willipink.eu/git/moritz/texmaster.git
|
|
cp texmaster/master.tex $report.tex
|
|
touch references.bib
|
|
vim $report.tex
|
|
```
|
|
|
|
## TeXStudio configuration
|
|
```
|
|
# options -> configure texstudio
|
|
-> commands -> Biber: "biber %.bcf"
|
|
-> create
|
|
-> compile and display: "Default Compiler, Default Bibliography Tool, Default Compiler, Default Compiler, Default viewer"
|
|
or simply: "txs:///compile | txs:///bibliography | txs:///compile | txs:///compile | txs:///view"
|
|
-> Default Compiler: "PdfLaTeX"
|
|
-> Default Viewer: "PDF Viewer"
|
|
-> PDF Viewer: "Internal PDF-Viewer (embedded)"
|
|
-> Default Biliography Tool: "Biber"
|
|
```
|