| 1 | # Trigon theme |
| 2 | |
| 3 |  |
| 4 | |
| 5 | _A modern, elegant and versatile theme for Beamer._ |
| 6 | |
| 7 | [![Demo][demo-shield]][demo-url] |
| 8 | [![Documentation][docs-shield]][docs-url] |
| 9 | |
| 10 | **Trigon** found its origin and inspiration in the graphical guidelines |
| 11 | resulting from the visual identity overhaul of the [University of |
| 12 | Liège](https://www.uliege.be/cms/c_9247131/en/a-new-visual-identity). |
| 13 | Although directly inspired from these guidelines, the theme was stripped out of |
| 14 | any mention or specificities related the University and its faculties. This |
| 15 | makes the **Trigon** theme perfectly suitable for many different contexts. |
| 16 | |
| 17 | The final product provides a modern, elegant and versatile theme with a |
| 18 | high degree of customization. |
| 19 | The main design focuses on triangular shapes for major layout elements and noise |
| 20 | minimization for the main body of the work. |
| 21 | |
| 22 | The theme is available on [CTAN](https://ctan.org/pkg/beamertheme-trigon) |
| 23 | and a demo template is publicly available on the [Overleaf |
| 24 | Gallery][overleaf-gallery]. |
| 25 | |
| 26 | Feature requests, issues and pull requests are welcome. |
| 27 | |
| 28 | ## Features |
| 29 | |
| 30 | - Multiple style variations for title, section and regular slides |
| 31 | - Dark theme |
| 32 | - Many convenient options (numbering style, toggle section slides, title font |
| 33 | changes,...) |
| 34 | - Looks better on 16:9 format, but supports 4:3 as well |
| 35 | - Lightweight (does not require lots of additional packages) |
| 36 | - Similar options than with [Metropolis theme](https://github.com/matze/mtheme) |
| 37 | |
| 38 | ## Note |
| 39 | |
| 40 | - This theme works best using the `sourcesanspro` font package, which is loaded |
| 41 | by default. As some users may not want to load additional packages or want to |
| 42 | use other fonts, the package can be disabled using the option |
| 43 | `usesourcefonts=false`. |
| 44 | |
| 45 | ## Screenshots |
| 46 | |
| 47 | Default Style | Example alternative style |
| 48 | ----------------------------------------|--------------------------------------- |
| 49 |  |  |
| 50 |  |  |
| 51 |  |  |
| 52 |  |  |
| 53 |  |  |
| 54 |  |  |
| 55 | |
| 56 | ## Installation |
| 57 | |
| 58 | To install a stable version of this theme, please refer to update instructions |
| 59 | of your TeX distribution. Trigon has been on |
| 60 | [CTAN](https://ctan.org/pkg/beamertheme-trigon) since March 2021. For users of |
| 61 | typical TeX distributions (TexLive, MacTeX, MikTeX), simply updating your |
| 62 | package list should install Trigon on your system. |
| 63 | |
| 64 | If you want to use the cutting-edge development version of Trigon, you can |
| 65 | install it manually by following these steps: |
| 66 | |
| 67 | 1. **Download the source** using a `git clone` of the [Trigon |
| 68 | repository](https://gitlab.com/thlamb/beamertheme-trigon) or as a [zip |
| 69 | archive](https://gitlab.com/thlamb/beamertheme-trigon/-/archive/master/beamertheme-trigon-master.zip) |
| 70 | 2. **Compile the style files** by running `make sty` inside the downloaded |
| 71 | directory. (Or run LaTeX directly on `source/trigontheme.ins`.) |
| 72 | 3. **Move the resulting `.sty` files** to the folder containing your |
| 73 | presentation. To use Trigon with many presentations, run `make install` or |
| 74 | move the `*.sty` files to a folder in your TeX path instead. |
| 75 | 4. **Use the theme** by declaring `\usetheme{trigon}` in the preamble of your |
| 76 | document. |
| 77 | |
| 78 | ### Overleaf |
| 79 | |
| 80 | The version of **Trigon** available on Overleaf may not be the latest one. |
| 81 | Overleaf relies on Texlive for its backend latex installation, which they update |
| 82 | once a year (typically around end of Q3). Depending on the time of the year, it |
| 83 | is therefore possible that some of the latest features and developments are not |
| 84 | available on Overleaf. |
| 85 | |
| 86 | _Note that you can see the current version of all packages by using `\listfiles` |
| 87 | in the preamble of the document and looking at the logs of the compilation._ |
| 88 | |
| 89 | Moreover, to avoid breaking changes, documents created with one version of |
| 90 | TexLive keep this same version when they are edited. To use a more recent |
| 91 | version of Trigon in your older documents, you need to [instruct Overleaf to use |
| 92 | the most recent |
| 93 | TexLive](https://www.overleaf.com/blog/new-feature-select-your-tex-live-compiler-version) |
| 94 | Keep in mind that this may cause issues with other packages used in your |
| 95 | presentation that would be updated as well. |
| 96 | |
| 97 | If you still want to use the very latest development, it is best to download the |
| 98 | source code of the package here or over CTAN, compile the `.sty` files locally |
| 99 | and place them at the root of you project on CTAN. |
| 100 | |
| 101 | A template project was created and is publicly available in the [Overleaf |
| 102 | Gallery][overleaf-gallery] to bootstrap your presentation. |
| 103 | |
| 104 | ## Usage |
| 105 | |
| 106 | See [the package documentation][docs-url] for a detailed view of the package |
| 107 | options. |
| 108 | |
| 109 | ## Contributing |
| 110 | |
| 111 | All contributions to this theme are welcomed, whereas in the form of issue |
| 112 | report, feature requests or pull requests. |
| 113 | |
| 114 | If you want to propose an interesting alternative layout for this theme (for |
| 115 | the title, section or regular slides), please make sure to respect the |
| 116 | following criteria: |
| 117 | |
| 118 | - Maximum three main triangles on the layout |
| 119 | - Blending type "multiply" for overlapping triangles |
| 120 | - Triangles must all be equilateral (60° angles), some useful macros are |
| 121 | defined in _beamerinnerthemettrigon.dtx_ for that |
| 122 | |
| 123 | ## References & Acknowledgment |
| 124 | |
| 125 | - The theme structure and options are heavily based on the [Metropolis |
| 126 | theme](https://github.com/matze/mtheme) |
| 127 | - The picture used on the title page of the demo is "_Man in Red Jacket Standing |
| 128 | on the Stairs_": Photo by [Taryn Elliott from Pexels][man-red-jacket]. |
| 129 | |
| 130 | ## License |
| 131 | |
| 132 | Copyright 2021-2023 by Thomas Lambert <[email protected]>. |
| 133 | |
| 134 | **Author and maintainer**: Thomas Lambert. |
| 135 | |
| 136 | This theme is licensed under the [Creative Commons Attribution-ShareAlike 4.0 |
| 137 | International License](https://creativecommons.org/licenses/by-sa/4.0/), which |
| 138 | is essentially a _free software_ license. Do not hesitate to copy and modify |
| 139 | the code to fit your needs. |
| 140 | |
| 141 | Some parts of this repository may be released under a different license than the |
| 142 | main theme. See the [NOTICE.md](NOTICE.md) file for more details. |
| 143 | |
| 144 | [demo-shield]: https://img.shields.io/badge/Demo-PDF-blue.svg |
| 145 | [docs-shield]: https://img.shields.io/badge/Documentation-PDF-blue.svg |
| 146 | [demo-url]: https://gitlab.com/thlamb/beamertheme-trigon/-/jobs/artifacts/master/raw/demo/trigon_demo.pdf?job=tex-compile |
| 147 | [docs-url]: https://gitlab.com/thlamb/beamertheme-trigon/-/jobs/artifacts/master/raw/docs/trigontheme.pdf?job=tex-compile |
| 148 | [overleaf-gallery]: https://www.overleaf.com/latex/templates/trigon-beamer-theme/wjyyzvdzqkgf |
| 149 | [man-red-jacket]: https://www.pexels.com/photo/man-in-red-jacket-standing-on-the-stairs-4390730/ |