Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.53 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.53 KB

slides-templates

TrustHLT templates for slides in LaTeX and other formats

Slides template for LaTeX beamer

Install RUB fonts

I've prepared a shell script which downloads the TTF files and installs them

$ chmod +x install-rub-fonts.sh
$ ./install-rub-fonts.sh

Necessary LaTeX packages

If you run a linux distribution (e.g., Ubuntu 24.04 and newer), all packages are provided as part of texlive. Install the following packages

$ sudo apt-get install texlive-latex-recommended texlive-pictures texlive-latex-extra \
texlive-fonts-extra texlive-bibtex-extra texlive-humanities texlive-science \
texlive-luatex biber rubber wget -y

Compile the output PDF with lualatex and biber (using rubber for orchestrating re-compilation easily)

$ rubber --module lualatex 20XX-XX-XX-who-where.tex

Compiling slides using Docker

If you don't run a linux system or don't want to mess up your latex packages, I've tested compiling the slides in a Docker.

Install Docker ( https://docs.docker.com/engine/install/ ), e.g. apt-get install docker.io and add the user do the docker group on Linux

Create a folder to which you clone this repository (for example, $ mkdir -p /tmp/slides)

Run Docker with Ubuntu 24.04 interactively; mount your slides directory under /mnt in this Docker container

$ docker run -it --rm --mount type=bind,source=/tmp/slides,target=/mnt \
ubuntu:24.04 /bin/bash

Once the container is running, update, install packages and fonts as above, and compile the PDF output