%[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
