https://github.com/mmore500/presentation-template
A LaTeX Beamer template for presentations using the Metropolis theme.
https://github.com/mmore500/presentation-template
docker-container latex-beamer latex-beamer-template sans-forgetica singularity-container
Last synced: 11 days ago
JSON representation
A LaTeX Beamer template for presentations using the Metropolis theme.
- Host: GitHub
- URL: https://github.com/mmore500/presentation-template
- Owner: mmore500
- Created: 2017-11-14T19:26:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-09T00:48:09.000Z (over 7 years ago)
- Last Synced: 2025-02-25T06:47:37.728Z (over 1 year ago)
- Topics: docker-container, latex-beamer, latex-beamer-template, sans-forgetica, singularity-container
- Language: TeX
- Size: 16.5 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Presentation Template
[](https://singularity-hub.org/collections/1774)
[](https://circleci.com/gh/mmore500/presentation-template)
A LaTeX Beamer template for presentations using the Metropolis theme.
## Usage
### Docker
If you want to build the container, after cloning this repository:
```bash
docker build -t presentation-template .
```
To generate your pdf, you should bind the directory with main.tex to `/data`
in the container, and provide a prefix for your output. That looks like this, and
```bash
docker run -it -v $PWD:/data presentation-template mypdf
```
After this, the files will be in your present working directory.
```bash
$ ls my*
mypdf.aux mypdf.bbl mypdf.blg mypdf.fdb_latexmk mypdf.fls mypdf.log mypdf.nav mypdf.out mypdf.pdf mypdf.snm mypdf.toc
```
If you don't want to build the container (it takes quite some time) this development
container is provided at [mmore500/presentation-template](https://hub.docker.com/r/mmore500/presentation-template/). You can run it as follows:
```bash
git clone https://www.github.com/mmore500/presentation-template
cd presentation-template
docker run -it -v $PWD:/data mmore500/presentation-template mypdf
```
An [example](example) output is provided. Have fun!
### Singularity
First, build the container.
```bash
sudo singularity build presentation-template.simg Singularity
```
Next, run it and bind the present working directory to data.
```bash
singularity run --bind $PWD:/data presentation-template.simg mypdf
```
## Development
You should build the container with the version provided as a `--build-arg`
as follows. For example, to build the version `1.0.1-rc`:
```bash
$ docker build -t mmore500/presentation-template:1.0.1-rc --build-arg Version=1.0.1-rc .
$ docker push mmore500/presentation-template:1.0.1-rc
```
### How To & What You Get
The original post for the package is [here](https://twitter.com/MorenoMatthewA/status/1048676082952626177).
### Authorship
Matthew Andres Moreno
`matthew.andres.moreno@gmail.com`
### Contributors
- [@vsoch](https://www.github.com/vsoch) contributed Dockerfile and build / run instructions, continuous integration