mirror of
https://codeberg.org/Yael-II/LaTeX-Package.git
synced 2026-03-15 04:16:27 +01:00
2025-05-03: Reinitialized repo
This commit is contained in:
108
src/article_commands.tex
Normal file
108
src/article_commands.tex
Normal file
@@ -0,0 +1,108 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% article_commands.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
\newcommand{\setWarning}[1]{\def\yii@warning{{#1}}}
|
||||
\newcommand{\setTitle}[1]{\def\yii@title{{#1}}}
|
||||
\newcommand{\setSubtitle}[1]{\def\yii@subtitle{{#1}}}
|
||||
\newcommand{\setAuthor}[1]{\def\yii@author{{#1}}}
|
||||
\newcommand{\setInstitution}[1]{\def\yii@institution{{#1}}}
|
||||
\newcommand{\setDivision}[1]{\def\yii@division{{#1}}}
|
||||
\newcommand{\setDate}[1]{\def\yii@date{{#1}}}
|
||||
|
||||
\newcommand{\getWarning}{\yii@warning}
|
||||
\newcommand{\getTitle}{\yii@title}
|
||||
\newcommand{\getSubtitle}{\yii@subtitle}
|
||||
\newcommand{\getAuthor}{\yii@author}
|
||||
\newcommand{\getInstitution}{\yii@institution}
|
||||
\newcommand{\getDivision}{\yii@division}
|
||||
\newcommand{\getDate}{\yii@date}
|
||||
|
||||
\newcommand{\setHeadTopLeft}[1]{\def\yii@headtopleft{{#1}}}
|
||||
\newcommand{\setHeadBottomLeft}[1]{\def\yii@headbottomleft{{#1}}}
|
||||
\newcommand{\setHeadTopRight}[1]{\def\yii@headtopright{{#1}}}
|
||||
\newcommand{\setHeadBottomRight}[1]{\def\yii@headbottomright{{#1}}}
|
||||
|
||||
% Title page
|
||||
\DeclareDocumentCommand\shorttitle{}{
|
||||
\iftwocolumn
|
||||
\begin{strip}
|
||||
\maketitle
|
||||
\end{strip}
|
||||
\else
|
||||
\maketitle
|
||||
\fi
|
||||
}
|
||||
|
||||
\DeclareDocumentCommand\longtitle{s o m}{
|
||||
\iftwocolumn
|
||||
\onecolumn
|
||||
\fi
|
||||
\thispagestyle{empty}
|
||||
\IfBooleanTF{#1}{
|
||||
\vspace*{5cm}
|
||||
}{
|
||||
\noindent\includegraphics[height=2cm]{#3}
|
||||
\vspace*{3cm}
|
||||
}
|
||||
\begin{spacing}{1.7}
|
||||
\begin{center}
|
||||
{\huge\noindent\yii@title}
|
||||
|
||||
\vspace*{1cm}
|
||||
|
||||
{\LARGE\noindent\yii@subtitle}
|
||||
\vspace*{1cm}
|
||||
|
||||
{\large\noindent\yii@author}
|
||||
|
||||
{\large\noindent\yii@institution}
|
||||
|
||||
{\large\noindent\yii@division}
|
||||
|
||||
\vspace*{1cm}
|
||||
{\large\noindent\yii@date}
|
||||
\end{center}
|
||||
\end{spacing}
|
||||
\IfValueT{#2}{
|
||||
\vfill
|
||||
\begin{center}
|
||||
\noindent{#2}
|
||||
\end{center}
|
||||
\vfill
|
||||
}
|
||||
\newpage
|
||||
\tableofcontents
|
||||
\newpage
|
||||
\iftwocolumn
|
||||
\twocolumn
|
||||
\fi
|
||||
}
|
||||
|
||||
92
src/article_options.tex
Normal file
92
src/article_options.tex
Normal file
@@ -0,0 +1,92 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% article_options.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
% Options
|
||||
|
||||
\DeclareOption{white}{
|
||||
\darkfalse
|
||||
\colorlet{fg}{black}
|
||||
\colorlet{bg}{white}
|
||||
}
|
||||
|
||||
\DeclareOption{light-grey}{
|
||||
\darkfalse
|
||||
\colorlet{fg}{bright-black}
|
||||
\colorlet{bg}{bright-white}
|
||||
}
|
||||
|
||||
\DeclareOption{light}{
|
||||
\darkfalse
|
||||
\colorlet{fg}{colour-black}
|
||||
\colorlet{bg}{colour-white}
|
||||
}
|
||||
|
||||
\DeclareOption{dark}{
|
||||
\darktrue
|
||||
\colorlet{bg}{colour-black}
|
||||
\colorlet{fg}{colour-white}
|
||||
}
|
||||
|
||||
\DeclareOption{grey}{
|
||||
\darktrue
|
||||
\colorlet{bg}{bright-black}
|
||||
\colorlet{fg}{bright-white}
|
||||
}
|
||||
|
||||
\DeclareOption{black}{
|
||||
\darktrue
|
||||
\colorlet{bg}{black}
|
||||
\colorlet{fg}{white}
|
||||
}
|
||||
|
||||
\DeclareOption{colour}{
|
||||
\brightfalse
|
||||
}
|
||||
|
||||
\DeclareOption{bright}{
|
||||
\brighttrue
|
||||
}
|
||||
|
||||
\DeclareOption{onecolumn}{
|
||||
\geometry{top=3cm, bottom=3cm, left=3cm, right=3cm, headheight=1cm, headsep=0.5cm}
|
||||
\twocolumnfalse
|
||||
}
|
||||
|
||||
\DeclareOption{twocolumn}{
|
||||
\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm, headheight=1cm, headsep=0.5cm}
|
||||
\twocolumntrue
|
||||
}
|
||||
|
||||
\ExecuteOptions{onecolumn, white, colour}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
|
||||
78
src/article_settings.tex
Normal file
78
src/article_settings.tex
Normal file
@@ -0,0 +1,78 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% article_settings.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
\pagecolor{bg}
|
||||
\color{fg}
|
||||
|
||||
\AddToHook{shipout/lastpage}{\label{LastPage}}
|
||||
\pagestyle{fancy}
|
||||
\fancyhead[L]{{\footnotesize\yii@headtopleft\\\yii@headbottomleft}}
|
||||
\fancyhead[R]{{\footnotesize\yii@headtopright\\\yii@headbottomright}}
|
||||
\fancyfoot[C]{\thepage\ / \pageref*{LastPage}}
|
||||
\AddToHook{shipout/background}{\put(1.3cm, -0.3\paperheight){\rotatebox[origin=c]{90}{{\large \normalfont \textbf{\textcolor{bright-red}{\yii@warning}}}}}}
|
||||
|
||||
\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrule}{}} % Correct foot in plain style
|
||||
|
||||
\title{\yii@title\\\yii@subtitle}
|
||||
\author{\yii@author\\\yii@institution\\\yii@division}
|
||||
\date{\yii@date}
|
||||
|
||||
|
||||
\ifbright
|
||||
\ifdark
|
||||
\colorlet{cold-fg}{bright-light-blue}
|
||||
\colorlet{cold-bg}{bright-blue}
|
||||
\colorlet{warm-fg}{bright-yellow}
|
||||
\colorlet{warm-bg}{bright-red}
|
||||
\else
|
||||
\colorlet{cold-fg}{bright-blue}
|
||||
\colorlet{cold-bg}{bright-light-blue}
|
||||
\colorlet{warm-fg}{bright-red}
|
||||
\colorlet{warm-bg}{bright-yellow}
|
||||
\fi
|
||||
\else
|
||||
\ifdark
|
||||
\colorlet{cold-fg}{colour-light-blue}
|
||||
\colorlet{cold-bg}{colour-blue}
|
||||
\colorlet{warm-fg}{colour-yellow}
|
||||
\colorlet{warm-bg}{colour-red}
|
||||
\else
|
||||
\colorlet{cold-fg}{colour-blue}
|
||||
\colorlet{cold-bg}{colour-light-blue}
|
||||
\colorlet{warm-fg}{colour-red}
|
||||
\colorlet{warm-bg}{colour-yellow}
|
||||
\fi
|
||||
\fi
|
||||
|
||||
\hypersetup{unicode, colorlinks=true,linkcolor=cold-fg, citecolor=cold-fg, filecolor=cold-fg, urlcolor=cold-fg}
|
||||
\setlength{\columnsep}{1cm}
|
||||
|
||||
|
||||
52
src/beamer_commands.tex
Normal file
52
src/beamer_commands.tex
Normal file
@@ -0,0 +1,52 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% beamer_commands.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
\newcommand{\setWarning}[1]{\def\yii@warning{{#1}}}
|
||||
\newcommand{\setTitle}[1]{\def\yii@title{{#1}}}
|
||||
\newcommand{\setSubtitle}[1]{\def\yii@subtitle{{#1}}}
|
||||
\newcommand{\setAuthor}[1]{\def\yii@author{{#1}}}
|
||||
\newcommand{\setInstitution}[1]{\def\yii@institution{{#1}}}
|
||||
\newcommand{\setDivision}[1]{\def\yii@division{{#1}}}
|
||||
\newcommand{\setDate}[1]{\def\yii@date{{#1}}}
|
||||
|
||||
\newcommand{\getWarning}{\yii@warning}
|
||||
\newcommand{\getTitle}{\yii@title}
|
||||
\newcommand{\getSubtitle}{\yii@subtitle}
|
||||
\newcommand{\getAuthor}{\yii@author}
|
||||
\newcommand{\getInstitution}{\yii@institution}
|
||||
\newcommand{\getDivision}{\yii@division}
|
||||
\newcommand{\getDate}{\yii@date}
|
||||
|
||||
\newcommand{\setHeadTopLeft}[1]{\def\yii@headtopleft{{#1}}}
|
||||
\newcommand{\setHeadBottomLeft}[1]{\def\yii@headbottomleft{{#1}}}
|
||||
\newcommand{\setHeadTopRight}[1]{\def\yii@headtopright{{#1}}}
|
||||
\newcommand{\setHeadBottomRight}[1]{\def\yii@headbottomright{{#1}}}
|
||||
|
||||
261
src/beamer_options.tex
Normal file
261
src/beamer_options.tex
Normal file
@@ -0,0 +1,261 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% beamer_options.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
% Options
|
||||
|
||||
\DeclareOption{white}{
|
||||
\darkfalse
|
||||
\colorlet{fg}{black}
|
||||
\colorlet{bg}{white}
|
||||
\colorlet{slide-fg}{black}
|
||||
\colorlet{slide-bg}{white}
|
||||
}
|
||||
|
||||
\DeclareOption{light-grey}{
|
||||
\darkfalse
|
||||
\colorlet{fg}{bright-black}
|
||||
\colorlet{bg}{bright-white}
|
||||
\colorlet{slide-fg}{bright-black}
|
||||
\colorlet{slide-bg}{bright-white}
|
||||
}
|
||||
|
||||
\DeclareOption{light}{
|
||||
\darkfalse
|
||||
\colorlet{fg}{colour-black}
|
||||
\colorlet{bg}{colour-white}
|
||||
\colorlet{slide-fg}{colour-black}
|
||||
\colorlet{slide-bg}{colour-white}
|
||||
}
|
||||
|
||||
\DeclareOption{dark}{
|
||||
\darktrue
|
||||
\colorlet{bg}{colour-black}
|
||||
\colorlet{fg}{colour-white}
|
||||
\colorlet{slide-bg}{colour-black}
|
||||
\colorlet{slide-fg}{colour-white}
|
||||
}
|
||||
|
||||
\DeclareOption{grey}{
|
||||
\darktrue
|
||||
\colorlet{bg}{bright-black}
|
||||
\colorlet{fg}{bright-white}
|
||||
\colorlet{slide-bg}{bright-black}
|
||||
\colorlet{slide-fg}{bright-white}
|
||||
}
|
||||
|
||||
\DeclareOption{black}{
|
||||
\darktrue
|
||||
\colorlet{bg}{black}
|
||||
\colorlet{fg}{white}
|
||||
\colorlet{slide-bg}{black}
|
||||
\colorlet{slide-fg}{white}
|
||||
}
|
||||
|
||||
\DeclareOption{colour}{
|
||||
\brightfalse
|
||||
}
|
||||
|
||||
\DeclareOption{bright}{
|
||||
\brighttrue
|
||||
}
|
||||
|
||||
\DeclareOption{serif}{
|
||||
\seriftrue
|
||||
}
|
||||
|
||||
\DeclareOption{sans}{
|
||||
\seriffalse
|
||||
}
|
||||
|
||||
\DeclareOption{berlin}{
|
||||
\berlintrue
|
||||
\ilmenaufalse
|
||||
}
|
||||
|
||||
\DeclareOption{ilmenau}{
|
||||
\berlinfalse
|
||||
\ilmenautrue
|
||||
}
|
||||
|
||||
\DeclareOption{cold}{
|
||||
\coldtrue
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violetfalse
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
\DeclareOption{warm}{
|
||||
\coldfalse
|
||||
\warmtrue
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violetfalse
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
\DeclareOption{blue}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluetrue
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violetfalse
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
\DeclareOption{light-blue}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluetrue
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violetfalse
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
|
||||
\DeclareOption{red}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redtrue
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violetfalse
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
|
||||
\DeclareOption{yellow}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowtrue
|
||||
\greenfalse
|
||||
\violetfalse
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
|
||||
\DeclareOption{green}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greentrue
|
||||
\violetfalse
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
|
||||
\DeclareOption{violet}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violettrue
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
|
||||
\DeclareOption{cyan}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violetfalse
|
||||
\cyantrue
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
|
||||
\DeclareOption{orange}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violetfalse
|
||||
\cyanfalse
|
||||
\orangetrue
|
||||
}
|
||||
|
||||
\DeclareOption{purple}{
|
||||
\coldfalse
|
||||
\warmfalse
|
||||
\bluefalse
|
||||
\lightbluefalse
|
||||
\redfalse
|
||||
\yellowfalse
|
||||
\greenfalse
|
||||
\violettrue
|
||||
\cyanfalse
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
\ExecuteOptions{onecolumn, white, colour, default, berlin, cold}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
|
||||
206
src/beamer_settings.tex
Normal file
206
src/beamer_settings.tex
Normal file
@@ -0,0 +1,206 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% beamer_settings.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
\AddToHook{shipout/lastpage}{\label{LastPage}}
|
||||
%\AddToHook{shipout/background}{\put(1.3cm, -0.3\paperheight){\rotatebox[origin=c]{90}{{\large \normalfont \textbf{\textcolor{bright-red}{\yii@warning}}}}}}
|
||||
|
||||
\title[\yii@headtopleft]{\yii@title}
|
||||
\subtitle[\yii@headbottomleft]{\yii@subtitle}
|
||||
\author[\yii@headtopright]{\yii@author}
|
||||
\institute[\yii@headbottomright]{\yii@institution\\\yii@division}
|
||||
|
||||
\date{{\footnotesize\yii@date}}
|
||||
|
||||
\ifbright
|
||||
\ifdark
|
||||
\colorlet{cold-fg}{bright-light-blue}
|
||||
\colorlet{cold-bg}{bright-blue}
|
||||
\colorlet{warm-fg}{bright-yellow}
|
||||
\colorlet{warm-bg}{bright-red}
|
||||
\else
|
||||
\colorlet{cold-fg}{bright-blue}
|
||||
\colorlet{cold-bg}{bright-light-blue}
|
||||
\colorlet{warm-fg}{bright-red}
|
||||
\colorlet{warm-bg}{bright-yellow}
|
||||
\fi
|
||||
\else
|
||||
\ifdark
|
||||
\colorlet{cold-fg}{colour-light-blue}
|
||||
\colorlet{cold-bg}{colour-blue}
|
||||
\colorlet{warm-fg}{colour-yellow}
|
||||
\colorlet{warm-bg}{colour-red}
|
||||
\else
|
||||
\colorlet{cold-fg}{colour-blue}
|
||||
\colorlet{cold-bg}{colour-light-blue}
|
||||
\colorlet{warm-fg}{colour-red}
|
||||
\colorlet{warm-bg}{colour-yellow}
|
||||
\fi
|
||||
\fi
|
||||
|
||||
\hypersetup{unicode, colorlinks=false, citecolor=cold-fg, filecolor=cold-fg, urlcolor=cold-fg}
|
||||
|
||||
% Beamer look
|
||||
|
||||
%% Presentation theme
|
||||
|
||||
\ifberlin
|
||||
\usetheme{Berlin}
|
||||
\fi
|
||||
\ifilmenau
|
||||
\usetheme{Ilmenau}
|
||||
\fi
|
||||
|
||||
%% Font theme
|
||||
|
||||
\ifserif
|
||||
\usefonttheme{serif}
|
||||
\else
|
||||
\usefonttheme{default}
|
||||
\let\mathnormal\mathsf
|
||||
\let\mathrm\mathsf
|
||||
\let\textsc\text
|
||||
\fi
|
||||
|
||||
%% Colour theme
|
||||
\usecolortheme[rgb={0.5,0.5,0.5}]{structure}
|
||||
\colorlet{slide-aa}{slide-bg}
|
||||
|
||||
\ifcold
|
||||
\setbeamercolor{structure}{fg=cold-fg}
|
||||
\fi
|
||||
\ifwarm
|
||||
\setbeamercolor{structure}{fg=warm-fg}
|
||||
\fi
|
||||
\ifblue
|
||||
\ifbright
|
||||
\setbeamercolor{structure}{fg=bright-blue}
|
||||
\else
|
||||
\setbeamercolor{structure}{fg=colour-blue}
|
||||
\fi
|
||||
\ifdark
|
||||
\colorlet{slide-aa}{slide-fg}
|
||||
\else
|
||||
\fi
|
||||
\fi
|
||||
\iflightblue
|
||||
\ifbright
|
||||
\setbeamercolor{structure}{fg=bright-light-blue}
|
||||
\else
|
||||
\setbeamercolor{structure}{fg=colour-light-blue}
|
||||
\fi
|
||||
\ifdark
|
||||
\else
|
||||
\colorlet{slide-aa}{slide-fg}
|
||||
\fi
|
||||
\fi
|
||||
\ifred
|
||||
\ifbright
|
||||
\setbeamercolor{structure}{fg=bright-red}
|
||||
\else
|
||||
\setbeamercolor{structure}{fg=colour-red}
|
||||
\fi
|
||||
\ifdark
|
||||
\colorlet{slide-aa}{slide-fg}
|
||||
\else
|
||||
\fi
|
||||
\fi
|
||||
\ifyellow
|
||||
\ifbright
|
||||
\setbeamercolor{structure}{fg=bright-yellow}
|
||||
\else
|
||||
\setbeamercolor{structure}{fg=colour-yellow}
|
||||
\fi
|
||||
\ifdark
|
||||
\else
|
||||
\fi
|
||||
\fi
|
||||
\ifgreen
|
||||
\ifbright
|
||||
\setbeamercolor{structure}{fg=bright-green}
|
||||
\else
|
||||
\setbeamercolor{structure}{fg=colour-green}
|
||||
\fi
|
||||
\ifdark
|
||||
\colorlet{slide-aa}{slide-fg}
|
||||
\else
|
||||
\fi
|
||||
\fi
|
||||
\ifviolet
|
||||
\ifbright
|
||||
\setbeamercolor{structure}{fg=bright-violet}
|
||||
\else
|
||||
\setbeamercolor{structure}{fg=colour-violet}
|
||||
\fi
|
||||
\ifdark
|
||||
\colorlet{slide-aa}{slide-fg}
|
||||
\else
|
||||
\fi
|
||||
\fi
|
||||
\ifcyan
|
||||
\ifbright
|
||||
\setbeamercolor{structure}{fg=bright-cyan}
|
||||
\else
|
||||
\setbeamercolor{structure}{fg=colour-cyan}
|
||||
\fi
|
||||
\ifdark
|
||||
\colorlet{slide-aa}{slide-fg}
|
||||
\else
|
||||
\fi
|
||||
\fi
|
||||
\iforange
|
||||
\ifbright
|
||||
\setbeamercolor{structure}{fg=bright-orange}
|
||||
\else
|
||||
\setbeamercolor{structure}{fg=colour-orange}
|
||||
\fi
|
||||
\ifdark
|
||||
\colorlet{slide-aa}{slide-fg}
|
||||
\else
|
||||
\fi
|
||||
\fi
|
||||
|
||||
\setbeamercolor{normal text}{fg=slide-fg, bg=slide-bg}
|
||||
\setbeamercolor{structure}{bg=black}
|
||||
|
||||
\setbeamercolor{palette primary}{fg=slide-aa, bg=structure.fg}
|
||||
\setbeamercolor{palette secondary}{fg=slide-aa, bg=structure.fg!80!structure.bg}
|
||||
\setbeamercolor{palette tertiary}{fg=slide-aa, bg=structure.fg!60!structure.bg}
|
||||
\setbeamercolor{palette quaternary}{fg=slide-aa, bg=structure.fg!40!structure.bg}
|
||||
\setbeamercolor{alerted text}{fg=colour-orange}
|
||||
\setbeamercolor{item projected}{fg=slide-aa}
|
||||
\setbeamercolor{section in toc}{fg=normal text.fg}
|
||||
|
||||
% Tweaks
|
||||
|
||||
\setbeamertemplate{page number in head/foot}[framenumber]
|
||||
\setbeamertemplate{caption}[numbered]
|
||||
\beamertemplatenavigationsymbolsempty
|
||||
|
||||
100
src/common_palette.tex
Normal file
100
src/common_palette.tex
Normal file
@@ -0,0 +1,100 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% common_palette.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
% Default palette
|
||||
|
||||
\definecolor{colour-blue}{HTML}{113847}
|
||||
\definecolor{colour-light-blue}{HTML}{88AAC6}
|
||||
\definecolor{colour-red}{HTML}{4D251D}
|
||||
\definecolor{colour-yellow}{HTML}{BD9A5A}
|
||||
\definecolor{colour-green}{HTML}{3F4738}
|
||||
\definecolor{colour-violet}{HTML}{5F2C51}
|
||||
\definecolor{colour-cyan}{HTML}{1D627E}
|
||||
\definecolor{colour-orange}{HTML}{9B4D40}
|
||||
|
||||
\colorlet{colour-purple}{colour-violet}
|
||||
|
||||
% Bright palette
|
||||
|
||||
\definecolor{bright-white}{HTML}{DDDDDD}
|
||||
\definecolor{bright-black}{HTML}{121212}
|
||||
|
||||
\definecolor{bright-blue}{HTML}{06518E}
|
||||
\definecolor{bright-light-blue}{HTML}{009EDB}
|
||||
\definecolor{bright-red}{HTML}{ED1C24}
|
||||
\definecolor{bright-yellow}{HTML}{E8BD0F}
|
||||
\definecolor{bright-green}{HTML}{3B795E}
|
||||
\definecolor{bright-violet}{HTML}{C95BCF}
|
||||
\definecolor{bright-cyan}{HTML}{216576}
|
||||
\definecolor{bright-light-cyan}{HTML}{1E8C9D}
|
||||
\definecolor{bright-orange}{HTML}{EB6D1A}
|
||||
|
||||
\colorlet{bright-purple}{bright-violet}
|
||||
|
||||
% Blue palette
|
||||
|
||||
\definecolor{blues-1}{HTML}{D6E3EC}
|
||||
\definecolor{blues-2}{HTML}{88AAC6} % light blue
|
||||
\definecolor{blues-3}{HTML}{4A5B65}
|
||||
\definecolor{blues-4}{HTML}{21475A}
|
||||
\definecolor{blues-5}{HTML}{113847} % blue
|
||||
|
||||
% Grey palette
|
||||
|
||||
\definecolor{greys-1}{HTML}{CED8DB} % white
|
||||
\definecolor{greys-2}{HTML}{A4B0B4}
|
||||
\definecolor{greys-3}{HTML}{7A888C} % grey
|
||||
\definecolor{greys-4}{HTML}{596569}
|
||||
\definecolor{greys-5}{HTML}{171F22} % black
|
||||
|
||||
\colorlet{colour-white}{greys-1}
|
||||
\colorlet{colour-grey}{greys-3}
|
||||
\colorlet{colour-black}{greys-5}
|
||||
|
||||
% bluegreen palette
|
||||
|
||||
\definecolor{bluegreen-1}{HTML}{C2D0DB}
|
||||
\definecolor{bluegreen-2}{HTML}{6C8B90}
|
||||
\definecolor{bluegreen-3}{HTML}{4D6C5B}
|
||||
\definecolor{bluegreen-4}{HTML}{3A5662}
|
||||
\definecolor{bluegreen-5}{HTML}{31504B}
|
||||
|
||||
% tree palette
|
||||
|
||||
\definecolor{tree-1}{HTML}{CFDED7}
|
||||
\definecolor{tree-2}{HTML}{806655} % brown
|
||||
\definecolor{tree-3}{HTML}{3F4738} % green
|
||||
\definecolor{tree-4}{HTML}{113847} % blue
|
||||
\definecolor{tree-5}{HTML}{122921} % dark green
|
||||
|
||||
\colorlet{colour-brown}{tree-2}
|
||||
\colorlet{colour-dark-green}{tree-5}
|
||||
|
||||
92
src/package_bibliography.tex
Normal file
92
src/package_bibliography.tex
Normal file
@@ -0,0 +1,92 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% package_bibliography.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
\newcommand*\aap{A\&A}
|
||||
\let\astap=\aap
|
||||
\newcommand*\aapr{A\&A~Rev.}
|
||||
\newcommand*\aaps{A\&AS}
|
||||
\newcommand*\actaa{Acta Astron.}
|
||||
\newcommand*\aj{AJ}
|
||||
\newcommand*\ao{Appl.~Opt.}
|
||||
\let\applopt\ao
|
||||
\newcommand*\apj{ApJ}
|
||||
\newcommand*\apjl{ApJ}
|
||||
\let\apjlett\apjl
|
||||
\newcommand*\apjs{ApJS}
|
||||
\let\apjsupp\apjs
|
||||
\newcommand*\aplett{Astrophys.~Lett.}
|
||||
\newcommand*\apspr{Astrophys.~Space~Phys.~Res.}
|
||||
\newcommand*\apss{Ap\&SS}
|
||||
\newcommand*\araa{ARA\&A}
|
||||
\newcommand*\azh{AZh}
|
||||
\newcommand*\baas{BAAS}
|
||||
\newcommand*\bac{Bull. astr. Inst. Czechosl.}
|
||||
\newcommand*\bain{Bull.~Astron.~Inst.~Netherlands}
|
||||
\newcommand*\caa{Chinese Astron. Astrophys.}
|
||||
\newcommand*\cjaa{Chinese J. Astron. Astrophys.}
|
||||
\newcommand*\fcp{Fund.~Cosmic~Phys.}
|
||||
\newcommand*\gca{Geochim.~Cosmochim.~Acta}
|
||||
\newcommand*\grl{Geophys.~Res.~Lett.}
|
||||
\newcommand*\iaucirc{IAU~Circ.}
|
||||
\newcommand*\icarus{Icarus}
|
||||
\newcommand*\jcap{J. Cosmology Astropart. Phys.}
|
||||
\newcommand*\jcp{J.~Chem.~Phys.}
|
||||
\newcommand*\jgr{J.~Geophys.~Res.}
|
||||
\newcommand*\jqsrt{J.~Quant.~Spectr.~Rad.~Transf.}
|
||||
\newcommand*\jrasc{JRASC}
|
||||
\newcommand*\memras{MmRAS}
|
||||
\newcommand*\memsai{Mem.~Soc.~Astron.~Italiana}
|
||||
\newcommand*\mnras{MNRAS}
|
||||
\newcommand*\na{New A}
|
||||
\newcommand*\nar{New A Rev.}
|
||||
\newcommand*\nat{Nature}
|
||||
\newcommand*\nphysa{Nucl.~Phys.~A}
|
||||
\newcommand*\pasa{PASA}
|
||||
\newcommand*\pasj{PASJ}
|
||||
\newcommand*\pasp{PASP}
|
||||
\newcommand*\physrep{Phys.~Rep.}
|
||||
\newcommand*\physscr{Phys.~Scr}
|
||||
\newcommand*\planss{Planet.~Space~Sci.}
|
||||
\newcommand*\pra{Phys.~Rev.~A}
|
||||
\newcommand*\prb{Phys.~Rev.~B}
|
||||
\newcommand*\prc{Phys.~Rev.~C}
|
||||
\newcommand*\prd{Phys.~Rev.~D}
|
||||
\newcommand*\pre{Phys.~Rev.~E}
|
||||
\newcommand*\prl{Phys.~Rev.~Lett.}
|
||||
\newcommand*\procspie{Proc.~SPIE}
|
||||
\newcommand*\qjras{QJRAS}
|
||||
\newcommand*\rmxaa{Rev. Mexicana Astron. Astrofis.}
|
||||
\newcommand*\skytel{S\&T}
|
||||
\newcommand*\solphys{Sol.~Phys.}
|
||||
\newcommand*\sovast{Soviet~Ast.}
|
||||
\newcommand*\ssr{Space~Sci.~Rev.}
|
||||
\newcommand*\zap{ZAp}
|
||||
|
||||
244
src/package_commands.tex
Normal file
244
src/package_commands.tex
Normal file
@@ -0,0 +1,244 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% package_commands.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
% Vectors
|
||||
\let\vect\vb
|
||||
\let\rot\curl
|
||||
|
||||
% Set and spaces
|
||||
\newcommand{\set}[1]{\mathbf{#1}} % set (in bold)
|
||||
\newcommand{\spc}[1]{\mathcal{#1}} % space (in cal)
|
||||
\newcommand{\N}{\set{N}}
|
||||
\newcommand{\Z}{\set{Z}}
|
||||
\newcommand{\D}{\set{D}}
|
||||
\newcommand{\Q}{\set{Q}}
|
||||
\newcommand{\R}{\set{R}}
|
||||
\newcommand{\C}{\set{C}}
|
||||
\newcommand{\K}{\set{K}}
|
||||
|
||||
\newcommand{\intqty}[1]{\left[\!\left[{#1}\right]\!\right]}
|
||||
|
||||
% Quantities
|
||||
\newcommand{\lag}{\mathcal{L}}
|
||||
\newcommand{\ham}{\mathcal{H}}
|
||||
\newcommand{\mom}{\mathcal{M}}
|
||||
|
||||
% Symbols
|
||||
\newcommand{\odeg}{\text{°}}
|
||||
\newcommand{\omin}{\text{'}}
|
||||
\newcommand{\osec}{\text{''}}
|
||||
\let\transp\top
|
||||
\let\Sun\odot
|
||||
\let\sun\odot
|
||||
\let\Earth\oplus
|
||||
\let\earth\oplus
|
||||
|
||||
% Operators
|
||||
\DeclareMathOperator{\Sp}{Sp}
|
||||
\DeclareMathOperator{\Image}{Im}
|
||||
\DeclareMathOperator{\Ker}{Ker}
|
||||
\DeclareMathOperator{\diag}{diag}
|
||||
\DeclareMathOperator{\arctantwo}{arctan2}
|
||||
\DeclareMathOperator{\argmin}{\arg\min}
|
||||
\DeclareMathOperator{\argmax}{\arg\max}
|
||||
\let\FT\yii@FT
|
||||
\let\lap\laplacian % Physics alias
|
||||
|
||||
% Probability
|
||||
\DeclareMathOperator{\p}{\mathbb{P}}
|
||||
\DeclareMathOperator{\pO}{\mathbb{O}}
|
||||
\DeclareMathOperator{\pF}{\mathbb{F}}
|
||||
\DeclareMathOperator{\pdf}{\mathbb{F'}}
|
||||
\DeclareMathOperator{\pE}{\mathbb{E}}
|
||||
\DeclareMathOperator{\pV}{\mathbb{V}}
|
||||
\DeclareMathOperator{\normal}{\mathcal{N}}
|
||||
\DeclareMathOperator{\binomial}{\mathcal{B}}
|
||||
\DeclareMathOperator{\poisson}{\mathcal{P}}
|
||||
|
||||
% Constants
|
||||
\newcommand{\im}{\mathrm{i}}
|
||||
\newcommand{\jm}{\mathrm{j}}
|
||||
\newcommand{\e}{\mathrm{e}}
|
||||
\newcommand{\NA}{\mathcal{N}_\mathrm{A}}
|
||||
\newcommand{\kB}{k_\mathrm{B}}
|
||||
\newcommand{\muB}{\mu_\mathrm{B}}
|
||||
\newcommand{\cst}{\mathrm{cst}}
|
||||
\newcommand{\uma}{\mathrm{u}}
|
||||
|
||||
% Unitary vectors
|
||||
\newcommand{\ux}{\vu u_x}
|
||||
\newcommand{\uy}{\vu u_y}
|
||||
\newcommand{\uz}{\vu u_z}
|
||||
\newcommand{\ur}{\vu u_r}
|
||||
\newcommand{\un}{\vu u_n}
|
||||
\newcommand{\ut}{\vu u_t}
|
||||
\newcommand{\urho}{\vu u_\rho}
|
||||
\newcommand{\uvarrho}{\vu u_\varrho}
|
||||
\newcommand{\utheta}{\vu u_\theta}
|
||||
\newcommand{\uvartheta}{\vu u_\vartheta}
|
||||
\newcommand{\uphi}{\vu u_\phi}
|
||||
\newcommand{\uvarphi}{\vu u_\varphi}
|
||||
|
||||
\newcommand{\ex}{\vu e_x}
|
||||
\newcommand{\ey}{\vu e_y}
|
||||
\newcommand{\ez}{\vu e_z}
|
||||
\newcommand{\er}{\vu e_r}
|
||||
\newcommand{\en}{\vu e_n}
|
||||
\newcommand{\et}{\vu e_t}
|
||||
\newcommand{\erho}{\vu e_\rho}
|
||||
\newcommand{\evarrho}{\vu e_\varrho}
|
||||
\newcommand{\etheta}{\vu e_\theta}
|
||||
\newcommand{\evartheta}{\vu e_\vartheta}
|
||||
\newcommand{\ephi}{\vu e_\phi}
|
||||
\newcommand{\evarphi}{\vu e_\varphi}
|
||||
|
||||
\newcommand{\vux}{\vu x}
|
||||
\newcommand{\vuy}{\vu y}
|
||||
\newcommand{\vuz}{\vu z}
|
||||
\newcommand{\vur}{\vu r}
|
||||
\newcommand{\vun}{\vu n}
|
||||
\newcommand{\vut}{\vu t}
|
||||
\newcommand{\vurho}{\vu{\boldsymbol{\rho}}}
|
||||
\newcommand{\vuvarrho}{\vu{\boldsymbol{\varrho}}}
|
||||
\newcommand{\vutheta}{\vu{\boldsymbol{\theta}}}
|
||||
\newcommand{\vuvartheta}{\vu{\boldsymbol{\vartheta}}}
|
||||
\newcommand{\vuphi}{\vu{\boldsymbol{\phi}}}
|
||||
\newcommand{\vuvarphi}{\vu{\boldsymbol{\varphi}}}
|
||||
|
||||
% Differential elements
|
||||
\newcommand{\ds}{\dd{s}}
|
||||
\newcommand{\dx}{\dd{x}}
|
||||
\newcommand{\dy}{\dd{y}}
|
||||
\newcommand{\dz}{\dd{z}}
|
||||
\newcommand{\dt}{\dd{t}}
|
||||
\newcommand{\dr}{\dd{r}}
|
||||
\newcommand{\drho}{\dd{\rho}}
|
||||
\newcommand{\dvarrho}{\dd{\varrho}}
|
||||
\newcommand{\dtheta}{\dd{\theta}}
|
||||
\newcommand{\dvartheta}{\dd{\vartheta}}
|
||||
\newcommand{\dphi}{\dd{\phi}}
|
||||
\newcommand{\dvarphi}{\dd{\varphi}}
|
||||
\newcommand{\deron}{\partial}
|
||||
\newcommand{\ddr}{\dd[3]{\vect r}}
|
||||
\newcommand{\ddp}{\dd[3]{\vect p}}
|
||||
\newcommand{\ddk}{\dd[3]{\vect k}}
|
||||
|
||||
% Physics complement
|
||||
\def\diffD{\mathrm{D}}
|
||||
\DeclareDocumentCommand\Differential{ o g d() }{
|
||||
\IfNoValueTF{#2}{
|
||||
\IfNoValueTF{#3}{
|
||||
\diffD\IfNoValueTF{#1}{}{^{#1}}
|
||||
}{
|
||||
\mathinner{\diffD\IfNoValueTF{#1}{}{^{#1}}\argopen(#3\argclose)}}
|
||||
}{
|
||||
\mathinner{\diffD\IfNoValueTF{#1}{}{^{#1}}#2} \IfNoValueTF{#3}{}{(#3)}
|
||||
}
|
||||
}
|
||||
\DeclareDocumentCommand\DD{}{\Differential}
|
||||
\DeclareDocumentCommand\Variation{ o g d() }{
|
||||
\IfNoValueTF{#2}{
|
||||
\IfNoValueTF{#3}{
|
||||
\Delta \IfNoValueTF{#1}{}{^{#1}}
|
||||
}{
|
||||
\mathinner{\Delta \IfNoValueTF{#1}{}{^{#1}}\argopen(#3\argclose)}}
|
||||
}{
|
||||
\mathinner{\Delta \IfNoValueTF{#1}{}{^{#1}}#2} \IfNoValueTF{#3}{}{(#3)}
|
||||
}
|
||||
}
|
||||
\DeclareDocumentCommand\Var{}{\Variation}
|
||||
|
||||
% other commands
|
||||
\newcommand{\eg}{e.g.}
|
||||
\newcommand{\etal}{et al}
|
||||
\newcommand{\ie}{i.e.}
|
||||
\newcommand{\unit}[1]{\mathrm{~#1}}
|
||||
\newcommand{\axunit}[1]{\mathrm{~[#1]}}
|
||||
\newcommand{\colunit}[1]{\mathrm{[#1]}}
|
||||
\newcommand{\angstrom}{\text{\r A}}
|
||||
\newcommand{\range}{\text{--}}
|
||||
\newcommand{\E}[1]{\times 10^{#1}}
|
||||
\newcommand{\simpropto}{\underset{\sim}{\propto}}
|
||||
\newcommand{\cfill}[1]{\hspace*{0cm}\hfill{#1}\hfill\hspace*{0cm}}
|
||||
\DeclareDocumentCommand\mean{s m}{
|
||||
\IfBooleanTF{#1}
|
||||
{ % \mean*{}
|
||||
\langle {#2} \rangle
|
||||
}{ % \mean{}
|
||||
\left\langle {#2} \right\rangle
|
||||
}
|
||||
}
|
||||
\newcommand{\ope}[1]{\hat{#1}}
|
||||
\newcommand{\opevect}[1]{\hat{\vb{#1}}}
|
||||
\DeclareDocumentCommand\atom{m g g g o}{
|
||||
\IfNoValueTF{#5}{
|
||||
\IfNoValueTF{#2}{
|
||||
\mathrm{#1}
|
||||
}{
|
||||
\IfNoValueTF{#3}{
|
||||
\prescript{#2}{}{\mathrm{#1}}
|
||||
}{
|
||||
\IfNoValueTF{#4}{
|
||||
\prescript{#2}{#3}{\mathrm{#1}}
|
||||
}{
|
||||
\prescript{#2}{#3}{\mathrm{#1}}_{#4}
|
||||
}}}}{
|
||||
\IfNoValueTF{#2}{
|
||||
\mathrm{#1}\text{\textsc{#5}}
|
||||
}{
|
||||
\IfNoValueTF{#3}{
|
||||
\prescript{#2}{}{\mathrm{#1}\text{\textsc{#5}}}
|
||||
}{
|
||||
\IfNoValueTF{#4}{
|
||||
\prescript{#2}{#3}{\mathrm{#1}\text{\textsc{#5}}}
|
||||
}{
|
||||
\prescript{#2}{#3}{\mathrm{#1}\text{\textsc{#5}}}_{#4}
|
||||
}}}}
|
||||
}
|
||||
\DeclareDocumentCommand\underbraceset{m g}{
|
||||
\IfNoValueTF{#2}{
|
||||
\underbrace{#1}
|
||||
}{
|
||||
\underset{#1}{\underbrace{#2}}
|
||||
}
|
||||
}
|
||||
\DeclareDocumentCommand\overbraceset{m g}{
|
||||
\IfNoValueTF{#2}{
|
||||
\overbrace{#1}
|
||||
}{
|
||||
\overset{#1}{\overbrace{#2}}
|
||||
}
|
||||
}
|
||||
\newcommand{\metal}[1]{[\atom{#1}]}
|
||||
\let\eqdef\yii@eqdef
|
||||
\let\ol\overline
|
||||
\let\ul\underline
|
||||
\let\name\yii@name
|
||||
41
src/package_corrections.tex
Normal file
41
src/package_corrections.tex
Normal file
@@ -0,0 +1,41 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% package_corrections.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
|
||||
|
||||
\renewcommand{\oiint}{\varoiint} % integral symbol
|
||||
|
||||
\rmfamily % Font replacement
|
||||
\DeclareFontShape{T1}{lmr}{b}{sc}{<->ssub*cmr/bx/sc}{}
|
||||
\DeclareFontShape{T1}{lmr}{bx}{sc}{<->ssub*cmr/bx/sc}{}
|
||||
\DeclareFontShape{T1}{lmr}{m}{scit}{<->ssub*cmr/m/scit}{}
|
||||
|
||||
\apptocmd{\bbl@greek@ampersand}{\space}{}{} % add space to ampersand in bibliography
|
||||
128
src/package_greek_letters.tex
Normal file
128
src/package_greek_letters.tex
Normal file
@@ -0,0 +1,128 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% package_greek_letters.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
\DeclareSymbolFont{yiilm}{T1}{lmr}{m}{n}
|
||||
|
||||
\DeclareMathSymbol{\Alpha}{7}{yiilm}{"41}
|
||||
\DeclareMathSymbol{\Beta}{7}{yiilm}{"42}
|
||||
\DeclareMathSymbol{\Epsilon}{7}{yiilm}{"45}
|
||||
\DeclareMathSymbol{\Zeta}{7}{yiilm}{"5A}
|
||||
\DeclareMathSymbol{\Eta}{7}{yiilm}{"48}
|
||||
\DeclareMathSymbol{\Iota}{7}{yiilm}{"49}
|
||||
\DeclareMathSymbol{\Kappa}{7}{yiilm}{"4B}
|
||||
\DeclareMathSymbol{\Mu}{7}{yiilm}{"4D}
|
||||
\DeclareMathSymbol{\Nu}{7}{yiilm}{"4E}
|
||||
\DeclareMathSymbol{\Omicron}{7}{yiilm}{"4F}
|
||||
\DeclareMathSymbol{\Rho}{7}{yiilm}{"50}
|
||||
\DeclareMathSymbol{\Tau}{7}{yiilm}{"54}
|
||||
\DeclareMathSymbol{\Chi}{7}{yiilm}{"58}
|
||||
|
||||
\let\epsilon\yii@epsilon
|
||||
|
||||
\let\Varepsilon\Epsilon
|
||||
\let\Vartheta\Theta
|
||||
\let\Varpi\Pi
|
||||
\let\Varrho\Rho
|
||||
\let\Varphi\Phi
|
||||
|
||||
\let\textvarepsilon\straightepsilon
|
||||
\let\textvarrho\textrho
|
||||
\let\textvarphi\textphi
|
||||
\let\textphi\straightphi
|
||||
\let\textvartheta\texttheta
|
||||
\let\texttheta\straighttheta
|
||||
\let\textVarepsilon\textEpsilon
|
||||
\let\textVartheta\textTheta
|
||||
\let\textVarrho\textRho
|
||||
\let\textVarphi\textPhi
|
||||
|
||||
\newcommand{\omicron}{\mathit{o}}
|
||||
\renewcommand{\textomicron}{o}
|
||||
\renewcommand{\textOmicron}{O}
|
||||
|
||||
\newcommand{\mathalpha}{\text{\textalpha}}
|
||||
\newcommand{\mathbeta}{\text{\textbeta}}
|
||||
\newcommand{\mathgamma}{\text{\textgamma}}
|
||||
\newcommand{\mathdelta}{\text{\textdelta}}
|
||||
\newcommand{\mathepsilon}{\text{\textepsilon}}
|
||||
\newcommand{\mathvarepsilon}{\text{\textvarepsilon}}
|
||||
\newcommand{\mathzeta}{\text{\textzeta}}
|
||||
\newcommand{\matheta}{\text{\texteta}}
|
||||
\newcommand{\maththeta}{\text{\texttheta}}
|
||||
\newcommand{\mathvartheta}{\text{\textvartheta}}
|
||||
\newcommand{\mathiota}{\text{\textiota}}
|
||||
\newcommand{\mathkappa}{\text{\textkappa}}
|
||||
\newcommand{\mathlambda}{\text{\textlambda}}
|
||||
\newcommand{\mathmu}{\text{\textmu}}
|
||||
\newcommand{\mathnu}{\text{\textnu}}
|
||||
\newcommand{\mathxi}{\text{\textxi}}
|
||||
\newcommand{\mathomicron}{\text{\textomicron}}
|
||||
\newcommand{\mathpi}{\text{\textpi}}
|
||||
\newcommand{\mathrho}{\text{\textrho}}
|
||||
\newcommand{\mathvarrho}{\text{\textvarrho}}
|
||||
\newcommand{\mathsigma}{\text{\textsigma}}
|
||||
\newcommand{\mathtau}{\text{\texttau}}
|
||||
\newcommand{\mathupsilon}{\text{\textupsilon}}
|
||||
\newcommand{\mathphi}{\text{\textphi}}
|
||||
\newcommand{\mathvarphi}{\text{\textvarphi}}
|
||||
\newcommand{\mathchi}{\text{\textchi}}
|
||||
\newcommand{\mathpsi}{\text{\textpsi}}
|
||||
\newcommand{\mathomega}{\text{\textomega}}
|
||||
\newcommand{\mathAlpha}{\text{\textAlpha}}
|
||||
\newcommand{\mathBeta}{\text{\textBeta}}
|
||||
\newcommand{\mathGamma}{\text{\textGamma}}
|
||||
\newcommand{\mathDelta}{\text{\textDelta}}
|
||||
\newcommand{\mathEpsilon}{\text{\textEpsilon}}
|
||||
\newcommand{\mathVarepsilon}{\text{\textVarepsilon}}
|
||||
\newcommand{\mathZeta}{\text{\textZeta}}
|
||||
\newcommand{\mathEta}{\text{\textEta}}
|
||||
\newcommand{\mathTheta}{\text{\textTheta}}
|
||||
\newcommand{\mathVartheta}{\text{\textVartheta}}
|
||||
\newcommand{\mathIota}{\text{\textIota}}
|
||||
\newcommand{\mathKappa}{\text{\textKappa}}
|
||||
\newcommand{\mathLambda}{\text{\textLambda}}
|
||||
\newcommand{\mathMu}{\text{\textMu}}
|
||||
\newcommand{\mathNu}{\text{\textNu}}
|
||||
\newcommand{\mathXi}{\text{\textXi}}
|
||||
\newcommand{\mathOmicron}{\text{\textOmicron}}
|
||||
\newcommand{\mathPi}{\text{\textPi}}
|
||||
\newcommand{\mathRho}{\text{\textRho}}
|
||||
\newcommand{\mathVarrho}{\text{\textVarrho}}
|
||||
\newcommand{\mathSigma}{\text{\textSigma}}
|
||||
\newcommand{\mathTau}{\text{\textTau}}
|
||||
\newcommand{\mathUpsilon}{\text{\textUpsilon}}
|
||||
\newcommand{\mathPhi}{\text{\textPhi}}
|
||||
\newcommand{\mathVarphi}{\text{\textVarphi}}
|
||||
\newcommand{\mathChi}{\text{\textChi}}
|
||||
\newcommand{\mathPsi}{\text{\textPsi}}
|
||||
\newcommand{\mathOmega}{\text{\textOmega}}
|
||||
|
||||
\let\micro\mathmu
|
||||
158
src/package_options.tex
Normal file
158
src/package_options.tex
Normal file
@@ -0,0 +1,158 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% package_options.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
\DeclareOption{EN}{
|
||||
\FRfalse
|
||||
\AddToHook{begindocument}{\selectlanguage{english}}
|
||||
\def\yii@FT{\mathrm{FT}}
|
||||
\def\yii@name{\text}
|
||||
\def\yii@eqdef{\equiv}
|
||||
}
|
||||
|
||||
\DeclareOption{FR}{
|
||||
\FRtrue
|
||||
\AddToHook{begindocument}{\selectlanguage{french}}
|
||||
\def\yii@FT{\mathrm{TF}}
|
||||
\def\yii@name{\textsc}
|
||||
\def\yii@eqdef{\overset{\text{def}}{=}}
|
||||
\captionsetup{labelsep=endash}
|
||||
}
|
||||
|
||||
\DeclareOption{nobeamer}{
|
||||
\isbeamerfalse
|
||||
}
|
||||
\DeclareOption{beamer}{
|
||||
\isbeamertrue
|
||||
}
|
||||
|
||||
\DeclareOption{noindent}{
|
||||
\setlength\parindent{0cm} % No paragraph indent
|
||||
}
|
||||
|
||||
\DeclareOption{onlyvarepsilon}{
|
||||
\def\yii@epsilon{\varepsilon}
|
||||
}
|
||||
|
||||
\DeclareOption{bib-siam}{
|
||||
\citestyle{abbrv}
|
||||
\bibliographystyle{siam}
|
||||
}
|
||||
|
||||
\DeclareOption{bib-yii}{
|
||||
\citestyle{abbrv}
|
||||
\bibliographystyle{yii}
|
||||
}
|
||||
|
||||
\DeclareOption{bib-aas}{
|
||||
\citestyle{aasjournal}
|
||||
\bibliographystyle{aasjournal}
|
||||
}
|
||||
|
||||
\DeclareOption{bib-aanda}{
|
||||
\citestyle{aa}
|
||||
\bibliographystyle{aa}
|
||||
}
|
||||
|
||||
\DeclareOption{number-section-in-equations}{
|
||||
\counterwithin{equation}{section} % Number equation with section number
|
||||
}
|
||||
|
||||
\DeclareOption{nonumber-section-in-equations}{
|
||||
\counterwithout{equation}{section} % Number equation with section number
|
||||
}
|
||||
|
||||
\ExecuteOptions{EN, nobeamer, number-section-in-equations}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\DeclareOption{EN}{
|
||||
\FRfalse
|
||||
\AddToHook{begindocument}{\selectlanguage{english}}
|
||||
\def\yii@FT{\mathrm{FT}}
|
||||
\def\yii@name{\text}
|
||||
\def\yii@eqdef{\equiv}
|
||||
}
|
||||
|
||||
\DeclareOption{FR}{
|
||||
\FRtrue
|
||||
\AddToHook{begindocument}{\selectlanguage{french}}
|
||||
\def\yii@FT{\mathrm{TF}}
|
||||
\def\yii@name{\textsc}
|
||||
\def\yii@eqdef{\overset{\text{def}}{=}}
|
||||
\captionsetup{labelsep=endash}
|
||||
}
|
||||
|
||||
|
||||
\DeclareOption{part}{
|
||||
\numberwithin{section}{part}
|
||||
\renewcommand{\numberline}[1]{#1~}
|
||||
}
|
||||
|
||||
\DeclareOption{noindent}{
|
||||
\setlength\parindent{0cm} % No paragraph indent
|
||||
}
|
||||
|
||||
\DeclareOption{onlyvarepsilon}{
|
||||
\def\yii@epsilon{\varepsilon}
|
||||
}
|
||||
|
||||
\DeclareOption{bib-siam}{
|
||||
\citestyle{abbrv}
|
||||
\bibliographystyle{siam}
|
||||
}
|
||||
|
||||
\DeclareOption{bib-yii}{
|
||||
\citestyle{abbrv}
|
||||
\bibliographystyle{yii}
|
||||
}
|
||||
|
||||
\DeclareOption{bib-aas}{
|
||||
\citestyle{aasjournal}
|
||||
\bibliographystyle{aasjournal}
|
||||
}
|
||||
|
||||
\DeclareOption{bib-aanda}{
|
||||
\citestyle{aa}
|
||||
\bibliographystyle{aa}
|
||||
}
|
||||
|
||||
\DeclareOption{number-section-in-equations}{
|
||||
\counterwithin{equation}{section} % Number equation with section number
|
||||
}
|
||||
|
||||
\DeclareOption{nonumber-section-in-equations}{
|
||||
\counterwithout{equation}{section} % Number equation with section number
|
||||
}
|
||||
|
||||
\ExecuteOptions{EN, number-section-in-equations}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
104
src/package_settings.tex
Normal file
104
src/package_settings.tex
Normal file
@@ -0,0 +1,104 @@
|
||||
%[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) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
|
||||
%
|
||||
% package_settings.tex
|
||||
% Copyright (C) 2025 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/.
|
||||
|
||||
\lstset{
|
||||
frame=single,
|
||||
numbers=left,
|
||||
numbersep=1em,
|
||||
xleftmargin=2em,
|
||||
showstringspaces=false,
|
||||
basicstyle=\footnotesize\ttfamily,
|
||||
breaklines=true,
|
||||
commentstyle=\it\ttfamily\color{gray},
|
||||
keywordstyle=\color{bright-blue},
|
||||
stringstyle=\color{bright-green},
|
||||
extendedchars=true,
|
||||
literate=
|
||||
{á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1
|
||||
{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1
|
||||
{à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1
|
||||
{À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1
|
||||
{ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
|
||||
{Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1
|
||||
{â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1
|
||||
{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1
|
||||
{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1
|
||||
{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1
|
||||
{€}{{\euro}}1 {£}{{\pounds}}1 {°}{{$^\circ$}}1
|
||||
}
|
||||
|
||||
|
||||
% Tikz
|
||||
|
||||
\usetikzlibrary{babel}
|
||||
\usetikzlibrary{decorations.pathmorphing, decorations.markings}
|
||||
\tikzset{gluon/.style={thick, decorate, decoration={coil, segment length=4pt}}}
|
||||
\tikzset{boson/.style={thick, decorate, decoration={snake, segment length=8pt}}}
|
||||
\tikzset{higgs/.style={thick, dashed}}
|
||||
\tikzset{fermion/.style={thick, postaction={decorate}, decoration={markings,mark=at position 0.55 with {\arrow{latex}}}}}
|
||||
\tikzset{antifermion/.style={thick, postaction={decorate}, decoration={markings,mark=at position 0.55 with {\arrow{latex reversed}}}}}
|
||||
|
||||
\ifisbeamer
|
||||
\else
|
||||
\ifFR
|
||||
\renewcommand{\labelitemi}{---}
|
||||
\renewcommand{\labelitemii}{---}
|
||||
\renewcommand{\labelitemiii}{---}
|
||||
\renewcommand{\labelitemiv}{---}
|
||||
%\newtheorem*{proof}{Démonstration}{\itshape}{\rmfamily}
|
||||
\newtheorem{theorem}{Théorème}[section]{\bfseries}{\itshape}
|
||||
\newtheorem{corollary}[theorem]{Corollaire}{\bfseries}{\itshape}
|
||||
\newtheorem{definition}[theorem]{Définition}{\bfseries}{\rmfamily}
|
||||
\newtheorem{example}[theorem]{Exemple}{\itshape}{\rmfamily}
|
||||
\newtheorem{exercise}[theorem]{Exercice}{\itshape}{\rmfamily}
|
||||
\newtheorem{lemma}[theorem]{Lemme}{\bfseries}{\itshape}
|
||||
\newtheorem{note}[theorem]{Note}{\itshape}{\rmfamily}
|
||||
\newtheorem{problem}[theorem]{Problème}{\itshape}{\rmfamily}
|
||||
\newtheorem{proposition}[theorem]{Proposition}{\bfseries}{\itshape}
|
||||
\newtheorem{question}[theorem]{Question}{\itshape}{\rmfamily}
|
||||
\newtheorem{remark}[theorem]{Remarque}{\itshape}{\rmfamily}
|
||||
\newtheorem{solution}[theorem]{Solution}{\itshape}{\rmfamily}
|
||||
\else
|
||||
%\newtheorem*{proof}{Proof}{\itshape}{\rmfamily}
|
||||
\newtheorem{theorem}{Theorem}[section]{\bfseries}{\itshape}
|
||||
\newtheorem{corollary}[theorem]{Corollary}{\bfseries}{\itshape}
|
||||
\newtheorem{definition}[theorem]{Definition}{\bfseries}{\rmfamily}
|
||||
\newtheorem{example}[theorem]{Example}{\itshape}{\rmfamily}
|
||||
\newtheorem{exercise}[theorem]{Exercise}{\itshape}{\rmfamily}
|
||||
\newtheorem{lemma}[theorem]{Lemma}{\bfseries}{\itshape}
|
||||
\newtheorem{note}[theorem]{Note}{\itshape}{\rmfamily}
|
||||
\newtheorem{problem}[theorem]{Problem}{\itshape}{\rmfamily}
|
||||
\newtheorem{proposition}[theorem]{Proposition}{\bfseries}{\itshape}
|
||||
\newtheorem{question}[theorem]{Question}{\itshape}{\rmfamily}
|
||||
\newtheorem{remark}[theorem]{Remark}{\itshape}{\rmfamily}
|
||||
\newtheorem{solution}[theorem]{Solution}{\itshape}{\rmfamily}
|
||||
\fi
|
||||
\fi
|
||||
Reference in New Issue
Block a user