The bathslides class: University of Bath presentations
The bathslides LaTeX class is intended to produce slides for University of Bath presentations, or an accompanying transcript, or both. It is based on the beamerswitch class.
Internally, bathslides uses a presentation theme called 'Bath', which can be used independently within beamer.
To use this theme, you will need to have the image files
uob-logo-grey-transparent.pdf (for PDF) and
uob-logo-grey-transparent.eps (for DVI) somewhere TeX can find them.
I recommend you place them in the same folder as
while compiling the class and in a
The files are not distributed with the theme for licensing reasons.
You can download
uob-logo-grey-transparent.eps from the
University of Bath website. To get the PDF version, run
epstopdf uob-logo-grey-transparent.eps. The
epstopdf utility is
available in most TeX distributions.
The documentation uses fonts from the XCharter and sourcesanspro packages, as well as sourcecodepro if XeLaTeX or LuaLaTeX is used, or zi4 (inconsolata) otherwise. To compile the documentation successfully, you will need the minted package installed and working.
A makefile is provided which you can use with the Make utility:
make bathslides.clsgenerates the derived files
makegenerates the above plus
It also downloads
make instinstalls the files (and images) in the user's TeX tree. (To undo, run
make installinstalls the files (and images) in the local TeX tree. (To undo, run
The makefile is set up to use latexmk and lualatex by default. If this causes difficulty you could change it to use pdflatex directly instead.
To install the class from scratch, follow these instructions. If you have downloaded the zip file from the Releases page on GitHub, you can skip the first three steps.
etex bathslides.dtxto generate the class and package files. (You can safely skip this step if you are confident about step 2.)
Compile bathslides.dtx using your favourite version of LaTeX with shell escape enabled (as required by minted for typesetting the listings). You will also need to run it through
makeindex. This will generate the main documentation (DVI or PDF).
Compile bathslides.dtx a second time with
-jobname=bathslides-slidesas a command line option to generate the sample slides. Again, you will need to enable shell escape so that minted can mark up the code listings.
Move the files to your TeX tree as follows:
source/latex/bathslides: bathslides.dtx, bathslides.ins
tex/latex/bathslides: bathcolors.sty, bathslides.cls, beamerthemeBath.sty, and the separately available image files as noted above (unless you have a better place to keep logos)
doc/latex/bathslides: bathslides.pdf, bathslides-slides.pdf, README.md
You may then have to update your installation's file name database before TeX and friends can see the files.
Copyright 2016 Alex Ball.
This work consists of the documented LaTeX file bathslides.dtx, and a Makefile.
The text files contained in this work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version.
This work is "maintained" (as per LPPL maintenance status) by Alex Ball.