mirror of
https://codeberg.org/Yael-II/LaTeX-Package.git
synced 2026-03-14 20:06:28 +01:00
93 lines
2.4 KiB
TeX
93 lines
2.4 KiB
TeX
%[TLP:CLEAR]
|
|
% MANCHOT
|
|
%
|
|
% Manchot is an Astrophysics package aNd Class to Help writing dOcuments in Tex
|
|
% (MANCHOT)
|
|
%
|
|
%@ Author: Moussouni, Yaël (MSc student; yael.moussouni@etu.unistra.fr)
|
|
%@ Institution: Université de Strasbourg, CNRS, Observatoire astronomique
|
|
% de Strasbourg, UMR 7550, F-67000 Strasbourg, France
|
|
%@ Date: 2025-05-03
|
|
%
|
|
% Licence:
|
|
% MSc2 Internship: SMACS Cluster
|
|
% Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
|
%
|
|
% manchot-article.cls
|
|
% Copyright (C) 2026 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
|
%
|
|
% 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
|
|
% the Free Software Foundation; either version 3 of the License, or
|
|
% (at your option) any later version.
|
|
%
|
|
% This program is distributed in the hope that it will be useful,
|
|
% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
% GNU General Public License for more details.
|
|
%
|
|
% You should have received a copy of the GNU General Public License
|
|
% along with this program. If not, see www.gnu.org/licenses/.
|
|
|
|
\ProvidesClass{manchot-article}[2025-05-03]
|
|
|
|
|
|
% Initial packages
|
|
|
|
\RequirePackage[utf8]{inputenc} % input encoding
|
|
\RequirePackage[T1]{fontenc} % font encoding
|
|
\RequirePackage{xcolor} % colours
|
|
|
|
% Definitions
|
|
|
|
\def\yii@warning{}
|
|
\def\yii@title{}
|
|
\def\yii@subtitle{}
|
|
\def\yii@author{}
|
|
\def\yii@institution{}
|
|
\def\yii@division{}
|
|
\def\yii@date{}
|
|
|
|
\def\yii@headtopleft{\yii@title}
|
|
\def\yii@headbottomleft{\yii@subtitle}
|
|
\def\yii@headtopright{\yii@author}
|
|
\def\yii@headbottomright{\yii@institution}
|
|
|
|
\newif\iftwocolumn
|
|
\newif\ifdark
|
|
\newif\ifbright
|
|
|
|
\newlength\varparindent
|
|
\newlength\varparskip
|
|
|
|
\input{src/common_palette.tex}
|
|
|
|
% Options
|
|
|
|
\PassOptionsToClass{10pt}{article}
|
|
\PassOptionsToClass{a4paper}{article}
|
|
|
|
\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
|
|
|
|
\input{src/article_settings.tex}
|
|
|
|
% Commands
|
|
|
|
\input{src/article_commands.tex}
|
|
|
|
|