This template uses article-cli for project management.
pip install article-cliClone the repository and add the path to your TEXINPUTS environment variable, then use the theme in your presentation:
\usetheme{numpex}Compile presentation.template.tex:
article-cli compile --engine xelatex presentation.template.texCompile poster.template.tex:
article-cli compile --engine xelatex poster.template.texFor the best result, you should install the Marianne font and compile with XeLaTeX.
Install the required fonts (Marianne and Roboto) using article-cli:
article-cli install-fontsThis downloads and extracts the fonts into the fonts/ directory within your project. The beamerfontthemenumpex package is already configured to use fonts from this relative path.
If you prefer manual installation, ensure your LaTeX configuration points to the fonts/ directory.
You can install this theme in any LaTeX project using article-cli:
# Install the numpex theme (default)
article-cli install-theme numpex
# Or install from a custom URL
article-cli install-theme --url https://github.com/numpex/presentation.template.d/archive/refs/heads/main.zip
# List available themes
article-cli install-theme --listThis repository includes a GitHub Actions workflow that uses article-cli to compile LaTeX documents and create releases. The workflow is triggered on pushes to branches and tags.
- Setup: Installs Python and article-cli
- Install Fonts: Downloads required fonts using
article-cli install-fonts - Build LaTeX: Compiles documents using XeLaTeX via
article-cli compile - Release: Creates GitHub releases for tagged commits (e.g.,
v1.0.0)
article-cli setup# Compile with XeLaTeX (required for custom fonts)
article-cli compile --engine xelatex presentation.template.tex
# Compile all .tex files in the project
article-cli compile --engine xelatexarticle-cli create v1.0.0article-cli listarticle-cli cleanProject settings are managed in pyproject.toml:
[tool.article-cli]
[project]
type = "presentation"
[latex]
engine = "xelatex"
[fonts]
enabled = true
install_dir = "fonts"The old a.cli bash script is still available for backward compatibility but is deprecated. Please migrate to article-cli for new projects.
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.