4 Commits

Author SHA1 Message Date
Moussouni, Yaël
ee5bdcda2b 2026-01-01: Updated copyright 2026-01-01 00:47:21 +01:00
Moussouni, Yaël
45bb3595c7 2025-12-19: Pass options to class for manchot-beamer 2025-12-19 13:35:13 +01:00
Moussouni, Yaël
fce4e7d1b4 2025-12-19: Pass options to class for manchot-article 2025-12-19 13:33:38 +01:00
Moussouni, Yaël
900d0fc463 2025-12-19: Pass options to class for manchot-beamer 2025-12-19 13:23:03 +01:00
16 changed files with 83 additions and 62 deletions

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% manchot-article.cls % manchot-article.cls
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by
@@ -31,20 +31,12 @@
\ProvidesClass{manchot-article}[2025-05-03] \ProvidesClass{manchot-article}[2025-05-03]
\LoadClass[10pt, a4paper]{article}
% Required Packages % Initial packages
\RequirePackage[utf8]{inputenc} % input encoding \RequirePackage[utf8]{inputenc} % input encoding
\RequirePackage[T1]{fontenc} % font encoding \RequirePackage[T1]{fontenc} % font encoding
\RequirePackage{geometry} % page geometry
\RequirePackage{paracol} % multiple columns
\RequirePackage{fancyhdr} % header and footer
\RequirePackage{xcolor} % colours \RequirePackage{xcolor} % colours
\RequirePackage{pagecolor} % page colours
\RequirePackage{setspace} % spacing between lines
\RequirePackage{cuted} % full width strip environment
\RequirePackage{hyperref} % links, references, etc. - must be the last package
% Definitions % Definitions
@@ -68,13 +60,27 @@
\newlength\varparindent \newlength\varparindent
\newlength\varparskip \newlength\varparskip
\input{src/common_palette.tex} \input{src/common_palette.tex}
% Options % Options
\PassOptionsToClass{10pt}{article}
\PassOptionsToClass{a4paper}{article}
\input{src/article_options.tex} \input{src/article_options.tex}
\LoadClass{article}
% Additional packages
\RequirePackage{geometry} % page geometry
\RequirePackage{paracol} % multiple columns
\RequirePackage{fancyhdr} % header and footer
\RequirePackage{pagecolor} % page colours
\RequirePackage{setspace} % spacing between lines
\RequirePackage{cuted} % full width strip environment
\RequirePackage{hyperref} % links, references, etc. - must be the last package
% Settings % Settings
\input{src/article_settings.tex} \input{src/article_settings.tex}

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% manchot-beamer.cls % manchot-beamer.cls
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by
@@ -31,20 +31,11 @@
\ProvidesClass{manchot-beamer}[2025-05-03] \ProvidesClass{manchot-beamer}[2025-05-03]
\LoadClass[aspectratio=32, compress, 10pt]{beamer} % Initial packages
% Required Packages
\RequirePackage[utf8]{inputenc} % input encoding \RequirePackage[utf8]{inputenc} % input encoding
\RequirePackage[T1]{fontenc} % font encoding \RequirePackage[T1]{fontenc} % font encoding
\RequirePackage{geometry} % page geometry
\RequirePackage{paracol} % multiple columns
\RequirePackage{fancyhdr} % header and footer
\RequirePackage{xcolor} % colours \RequirePackage{xcolor} % colours
\RequirePackage{pagecolor} % page colours
\RequirePackage{setspace} % spacing between lines
\RequirePackage{cuted} % full width strip environment
\RequirePackage{hyperref} % links, references, etc. - must be the last package
% Definitions % Definitions
@@ -84,8 +75,24 @@
% Options % Options
\PassOptionsToClass{aspectratio=32}{beamer}
\PassOptionsToClass{compress}{beamer}
\PassOptionsToClass{10pt}{beamer}
\input{src/beamer_options.tex} \input{src/beamer_options.tex}
\LoadClass{beamer}
% Additional packages
\RequirePackage{geometry} % page geometry
\RequirePackage{paracol} % multiple columns
\RequirePackage{fancyhdr} % header and footer
\RequirePackage{pagecolor} % page colours
\RequirePackage{setspace} % spacing between lines
\RequirePackage{cuted} % full width strip environment
\RequirePackage{hyperref} % links, references, etc. - must be the last package
% Settings % Settings
\input{src/beamer_settings.tex} \input{src/beamer_settings.tex}
@@ -94,5 +101,3 @@
\input{src/beamer_commands.tex} \input{src/beamer_commands.tex}

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% manchot.sty % manchot.sty
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% article_commands.tex % article_commands.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% article_options.tex % article_options.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by
@@ -76,21 +76,18 @@
} }
\DeclareOption{onecolumn}{ \DeclareOption{onecolumn}{
\geometry{top=3cm, bottom=3cm, left=3cm, right=3cm, headheight=1cm, headsep=0.5cm}
\setlength\parindent{0cm} % No paragraph indent
\setlength\parskip{\bigskipamount} % Make bigskip at each new paragraph
\twocolumnfalse \twocolumnfalse
} }
\DeclareOption{twocolumn}{ \DeclareOption{twocolumn}{
\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm, headheight=1cm, headsep=0.5cm}
\setlength\parindent{1em}
\setlength\parskip{0cm}
\twocolumntrue \twocolumntrue
} }
\DeclareOption*{
\PassOptionsToClass{\CurrentOption}{article}
}
\ExecuteOptions{onecolumn, white, colour} \ExecuteOptions{onecolumn, white, colour}
\ProcessOptions\relax \ProcessOptions\relax

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% article_settings.tex % article_settings.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by
@@ -45,6 +45,16 @@
\author{\yii@author\\\yii@institution\\\yii@division} \author{\yii@author\\\yii@institution\\\yii@division}
\date{\yii@date} \date{\yii@date}
\iftwocolumn
\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm, headheight=1cm, headsep=0.5cm}
\setlength\parindent{1em}
\setlength\parskip{0cm}
\else
\geometry{top=3cm, bottom=3cm, left=3cm, right=3cm, headheight=1cm, headsep=0.5cm}
\setlength\parindent{0cm} % No paragraph indent
\setlength\parskip{\bigskipamount} % Make bigskip at each new paragraph
\fi
\ifbright \ifbright
\ifdark \ifdark

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% beamer_commands.tex % beamer_commands.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% beamer_options.tex % beamer_options.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by
@@ -254,8 +254,11 @@
\orangefalse \orangefalse
} }
\DeclareOption*{
\PassOptionsToClass{\CurrentOption}{beamer}
}
\ExecuteOptions{onecolumn, white, colour, default, berlin, cold} \ExecuteOptions{onecolumn, white, colour, default, berlin, cold}
\ProcessOptions\relax \ProcessOptions\relax

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% beamer_settings.tex % beamer_settings.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% common_palette.tex % common_palette.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% package_bibliography.tex % package_bibliography.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% package_commands.tex % package_commands.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% package_corrections.tex % package_corrections.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% package_greek_letters.tex % package_greek_letters.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% package_options.tex % package_options.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by

View File

@@ -11,10 +11,10 @@
% %
% Licence: % Licence:
% MSc2 Internship: SMACS Cluster % MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% package_settings.tex % package_settings.tex
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) % Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% %
% This program is free software: you can redistribute it and/or modify % This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by % it under the terms of the GNU General Public License as published by