Just clone the repository, add the path to your TEXINPUTS
environment variable, and you are ready to use the theme in your presentation by adding:
\usetheme{numpex}
Checkout presentation.template.tex
:
bash a.cli build presentation.template.tex
Checkout poster.template.tex
:
bash a.cli build poster.template.tex
For a better result, you should install the Marianne font and compile with XeTeX.
-
Download the Fonts:
- You can download the Marianne fonts using the provided
a.cli
script. Run the following command:bash a.cli installfonts
- This will download and extract the Marianne fonts into the
fonts/
directory within your project.
- You can download the Marianne fonts using the provided
-
Configure LaTeX:
- Ensure your LaTeX configuration points to the
fonts/
directory. The providedbeamerfontthemenumpex
package is already configured to use the relative pathfonts/
.
- Ensure your LaTeX configuration points to the
This repository includes a GitHub Actions workflow to compile the LaTeX document and release the PDF artifact. The workflow is triggered on pushes to branches and tags.
-
Workflow Setup:
- Determines the appropriate runner (
ubuntu-latest
orself-texlive
) based on the availability of a self-hosted runner with theself-texlive
label.
- Determines the appropriate runner (
-
Build LaTeX:
- Compiles the LaTeX document using
latexmk
andxelatex
. - Renames the generated PDF to include the branch or tag name.
- Compiles the LaTeX document using
-
Check:
- Downloads the artifact and verifies that the LaTeX document compiles correctly from the artifact.
-
Release:
- Creates a GitHub release for tagged commits (e.g.,
v1.0.0
). - Uploads the PDF and other relevant files as release assets.
- Creates a GitHub release for tagged commits (e.g.,
-
Setup Hooks:
bash a.cli setup
-
Create a Release:
bash a.cli create v1.0.0
-
List Releases:
bash a.cli list
-
Compile the Document:
bash a.cli build your_document.tex
Feel free to open issues or submit pull requests for improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.