Skip to content
Snippets Groups Projects
Verified Commit 05cd1586 authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
Showing
with 934 additions and 0 deletions
# ULiegeTrigon - Customization package for Trigon theme
This package customizes the [Trigon theme for Beamer](https://www.gitlab.com/thlamb/beamertheme-trigon) in order to follow the ULiège style recommendations. Its main purpose is to pick the right color palette and logos for the different faculties of the University.
A second package, ULiegeColors, is also provided in order to define the official color palette of the University of Liège. These packages are provided separately, so the colors can be loaded independently for other types of documents.
Neither this package, nor the Trigon theme, are officially endorsed by the University. The Trigon theme and this additional package were simply made at first for my personal use (courses, presentations, etc.).
The Trigon theme will be published on CTAN and Overleaf in the near future, under [lppl license](https://www.latex-project.org/lppl/)(_free software_). It will also hopefully get integrated in TexLive and Miktex soon after. This ULiegetrigon package is not meant to be published on these platforms, as its use is limited to the Institution.
## Features
- Adapt theme colors and faculty logo to the official faculty style
## Usage
### Package options
The package options can be adjusted as follows: `\usepackage[<options>]{ULiegetrigon}`
- `faculty=X`, where X is the abbreviation of the faculty
- uliege: ULiege style (default)
- ssoc: Social sciences
- apps: Applied sciences
- med: Medicine
- agro: Agro-Bio Tech
- gemb: Gembloux agro-bio tech
- psy: Psychology
- phi: Philosophy
- sci: Sciences
- vet: Veterinary medicine
- law: Law
- hec: HEC (Management School)
- arch: Architecture
- `titlelogo=X`, where X is the logo style name for the titleslide
- none: no logo on titleslide
- uliege: ULiege logo
- fac: (default) Faculty logo (as defined with faculty=X)
- `slidelogo=X`, where X is the logo style name for the normal slides
- none: no logo on normal slides
- uliege: ULiege logo
- fac: (default) Faculty logo (as defined with faculty=X)
Example:
```
\usepackage[faculty=apps, titlelogo=uliege, slidelogo=none]{ULiegetrigon}
```
### Trigon theme options
The various trigon theme options remain totally usable (slide styles, frame numbering, etc.). See the Trigon documentation for more details and examples.
%% =============================================================================
%%
%% Package providing the official colors of the University of Liège
%%
%% Authors : T. LAMBERT <t.lambert@uliege.be>
%% Filename : ULiegeColors
%% Description : Color Palette of ULiège
%% Version : 1.0 (3/12/2020)
%%
%% ----------------------------------------------------------------------------
%%
%% Notes:
%% - The colors are defined using three different modes supported by xcolor
%% (RGB / HTML / cmyk), so the user can better pick the color model to respect
%% the University guidelines.
%% - If the user want to add options to the xcolor package, it is recommended
%% to load xcolor separately first using the desired options, then call this
%% package afterwards.
%% - All color names are prefixed with 'ulg' so the default colors are not
%% overwritten.
%%
%% License:
%% LPPL v1.3c (http://www.latex-project.org/lppl)
%%
%% =============================================================================
%% -----------------------------------------------------------------------------
%% PACKAGE DEFINITION AND PARAMETERS
%% -----------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ULiegeColors}[2020/12/03 University of Liège Colors]
%% -----------------------------------------------------------------------------
%% REQUIRED PACKAGES
%% -----------------------------------------------------------------------------
\RequirePackage{xcolor}
%% -----------------------------------------------------------------------------
%% COLORS DEFINITION
%% -----------------------------------------------------------------------------
%% --- Primary colors
\definecolor{ulgBlueGreen}{RGB/HTML/cmyk}{0,112,127/00707F/1,0.35,0.45,0.1}
\definecolor{ulgBlueGreenLight}{RGB/HTML/cmyk}{95,164,176/5FA4B0/0.65,0.2,0.3,0}
\definecolor{ulgBeigeLight}{RGB/HTML/cmyk}{232,226,222/E8E2DE/0.1,0.1,0.12,0}
\definecolor{ulgBeigePale}{RGB/HTML/cmyk}{230,230,225/E6E6E1/0.05,0.05,0.05,0}
%% --- Secondary colors (faculty)
\definecolor{ulgBeige}{RGB/HTML/cmyk}{198,192,180/C6C0B4/0.27,0.22,0.3,0} % -
\definecolor{ulgYellow}{RGB/HTML/cmyk}{255,208,0/FFD000/0,0.18,1,0} % Social Sciences
\definecolor{ulgYellowOrange}{RGB/HTML/cmyk}{248,170,0/F8AA00/0,0.38,1,0} % -
\definecolor{ulgOrange}{RGB/HTML/cmyk}{240,127,60/F07F3C/0,0.6,0.8,0} % Applied Sciences
\definecolor{ulgRed}{RGB/HTML/cmyk}{230,45,49/E62D31/0,0.92,0.8,0} % Medicine
\definecolor{ulgGreenPale}{RGB/HTML/cmyk}{185,205,118/B9CD76/0.35,0.05,0.65,0} % Agro Bio-Tech
\definecolor{ulgGreenLight}{RGB/HTML/cmyk}{125,185,40/7DB928/0.58,0,1,0} % Gembloux Agro Bio-Tech
\definecolor{ulgGreen}{RGB/HTML/cmyk}{40,155,56/289B38/0.8,0.1,1,0} % Psychology, Speech therapy & Education Sciences
\definecolor{ulgGreenDark}{RGB/HTML/cmyk}{0,132,59/00843B/1,0.1,1,0.1} % Philosophy
\definecolor{ulgBlueLight}{RGB/HTML/cmyk}{31,186,219/1FBADB/0.7,0,0.12,0} % Sciences
\definecolor{ulgBlue}{RGB/HTML/cmyk}{0,92,169/005CA9/1,0.6,0,0} % -
\definecolor{ulgBlueViolet}{RGB/HTML/cmyk}{91,87,162/5B57A2/0.75,0.7,0,0} % Veterinary Medicine
\definecolor{ulgLavander}{RGB/HTML/cmyk}{141,166,214/8DA6D6/0.5,0.3,0,0} % -
\definecolor{ulgPurple}{RGB/HTML/cmyk}{168,88,158/A8589E/0.4,0.75,0,0} % -
\definecolor{ulgViolet}{RGB/HTML/cmyk}{91,37,125/5B257D/0.8,1,0.06,0.02} % Law, Political Sciences, Criminology
\definecolor{ulgGrey}{RGB/HTML/cmyk}{140,139,130/8C8B82/0.2,0.15,0.25,0.45} % HEC (Management)
\definecolor{ulgGreyLight}{RGB/HTML/cmyk}{181,180,169/B5B4A9/0.3,0.22,0.3,0.08} % Architecture
%% ULiegetrigon.sty
%% Copyright 2021 Thomas Lambert <t.lambert@uliege.be>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Thomas Lambert
%
% This work consists of the files
% - ULiegetrigon.sty
% - ULiegeColors.sty
% -----------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ULiegetrigon}
[2021/02/05 v0.1 ULiege customization for Trigon theme]
\mode<presentation>
%% -----------------------------------------------------------------------------
%% REQUIRED PACKAGES
%% -----------------------------------------------------------------------------
\RequirePackage{pgfopts}
% Load ULiege color palette
\RequirePackage{ULiegeColors}
%% -----------------------------------------------------------------------------
%% OPTIONS
%% -----------------------------------------------------------------------------
% Faculty colors
\pgfkeys{
/ULiegetrigon/faculty/.cd,
.is choice,
uliege/.code=\ULiegetrigon@faculty@uliege,
ssoc/.code=\ULiegetrigon@faculty@ssoc,
apps/.code=\ULiegetrigon@faculty@apps,
med/.code=\ULiegetrigon@faculty@med,
agro/.code=\ULiegetrigon@faculty@agro,
gemb/.code=\ULiegetrigon@faculty@gemb,
psy/.code=\ULiegetrigon@faculty@psy,
phi/.code=\ULiegetrigon@faculty@phi,
sci/.code=\ULiegetrigon@faculty@sci,
vet/.code=\ULiegetrigon@faculty@vet,
law/.code=\ULiegetrigon@faculty@law,
hec/.code=\ULiegetrigon@faculty@hec,
arch/.code=\ULiegetrigon@faculty@arch
}
% Logo on normal slide
\pgfkeys{
/ULiegetrigon/slidelogo/.cd,
.is choice,
none/.code=\smalllogo{},
uliege/.code=\smalllogo{images/logos/uliege_small.pdf},
fac/.code= \smalllogo{images/logos/\facsmalllogo_small.pdf}
}
% Logo on titleslide
\pgfkeys{
/ULiegetrigon/titlelogo/.cd,
.is choice,
none/.code=\biglogo{},
uliege/.code=\biglogo{images/logos/uliege_uliege.pdf},
fac/.code= \biglogo{images/logos/uliege_\facbiglogo.pdf}
}
% Defaults
\newcommand{\ULiegetrigon@setdefaults}{
\pgfkeys{/ULiegetrigon/.cd,
faculty=uliege,
slidelogo=fac,
titlelogo=fac
}
}
% Initialize faclogos
\def\facbiglogo{uliege}
\def\facsmalllogo{uliege}
%% -----------------------------------------------------------------------------
%% FACULTY COLOR PALETTES
%% -----------------------------------------------------------------------------
\newcommand{\ULiegetrigon@faculty@uliege}{
\colorlet{tPrim}{ulgBlueGreen}
\colorlet{tSec}{ulgBlueGreenLight}
\def\facbiglogo{uliege}
\def\facsmalllogo{uliege}
}
\newcommand{\ULiegetrigon@faculty@ssoc}{
\colorlet{tPrim}{ulgYellow}
\colorlet{tSec}{ulgYellowOrange}
\def\facbiglogo{ssoc}
\def\facsmalllogo{ssoc}
}
\newcommand{\ULiegetrigon@faculty@apps}{
\colorlet{tPrim}{ulgOrange}
\colorlet{tSec}{ulgYellowOrange}
\def\facbiglogo{apps}
\def\facsmalllogo{uliege}
}
\newcommand{\ULiegetrigon@faculty@med}{
\colorlet{tPrim}{ulgRed}
\definecolor{ulgRedDark}{HTML}{940104}
\def\facbiglogo{med}
\def\facsmalllogo{med}
\colorlet{tSec}{ulgRedDark}
}
\newcommand{\ULiegetrigon@faculty@agro}{
\colorlet{tPrim}{ulgGreenPale}
\colorlet{tSec}{ulgGreenLight}
\def\facbiglogo{gemb}
\def\facsmalllogo{gemb}
}
\newcommand{\ULiegetrigon@faculty@gemb}{
\colorlet{tPrim}{ulgGreenLight}
\colorlet{tSec}{ulgGreenPale}
\def\facbiglogo{gemb}
\def\facsmalllogo{gemb}
}
\newcommand{\ULiegetrigon@faculty@psy}{
\colorlet{tPrim}{ulgGreen}
\colorlet{tSec}{ulgGreenLight}
\def\facbiglogo{psy}
\def\facsmalllogo{uliege}
}
\newcommand{\ULiegetrigon@faculty@phi}{
\colorlet{tPrim}{ulgGreenDark}
\colorlet{tSec}{ulgGreen}
\def\facbiglogo{phi}
\def\facsmalllogo{phi}
}
\newcommand{\ULiegetrigon@faculty@sci}{
\colorlet{tPrim}{ulgBlueLight}
\colorlet{tSec}{ulgBlue}
\def\facbiglogo{sci}
\def\facsmalllogo{uliege}
}
\newcommand{\ULiegetrigon@faculty@vet}{
\colorlet{tPrim}{ulgBlueViolet}
\colorlet{tSec}{ulgLavander}
\def\facbiglogo{vet}
\def\facsmalllogo{vet}
}
\newcommand{\ULiegetrigon@faculty@law}{
\colorlet{tPrim}{ulgViolet}
\colorlet{tSec}{ulgPurple}
\def\facbiglogo{law}
\def\facsmalllogo{law}
}
\newcommand{\ULiegetrigon@faculty@hec}{
\colorlet{tPrim}{ulgGrey}
\colorlet{tSec}{ulgGreyLight}
\def\facbiglogo{hec}
\def\facsmalllogo{hec}
}
\newcommand{\ULiegetrigon@faculty@arch}{
\colorlet{tPrim}{ulgGreyLight}
\colorlet{tSec}{ulgGrey}
\def\facbiglogo{arch}
\def\facsmalllogo{uliege}
}
\colorlet{tAccent}{ulgOrange} % Same accent color for everything
\ProcessOptionsBeamer
\ULiegetrigon@setdefaults
\ProcessPgfPackageOptions{/ULiegetrigon}
\mode
<all>
File added
File added
File added
File added
File added
File added
This diff is collapsed.
This diff is collapsed.
File added
This diff is collapsed.
File added
File added
File added
File added
This diff is collapsed.
This diff is collapsed.
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment