commit e65d2a85a9adf69b2c8d5d8c772f170a8d2beed8 Author: Thibault Barnouin Date: Thu Apr 3 14:38:17 2025 +0200 initial commit, import all templates diff --git a/Beamer/bredelebeamer.cls b/Beamer/bredelebeamer.cls new file mode 100644 index 0000000..563c7ee --- /dev/null +++ b/Beamer/bredelebeamer.cls @@ -0,0 +1,271 @@ +%%%%%% Licence%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% la classe LaTeX Bredelebeamer est placée sous licence GNU-GPL v3 +% copyright 2015 Christophe Masutti +% https://github.com/framatophe/ +% Il s'agit d'un style simple aux couleurs de Framasoft (http://framasoft.org) +% agrémenté de quelques boites. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{bredelebeamer}[17/02/2015, v1.0] + +\PassOptionsToPackage{svgnames}{xcolor} +\LoadClass[compress,8pt]{beamer} + +\usepackage[french]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{helvet} +\usepackage{pdfpages} +\usepackage{graphicx}% http://ctan.org/pkg/graphicx +\usepackage[footnotesize,hang]{caption} % réduire la taille des légendes des images +\usepackage{hyperref} +\usepackage{tikz} + +\usepackage{appendixnumberbeamer}% ne compte pas les slides backups dans le nombre total +\long\def\beamer@@ssection*#1{\beamer@section[]{}}% retire les sections invisibles de la barre de navigation + +%%%% Les Framacouleurs +\definecolor{Framableu}{RGB}{12,91,122} +\definecolor{Framableulight}{RGB}{18,144,176} +\definecolor{Framavert}{RGB}{142,156,72} +\definecolor{Framavertlight}{RGB}{227,235,199} +\definecolor{Framarouge}{RGB}{204,45,24} +\definecolor{Framarougelight}{RGB}{249,189,187} +\definecolor{Framaviolet}{RGB}{106,86,135} +\definecolor{Framavioletlight}{RGB}{211,197,232} +\definecolor{Framaorange}{RGB}{235,114,57} +\definecolor{Framaorangelight}{RGB}{235,209,197} +\definecolor{Framajaune}{RGB}{196,168,27} +\definecolor{Framajaunelight}{RGB}{255,235,181} +\definecolor{Framamarron}{RGB}{161,136,127} +\definecolor{Framamarronlight}{RGB}{215,204,200} +\definecolor{Framagris}{RGB}{97,97,97} +\definecolor{Framagrislight}{RGB}{245,245,245} + + +%%%%%%%%%%%% Tableaux +\usepackage{tcolorbox} +\usepackage{tabularx} +\usepackage{array} +\usepackage{colortbl} +\tcbuselibrary{skins} + +%%%% Merci : http://tex.stackexchange.com/questions/112343/beautiful-table-samples + +\newcolumntype{Y}{>{\raggedleft\arraybackslash}X} + +\tcbset{tabrouge/.style={enhanced,arc=0em,fonttitle=\bfseries,fontupper=\normalsize\sffamily, +colback=Framarougelight!100!white,colframe=Framarouge!70!black,colbacktitle=Framarouge!100!white, +coltitle=white,center title}} + +\tcbset{taborange/.style={enhanced,arc=0em,fonttitle=\bfseries,fontupper=\normalsize\sffamily, +colback=Framaorangelight!100!white,colframe=Framaorange!70!black,colbacktitle=Framaorange!100!white, +coltitle=white,center title}} + +\tcbset{tabvert/.style={enhanced,arc=0em,fonttitle=\bfseries,fontupper=\normalsize\sffamily, +colback=Framavertlight!100!white,colframe=Framavert!70!black,colbacktitle=Framavert!100!white, +coltitle=white,center title}} + +\tcbset{tabbleu/.style={enhanced,arc=0em,fonttitle=\bfseries,fontupper=\normalsize\sffamily, +colback=Framableulight!100!white,colframe=Framableu!70!black,colbacktitle=Framableu!100!white, +coltitle=white,center title}} + +\tcbset{tabjaune/.style={enhanced,arc=0em,fonttitle=\bfseries,fontupper=\normalsize\sffamily, +colback=Framajaunelight!100!white,colframe=Framajaune!70!black,colbacktitle=Framajaune!100!white, +coltitle=white,center title}} + +\tcbset{tabgris/.style={enhanced,arc=0em,fonttitle=\bfseries,fontupper=\normalsize\sffamily, +colback=Framagrislight!100!white,colframe=Framagris!70!black,colbacktitle=Framagris!100!white, +coltitle=white,center title}} + +\tcbset{tabmarron/.style={enhanced,arc=0em,fonttitle=\bfseries,fontupper=\normalsize\sffamily, +colback=Framamarronlight!100!white,colframe=Framamarron!70!black,colbacktitle=Framamarron!100!white, +coltitle=white,center title}} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\beamerboxesdeclarecolorscheme{orange}{Framaorange}{Framaorangelight} + +\usecolortheme[named=Framableu]{structure} + +\useinnertheme{rectangles} +\useoutertheme[subsection=false]{miniframes} +\setbeamertemplate{navigation symbols}{} + +\definecolor{sectionColor}{RGB}{0,0,0} % noir +\definecolor{subsectionColor}{RGB}{97,97,97} % Framagris +\definecolor{sectionTextColor}{RGB}{255,255,255} % blanc +\definecolor{subsectionTextColor}{RGB}{255,255,255} % blanc +\definecolor{leftFootlineColor}{RGB}{0,0,0}% noir +\definecolor{middleFootlineColor}{RGB}{97,97,97} % Framagris +\definecolor{rightFootlineColor}{RGB}{0,0,0}% noir +\definecolor{authorColor}{RGB}{255,255,255}% blanc +\definecolor{footlineTitleColor}{RGB}{255,255,255}% blanc +\definecolor{instituteColor}{RGB}{0,0,0}% noir +\definecolor{dateColor}{RGB}{255,255,255}% blanc +\definecolor{pageColor}{RGB}{255,255,255}% blanc +\definecolor{titleColor}{RGB}{12,91,122} % Framableu +\definecolor{titleTextColor}{RGB}{255,255,255} % blanc +\definecolor{bodyColor}{RGB}{255,255,255} % blanc +\definecolor{normalTextColor}{RGB}{0,0,0} % noir +\definecolor{exampleTextColor}{RGB}{82,99,42} %Framavertfoncé +\definecolor{alertTextColor}{RGB}{204,45,24} % Framarouge + +\definecolor{chipColor}{RGB}{12,91,122} % Framableu +\definecolor{chipTextColor}{RGB}{255,255,255} % blanc +\definecolor{normalBlockColor}{RGB}{178,213,219} % Framableulight pour arriere plan du block +\definecolor{normalTitleBlockColor}{RGB}{12,91,122} % Framableu +\definecolor{normalBlockTextColor}{RGB}{0,0,0} % noir +\definecolor{normalBlockTitleTextColor}{RGB}{255,255,255} % blanc +\definecolor{exampleBlockColor}{RGB}{227,235,199} %Framavertlight pour arriere plan du block +\definecolor{exampleTitleBlockColor}{RGB}{142,156,72} % Framavert +\definecolor{exampleBlockTextColor}{RGB}{0,0,0} % noir +\definecolor{exampleBlockTitleTextColor}{RGB}{255,255,255} % blanc +\definecolor{alertBlockColor}{RGB}{249,189,187} % Framarougelight pour arriere plan du block +\definecolor{alertTitleBlockColor}{RGB}{204,45,24} % Framarouge +\definecolor{alertBlockTextColor}{RGB}{0,0,0} % noir +\definecolor{alertBlockTitleTextColor}{RGB}{255,255,255} % blanc + + +\setbeamertemplate{blocks}[rectangle] + +\setbeamercolor{section in head/foot}{bg=sectionColor, fg=sectionTextColor} +\setbeamercolor{subsection in head/foot}{bg=subsectionColor, fg=subsectionTextColor} +\setbeamercolor*{block title}{fg=normalBlockTitleTextColor,bg=normalTitleBlockColor} +\setbeamercolor*{block body}{fg=normalBlockTextColor,bg=normalBlockColor} +\setbeamercolor*{block title alerted}{fg=alertBlockTitleTextColor,bg=alertTitleBlockColor} +\setbeamercolor*{block body alerted}{fg=alertBlockTextColor,bg=alertBlockColor} +\setbeamercolor*{block title example}{fg=exampleBlockTitleTextColor,bg=exampleTitleBlockColor} +\setbeamercolor*{block body example}{fg=exampleBlockTextColor,bg=exampleBlockColor} +\setbeamerfont{block title}{size={}} +\setbeamercolor{titlelike}{fg=titleTextColor,bg=titleColor} +\setbeamercolor*{normal text}{fg=normalTextColor,bg=bodyColor} +\setbeamercolor*{example text}{fg=exampleTextColor} +\setbeamercolor*{alerted text}{fg=alertTextColor} +\setbeamercolor{itemize item}{fg=titleColor!70} +\setbeamercolor{enumerate item}{fg=titleColor!70} +\setbeamercolor{description item}{fg=titleColor!70} + + +\useinnertheme{default} +\setbeamercolor{item projected}{bg=chipColor,fg=chipTextColor} +\beamer@compresstrue +\defbeamertemplate*{headline}{smoothbars theme} +{% +\begin{beamercolorbox}[ht=2.125ex,dp=3.150ex]{section in head/foot} +\insertnavigation{\paperwidth} +\end{beamercolorbox}% + +% Commenter les 4 lignes suivantes si vous ne voulez pas la barre des sous-sections. +\begin{beamercolorbox}[ht=2.125ex,dp=1.125ex,% +leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot} +\usebeamerfont{subsection in head/foot}\insertsubsectionhead +\end{beamercolorbox}% +} +\setbeamercolor{author in head/foot}{bg=leftFootlineColor, fg=authorColor} +\setbeamercolor{title in head/foot}{bg=middleFootlineColor, fg=footlineTitleColor} +\setbeamercolor{institute in head/foot}{fg=instituteColor} +\setbeamercolor{date in head/foot}{bg=rightFootlineColor, fg=dateColor} +\defbeamertemplate*{footline}{infolines theme} +{ +\leavevmode% +\hbox{% +\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% +\usebeamerfont{author in head/foot}\insertshortauthor~~ +\insertshortinstitute +\end{beamercolorbox}% +\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% +\usebeamerfont{title in head/foot}\insertshorttitle +\end{beamercolorbox}% +\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% +\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} +\insertframenumber{} / \inserttotalframenumber\hspace*{2ex} +\end{beamercolorbox} +}% +\vskip0pt% +} +\mode + + +%utilise la couleur Beamer : "example text" pour la couleur du texte +\newcommand{\exemple}[1]{{\color{example text.fg} #1}} + +% emphase +\renewcommand{\emph}[1]{\textcolor{Framaorange}{\textbf{#1}}} + + +\usepackage{etoolbox} +\AtBeginEnvironment{exampleblock}{% + \setbeamercolor{itemize item}{fg=exampleTitleBlockColor!70} +} +\AtBeginEnvironment{alertblock}{% + \setbeamercolor{itemize item}{fg=alertTitleBlockColor!70} +} +\AtBeginEnvironment{block}{% + \setbeamercolor{itemize item}{fg=normalTitleBlockColor!70} +} + + +\newcommand{\boitejaune}[1]{ +\begin{center} +\fcolorbox{Framajaune}{Framajaunelight}{ +\begin{minipage}{0.5\textwidth} +#1 +\end{minipage} +} +\end{center} +} + + +\newcommand{\boiteviolette}[1]{ +\begin{center} +\fcolorbox{Framaviolet}{Framavioletlight}{ +\begin{minipage}{0.5\textwidth} +#1 +\end{minipage} +} +\end{center} +} + + +\newcommand{\boiteorange}[1]{ +\begin{center} +\fcolorbox{Framaorange}{Framaorangelight}{ +\begin{minipage}{0.5\textwidth} +#1 +\end{minipage} +} +\end{center} +} + + +\newcommand{\boitemarron}[1]{ +\begin{center} +\fcolorbox{Framamarron}{Framamarronlight}{ +\begin{minipage}{0.5\textwidth} +#1 +\end{minipage} +} +\end{center} +} + +\newcommand{\boitegrise}[1]{ +\begin{center} +\fcolorbox{Framagris}{Framagrislight}{ +\begin{minipage}{0.5\textwidth} +#1 +\end{minipage} +} +\end{center} +} + + +\newcommand{\boitebleue}[1]{ +\begin{center} +\fcolorbox{Framableu}{Framableulight}{ +\begin{minipage}{0.5\textwidth} +#1 +\end{minipage} +} +\end{center} +} diff --git a/Beamer/images/logo_ObAS.pdf b/Beamer/images/logo_ObAS.pdf new file mode 100644 index 0000000..d7d0258 Binary files /dev/null and b/Beamer/images/logo_ObAS.pdf differ diff --git a/Beamer/images/logo_Unistra.pdf b/Beamer/images/logo_Unistra.pdf new file mode 100644 index 0000000..9c9b202 Binary files /dev/null and b/Beamer/images/logo_Unistra.pdf differ diff --git a/Beamer/main.tex b/Beamer/main.tex new file mode 100644 index 0000000..b4ab599 --- /dev/null +++ b/Beamer/main.tex @@ -0,0 +1,300 @@ + +\documentclass{bredelebeamer} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\title[Titre version courte]{Placez votre titre ici dans sa version longue} +% Titre du diaporama + +\subtitle{Vous pouvez ajouter un sous-titre} +% Sous-titre optionnel + +\author{Thibault Barnouin\inst{1}} +% La commande \inst{...} Permet d'afficher l' affiliation de l'intervenant. +% Si il y a plusieurs intervenants: Marcel Dupont\inst{1}, Roger Durand\inst{2} +% Il suffit alors d'ajouter un autre institut sur le modèle ci-dessous. + +\institute[(ObAS)] +{ + \inst{1}% + Observatoire Astronomique de Strasbourg, CNRS +} + +\date{September 30$^\text{th}$ 2025} +% Optionnel. La date, généralement celle du jour de la conférence + +\subject{Sujet de votre diaporama} +% C'est utilisé dans les métadonnes du PDF + +\titlegraphic{ + \includegraphics[height=0.10\textheight]{images/logo_ObAS.pdf} + \hspace{1.5cm} + \includegraphics[height=0.10\textheight]{images/logo_Unistra.pdf} +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{document} + +\begin{frame} + \titlepage +\end{frame} + +\begin{frame}{Sommaire} + \tableofcontents + % possibilité d'ajouter l'option [pausesections] +\end{frame} + + + + +\section{Aperçu global} + +\begin{frame}{Aperçu global} +Texte normal \alert{Texte Alert} \exemple{Texte exemple} \emph{Texte emphase} + +\begin{columns} + +\begin{column}{0.5\textwidth} +\begin{block}{Bloc simple} +\begin{itemize} +\item Premier point +\end{itemize} +\end{block} + +\begin{exampleblock}{Bloc exemple} +\begin{itemize} +\item Premier point +\end{itemize} +\end{exampleblock} + +\begin{alertblock}{Bloc alert} +\begin{itemize} +\item Premier point +\end{itemize} +\end{alertblock} + +\end{column} + +\begin{column}{0.5\textwidth} +\boiteviolette{ +Une boite violette +} + +\boiteorange{ +Une boite orange +} + +\boitegrise{ +Une boite grise +} + + + +\begin{tcolorbox}[tabvert,tabularx={X||Y|Y|Y|Y||Y}, boxrule=0.5pt, title=Mon tableau des prix] +Couleur & Prix 1 & Prix 2 & Prix 3 \\\hline\hline +Rouge & 10.00 & 20.00 & 30.00 \\\hline +Vert & 20.00 & 30.00 & 40.00 \\\hline +Bleu & 30.00 & 40.00 & 50.00 \\\hline\hline +Orange & 60.00 & 90.00 & 120.00 +\end{tcolorbox} + +\end{column} + +\end{columns} +\end{frame} + + + + +\section{Les blocs} + +\begin{frame}{Les blocs} + +\begin{block}{Bloc simple} +\begin{itemize} +\item Premier point +\item Second point +\item Troisième point +\end{itemize} +\end{block} + +\begin{exampleblock}{Bloc exemple} +\begin{itemize} +\item Premier point +\item Second point +\item Troisième point +\end{itemize} +\end{exampleblock} + +\begin{alertblock}{Bloc alert} +\begin{itemize} +\item Premier point +\item Second point +\item Troisième point +\end{itemize} +\end{alertblock} +\end{frame} + + +\section{Les bo\^ites} + +\begin{frame}{Les boites} + +\begin{columns} + +\begin{column}{0.5\textwidth} +\boitejaune{ +Ceci est \\ +une boite jaune +} + +\boiteorange{ +Ceci est \\ +une boite orange +} + +\boitemarron{ +Ceci est \\ +une boite marron +} +\end{column} + +\begin{column}{0.5\textwidth} +\boiteviolette{ +Ceci est \\ +une boite violette +} + +\boitebleue{ +Ceci est \\ +une boite bleue +} + +\boitegrise{ +Ceci est \\ +une boite grise +} + +\end{column} + +\end{columns} + + +\end{frame} + + + +\section{Les listes} + \subsection{Liste à item} + +\begin{frame}{Titre de la frame} + + \begin{itemize} + \item premier élément de liste, + \item deuxième élément de liste, + \item troisième élément de liste. + \end{itemize} +\end{frame} + + \subsection{Liste énumérative} +\begin{frame}{Titre de la frame} + \begin{enumerate} + \item élément de liste numéro 1, + \item élément de liste numéro 2, + \item élément de liste numéro 3. + \end{enumerate} +\end{frame} + + + \subsection{Liste descriptive} +\begin{frame}{Titre de la frame} + \begin{description} + \item [Thème de présentation : ] ces thèmes sont en fait... + \item [Thème de couleur : ] gère tout ce qui est couleur... + \item [Thème de police : ] s'occupe de tout ce qui est police, gras... + \item [Thème interne : ] s'occupe de l'apparence des éléments... + \end{description} +\end{frame} + + + +\section{Le texte} + +\begin{frame}{Titre de la frame} + +Voici du texte normal + +\alert{Voici du texte \texttt{alert}} + +\exemple{Voici du texte \texttt{exemple}} + +\emph{Voici du texte \texttt{emphase}} + +\end{frame} + + +\section{Les tableaux} + +\begin{frame}{Tableaux} + +% merci: http://tex.stackexchange.com/questions/112343/beautiful-table-samples + +\begin{tcolorbox}[tabjaune,tabularx={X||Y|Y|Y|Y||Y}, boxrule=0.5pt] +Couleur & Prix 1 & Prix 2 & Prix 3 & Prix 4 & Prix 5 \\\hline\hline +Rouge & 10.00 & 20.00 & 30.00 & 40.00 & 100.00 \\\hline +Vert & 20.00 & 30.00 & 40.00 & 50.00 & 140.00 \\\hline +Bleu & 30.00 & 40.00 & 50.00 & 60.00 & 180.00 \\\hline\hline +Orange & 60.00 & 90.00 & 120.00 & 150.00 & 420.00 +\end{tcolorbox} + +\begin{tcolorbox}[tabvert,tabularx={X||Y|Y|Y|Y||Y}, boxrule=0.5pt, title=Mon tableau des prix] +Couleur & Prix 1 & Prix 2 & Prix 3 & Prix 4 & Prix 5 \\\hline\hline +Rouge & 10.00 & 20.00 & 30.00 & 40.00 & 100.00 \\\hline +Vert & 20.00 & 30.00 & 40.00 & 50.00 & 140.00 \\\hline +Bleu & 30.00 & 40.00 & 50.00 & 60.00 & 180.00 \\\hline\hline +Orange & 60.00 & 90.00 & 120.00 & 150.00 & 420.00 +\end{tcolorbox} + +\end{frame} + + +\begin{frame}{Tableaux} + +% merci: http://tex.stackexchange.com/questions/112343/beautiful-table-samples + +\begin{tcolorbox}[tabgris,tabularx={X||Y|Y|Y|Y||Y}, boxrule=0.5pt] +Couleur & Prix 1 & Prix 2 & Prix 3 & Prix 4 & Prix 5 \\\hline\hline +Rouge & 10.00 & 20.00 & 30.00 & 40.00 & 100.00 \\\hline +Vert & 20.00 & 30.00 & 40.00 & 50.00 & 140.00 \\\hline +Bleu & 30.00 & 40.00 & 50.00 & 60.00 & 180.00 \\\hline\hline +Orange & 60.00 & 90.00 & 120.00 & 150.00 & 420.00 +\end{tcolorbox} + +\begin{tcolorbox}[taborange,tabularx={X||Y|Y|Y|Y||Y}, boxrule=0.5pt, title=Mon tableau des prix] +Couleur & Prix 1 & Prix 2 & Prix 3 & Prix 4 & Prix 5 \\\hline\hline +Rouge & 10.00 & 20.00 & 30.00 & 40.00 & 100.00 \\\hline +Vert & 20.00 & 30.00 & 40.00 & 50.00 & 140.00 \\\hline +Bleu & 30.00 & 40.00 & 50.00 & 60.00 & 180.00 \\\hline\hline +Orange & 60.00 & 90.00 & 120.00 & 150.00 & 420.00 +\end{tcolorbox} + +\end{frame} + + + +\section{Les images} + +\begin{frame}{Titre de la frame} + +\begin{figure} +\centering +\includegraphics[scale=0.5]{images/logo_ObAS.pdf} +\caption{Une bonne description de la figure} +\end{figure} + +\end{frame} + + + +\end{document} diff --git a/Beamer_template.zip b/Beamer_template.zip new file mode 100644 index 0000000..5f39d4c Binary files /dev/null and b/Beamer_template.zip differ diff --git a/Poster/aa.bst b/Poster/aa.bst new file mode 100644 index 0000000..4abd9a5 --- /dev/null +++ b/Poster/aa.bst @@ -0,0 +1,1695 @@ +%% 2001/06/10 EDP Sciences +%% APJ, corrected by hand to get results for A&A, using Natbib + +%% 1998/08/12 J Baker +%% Tweaked by hand to get correct results for ApJ. Added functions from +%% astrobib. + +%% $Log: apj.bst,v $ +%% Revision 1.3 2000/04/20 22:17:50 jbaker +%% Fixed INBOOK bug, now works essentially like BOOK. +%% +%% Revision 1.2 1998/08/30 22:35:45 jbaker +%% Added RCS keywords. +%% + +%% +%% This is file `apj.bst', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% merlin.mbs (with options: `,ay,nat,nm-rev,nmdash,dt-beg,yr-per,note-yr,atit-u,jtit-x,jttl-rm,thtit-a,vnum-x,volp-com,jpg-1,pp-last,btit-rm,add-pub,pub-par,pre-edn,edby,edbyx,blk-com,fin-bare,ppx,ed,abr,ord,jabr,eprint,amper,em-x') +%% ---------------------------------------- +%% *** Bibliographic Style for ApJ *** +%% + %------------------------------------------------------------------- + % The original source file contains the following version information: + % \ProvidesFile{merlin.mbs}[1998/02/25 3.85a (PWD)] + % + % NOTICE: + % This file may be used for non-profit purposes. + % It may not be distributed in exchange for money, + % other than distribution costs. + % + % The author provides it `as is' and does not guarantee it in any way. + % + % Copyright (C) 1994-98 Patrick W. Daly + %------------------------------------------------------------------- + % For use with BibTeX version 0.99a or later + %------------------------------------------------------------------- + % This bibliography style file is intended for texts in ENGLISH + % This is an author-year citation style bibliography. As such, it is + % non-standard LaTeX, and requires a special package file to function properly. + % Such a package is natbib.sty by Patrick W. Daly + % The form of the \bibitem entries is + % \bibitem[Jones et al.(1990)]{key}... + % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}... + % The essential feature is that the label (the part in brackets) consists + % of the author names, as they should appear in the citation, with the year + % in parentheses following. There must be no space before the opening + % parenthesis! + % With natbib v5.3, a full list of authors may also follow the year. + % In natbib.sty, it is possible to define the type of enclosures that is + % really wanted (brackets or parentheses), but in either case, there must + % be parentheses in the label. + % The \cite command functions as follows: + % \citet{key} ==>> Jones et al. (1990) + % \citet*{key} ==>> Jones, Baker, and Smith (1990) + % \citep{key} ==>> (Jones et al., 1990) + % \citep*{key} ==>> (Jones, Baker, and Smith, 1990) + % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2) + % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990) + % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32) + % \citeauthor{key} ==>> Jones et al. + % \citeauthor*{key} ==>> Jones, Baker, and Smith + % \citeyear{key} ==>> 1990 + %--------------------------------------------------------------------- + +ENTRY + { address + archiveprefix %EDP Sciences le 30/11/2014 + author + booktitle + chapter + edition + editor + howpublished + institution + eprint %EDP Sciences le 30/11/2014 + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + volume + year + } + {} + { label extra.label sort.label short.list } + +INTEGERS { output.state before.all mid.sentence after.sentence after.block } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} + +STRINGS { s t } + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +%EDP Sciences le 30/11/2014 +FUNCTION {output.eprint} +{ 's := + output.state mid.sentence = + { " " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +%EDP Sciences le 30/11/2014 +FUNCTION {outputeprint} +{ duplicate$ empty$ + 'pop$ + 'output.eprint + if$ +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {fin.entry} +{ duplicate$ empty$ + 'pop$ + 'write$ + if$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {add.blank} +{ " " * before.all 'output.state := +} + +FUNCTION {date.block} +{ + skip$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {emphasize} +{ skip$ } + +FUNCTION {capitalize} +{ "u" change.case$ "t" change.case$ } + +FUNCTION {space.word} +{ " " swap$ * " " * } + + % Here are the language-specific definitions for explicit words. + % Each function has a name bbl.xxx where xxx is the English word. + % The language selected here is ENGLISH +FUNCTION {bbl.and} +{ "and"} + +FUNCTION {bbl.editors} +{ "eds." } + +FUNCTION {bbl.editor} +{ "ed." } + +FUNCTION {bbl.edby} +{ "edited by" } + +FUNCTION {bbl.edition} +{ "edn." } + +FUNCTION {bbl.volume} +{ "Vol." } + +FUNCTION {bbl.of} +{ "of" } + +FUNCTION {bbl.number} +{ "no." } + +FUNCTION {bbl.nr} +{ "no." } + +FUNCTION {bbl.in} +{ "in" } + +FUNCTION {bbl.pages} +{ "" } + +FUNCTION {bbl.page} +{ "" } + +FUNCTION {bbl.chapter} +{ "Ch." } +%{ "chap." } + +FUNCTION {bbl.techrep} +{ "Tech. Rep." } + +FUNCTION {bbl.mthesis} +{ "Master's thesis" } + +FUNCTION {bbl.phdthesis} +{ "PhD thesis" } + +FUNCTION {bbl.first} +{ "1st" } + +FUNCTION {bbl.second} +{ "2nd" } + +FUNCTION {bbl.third} +{ "3rd" } + +FUNCTION {bbl.fourth} +{ "4th" } + +FUNCTION {bbl.fifth} +{ "5th" } + +FUNCTION {bbl.st} +{ "st" } + +FUNCTION {bbl.nd} +{ "nd" } + +FUNCTION {bbl.rd} +{ "rd" } + +FUNCTION {bbl.th} +{ "th" } + +MACRO {jan} {"Jan."} + +MACRO {feb} {"Feb."} + +MACRO {mar} {"Mar."} + +MACRO {apr} {"Apr."} + +MACRO {may} {"May"} + +MACRO {jun} {"Jun."} + +MACRO {jul} {"Jul."} + +MACRO {aug} {"Aug."} + +MACRO {sep} {"Sep."} + +MACRO {oct} {"Oct."} + +MACRO {nov} {"Nov."} + +MACRO {dec} {"Dec."} + +FUNCTION {eng.ord} +{ duplicate$ "1" swap$ * + #-2 #1 substring$ "1" = + { bbl.th * } + { duplicate$ #-1 #1 substring$ + duplicate$ "1" = + { pop$ bbl.st * } + { duplicate$ "2" = + { pop$ bbl.nd * } + { "3" = + { bbl.rd * } + { bbl.th * } + if$ + } + if$ + } + if$ + } + if$ +} + +MACRO {acmcs} {"ACM Comput. Surv."} + +MACRO {acta} {"Acta Inf."} + +MACRO {cacm} {"Commun. ACM"} + +MACRO {ibmjrd} {"IBM J. Res. Dev."} + +MACRO {ibmsj} {"IBM Syst.~J."} + +MACRO {ieeese} {"IEEE Trans. Softw. Eng."} + +MACRO {ieeetc} {"IEEE Trans. Comput."} + +MACRO {ieeetcad} + {"IEEE Trans. Comput.-Aided Design Integrated Circuits"} + +MACRO {ipl} {"Inf. Process. Lett."} + +MACRO {jacm} {"J.~ACM"} + +MACRO {jcss} {"J.~Comput. Syst. Sci."} + +MACRO {scp} {"Sci. Comput. Programming"} + +MACRO {sicomp} {"SIAM J. Comput."} + +MACRO {tocs} {"ACM Trans. Comput. Syst."} + +MACRO {tods} {"ACM Trans. Database Syst."} + +MACRO {tog} {"ACM Trans. Gr."} + +MACRO {toms} {"ACM Trans. Math. Softw."} + +MACRO {toois} {"ACM Trans. Office Inf. Syst."} + +MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."} + +MACRO {tcs} {"Theoretical Comput. Sci."} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}{, jj}{, f.}" format.name$ + 't := + +numnames #5 > + { + nameptr #1 > + { + nameptr #4 = + { + ", {et~al.}" * + } + { + nameptr #4 > + { "" * } + { ", " * t * } + if$ + } + if$ + + } + 't + if$ + } + { + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + numnames #2 > + { "," * } + 'skip$ + if$ + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + " {et~al.}" * + } + { " \& " * t * } + if$ + } + if$ + } + 't + if$ + } if$ + + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.names.ed} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{f.~}{vv~}{ll}{, jj}" + format.name$ + 't := + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + numnames #2 > + { "," * } + 'skip$ + if$ + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + " {et~al.}" * + } + { " \& " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.key} +{ empty$ + { key field.or.null } + { "" } + if$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names + editor num.names$ #1 > + { ", " * bbl.editors * } + { ", " * bbl.editor * } + if$ + } + if$ +} + +FUNCTION {format.in.editors} +{ editor empty$ + { "" } + { editor format.names.ed + } + if$ +} + +FUNCTION {format.note} +{ note empty$ + { "" } + { note #1 #1 substring$ + duplicate$ "{" = + 'skip$ + { output.state mid.sentence = + { "l" } + { "u" } + if$ + change.case$ + } + if$ + note #2 global.max$ substring$ * + } + if$ +} + +%EDP Sciences le 30/11/2014 +FUNCTION {format.eprint} +{ eprint duplicate$ empty$ + 'skip$ + { "[\eprint" + archiveprefix empty$ + 'skip$ + { "[" * archiveprefix * "]" * } + if$ + "{" * swap$ * "}]" * + } + if$ +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +FUNCTION {format.title} +{ title empty$ + { "" } + { title + } + if$ +} + +FUNCTION {format.full.names} +{'s := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}" format.name$ + 't := + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + numnames #2 > + { "," * } + 'skip$ + if$ + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + " {et~al.}" * + } + { " \& " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {author.editor.key.full} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.full.names } + if$ + } + { author format.full.names } + if$ +} + +FUNCTION {author.key.full} +{ author empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { author format.full.names } + if$ +} + +FUNCTION {editor.key.full} +{ editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.full.names } + if$ +} + +FUNCTION {make.full.names} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.key.full + { type$ "proceedings" = + 'editor.key.full + 'author.key.full + if$ + } + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem[{" write$ + label write$ + ")" make.full.names duplicate$ short.list = + { pop$ } + { * } + if$ + "}]{" * write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {n.dashify} +{ + 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {word.in} +{ bbl.in + " " * } + +FUNCTION {format.date} +{ year duplicate$ empty$ + { "empty year in " cite$ * "; set to ????" * warning$ + pop$ "????" } + 'skip$ + if$ + extra.label * + before.all 'output.state := + after.sentence 'output.state := +} + +FUNCTION {format.btitle} +{ title +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { bbl.volume volume tie.or.space.connect + series empty$ + 'skip$ + { bbl.of space.word * series emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { bbl.number } + { bbl.number capitalize } + if$ + number tie.or.space.connect + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { bbl.in space.word * series * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {is.num} +{ chr.to.int$ + duplicate$ "0" chr.to.int$ < not + swap$ "9" chr.to.int$ > not and +} + +FUNCTION {extract.num} +{ duplicate$ 't := + "" 's := + { t empty$ not } + { t #1 #1 substring$ + t #2 global.max$ substring$ 't := + duplicate$ is.num + { s swap$ * 's := } + { pop$ "" 't := } + if$ + } + while$ + s empty$ + 'skip$ + { pop$ s } + if$ +} + +FUNCTION {convert.edition} +{ edition extract.num "l" change.case$ 's := + s "first" = s "1" = or + { bbl.first 't := } + { s "second" = s "2" = or + { bbl.second 't := } + { s "third" = s "3" = or + { bbl.third 't := } + { s "fourth" = s "4" = or + { bbl.fourth 't := } + { s "fifth" = s "5" = or + { bbl.fifth 't := } + { s #1 #1 substring$ is.num + { s eng.ord 't := } + { edition 't := } + if$ + } + if$ + } + if$ + } + if$ + } + if$ + } + if$ + t +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { output.state mid.sentence = + { convert.edition "l" change.case$ " " * bbl.edition * } + { convert.edition "t" change.case$ " " * bbl.edition * } + if$ + } + if$ +} + +INTEGERS { multiresult } + +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check +% { bbl.pages pages n.dashify tie.or.space.connect } +% { bbl.page pages tie.or.space.connect } + { pages n.dashify } + { pages } + if$ + } + if$ +} + +FUNCTION {first.page} +{ 't := + "" + { t empty$ not t #1 #1 substring$ "-" = not and } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + while$ +} + +FUNCTION {format.journal.pages} +{ pages empty$ + { format.eprint outputeprint %EDP Sciences le 30/11/2014 + } + { duplicate$ empty$ + { pop$ format.pages } + { + ", " * + pages first.page * + } + if$ + } + if$ +} + +FUNCTION {format.vol.num.pages} +{ volume field.or.null +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + { "" } + { type empty$ + { bbl.chapter } + { type "l" change.case$ } + if$ + chapter tie.or.space.connect + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { editor empty$ + { word.in booktitle emphasize * } + { word.in booktitle emphasize * + ", " * + editor num.names$ #1 > + { bbl.editors } + { bbl.editor } + if$ + * " " * + format.in.editors * + } + if$ + } + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" change.case$ + } + if$ +} + +FUNCTION {format.tr.number} +{ type empty$ + { bbl.techrep } + 'type + if$ + number empty$ + { "t" change.case$ } + { number tie.or.space.connect } + if$ +} + +FUNCTION {format.article.crossref} +{ + word.in + " \cite{" * crossref * "}" * +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + word.in + } + { bbl.volume volume tie.or.space.connect + bbl.of space.word * + } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ + word.in + " \cite{" * crossref * "}" * +} + +FUNCTION {format.publisher} +{ publisher empty$ + { "empty publisher in " cite$ * warning$ } + 'skip$ + if$ + "" + address empty$ publisher empty$ and + 'skip$ + { + add.blank "(" * + address empty$ + 'skip$ + { address * } + if$ + publisher empty$ + 'skip$ + { address empty$ + 'skip$ + { ": " * } + if$ + publisher * + } + if$ + ")" * + } + if$ + output +} + +STRINGS {oldname} + +%%%%%%%% To repeat the same authors + +%FUNCTION {name.or.dash} +%{ 's := +% oldname empty$ +% { s 'oldname := s } +% { s oldname = +% { "---" } +% { s 'oldname := s } +% if$ +% } +% if$ +%} + +%%%%%%%% Functions added from astrobib + +FUNCTION {format.edn.btitle} % Title should be on stack. +{ duplicate$ empty$ edition empty$ or + 'skip$ + { ", " * format.edition * } + if$ +} + +FUNCTION {format.ed.booktitle} % The title should be on the stack. +{ duplicate$ empty$ + { "no book title in " cite$ * warning$ "" pop$ } + { editor empty$ + author empty$ or % Empty author means editor already given. + 'format.edn.btitle + { format.edn.btitle ", " * bbl.editor * " " * format.in.editors * } + if$ + } + if$ +} + +FUNCTION {format.full.book.spec} % The title should be on the stack. +{ series empty$ + { format.ed.booktitle + volume empty$ + { number empty$ + 'skip$ + { " there's a number but no series in " cite$ * warning$ + " No." number tie.or.space.connect * } + if$ + } + { ", Vol." volume tie.or.space.connect * + number empty$ + 'skip$ + {"Both volume and number fields in " * cite$ * warning$ } + if$ + } + if$ + } + { volume empty$ + { format.ed.booktitle ", " * series * + number empty$ + 'skip$ + { " No." number tie.or.space.connect * } + if$ + } + { series ", Vol." volume tie.or.space.connect * + ", " * swap$ format.ed.booktitle * + number empty$ + 'skip$ + {"Both volume and number fields in " * cite$ * warning$ } + if$ + } + if$ + } + if$ +} + +%%%%%%% End of functions from astrobib + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + author format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block + crossref missing$ + { journal + "journal" output.check + format.vol.num.pages output + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.journal.pages + format.note output + %format.eprint outputeprint %EDP Sciences le 30/11/2014 + fin.entry +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + editor format.key output +%%%%% name.or.dash + } + { format.authors output.nonnull +%%%%% name.or.dash + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.date "year" output.check + date.block + title format.full.book.spec output +% format.btitle "title" output.check +% crossref missing$ +% { format.bvolume output +% format.number.series output +% format.edition output + format.publisher +% } +% { +% format.book.crossref output.nonnull +% } +% if$ + format.pages output + format.note output + fin.entry +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + author format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block + format.title "title" output.check + howpublished output + address output + format.note output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + editor format.key output +%%%%% name.or.dash + } + { format.authors output.nonnull +%%%%% name.or.dash + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.date "year" output.check + date.block + title format.full.book.spec output +% format.btitle "title" output.check +% crossref missing$ +% { +% format.bvolume output +% format.chapter.pages "chapter and pages" output.check +% format.number.series output +% format.edition output + format.publisher +% } +% { +% format.chapter.pages "chapter and pages" output.check +% format.book.crossref output.nonnull +% } +% if$ + format.pages "pages" output.check + format.note output + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + author format.key output +%%%%%% name.or.dash + format.date "year" output.check + date.block + bbl.in " " * booktitle format.full.book.spec * output +% crossref missing$ +% { format.in.ed.booktitle "booktitle" output.check +% format.bvolume output +% format.number.series output +% format.edition output +% format.chapter.pages output + format.publisher +% } +% { format.incoll.inproc.crossref output.nonnull +% format.chapter.pages output +% } +% if$ + format.pages "pages" output.check + format.note output + fin.entry +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + author format.key output % added + format.date "year" output.check + date.block + bbl.in " " * booktitle format.full.book.spec * output +% crossref missing$ +% { format.in.ed.booktitle "booktitle" output.check +% format.bvolume output +% format.number.series output + publisher empty$ + { organization output + address output + } + { organization output + format.publisher + } + if$ +% } +% { format.incoll.inproc.crossref output.nonnull +% } +% if$ + format.pages output + format.note output + fin.entry +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + format.authors output + author format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block + format.btitle "title" output.check + format.edition output + organization output + address output + format.note output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + author format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block +% format.title "title" output.check + bbl.mthesis format.thesis.type output.nonnull + school "school" output.check + address output + format.note output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + author format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block + format.title output + howpublished output + format.note output + fin.entry +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + author format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block +% format.title "title" output.check + bbl.phdthesis format.thesis.type output.nonnull + school "school" output.check + address output + format.note output + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization output + organization format.key output } + { format.editors output } + if$ +% format.editors output +% editor format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block + title format.full.book.spec output +% format.btitle "title" output.check +% format.bvolume output +% format.number.series output + publisher empty$ not % No need for warning if no pub. + { format.publisher } + { editor empty$ % For empty editor, organization was already given. + 'skip$ + { organization output } + if$ + address output + } + if$ +% address output +% organization output +% publisher output + format.pages output + format.note output + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + author format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block + format.title "title" output.check + format.tr.number output.nonnull + institution "institution" output.check + address output + format.note output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + author format.key output +%%%%% name.or.dash + format.date "year" output.check + date.block +% format.title "title" output.check + format.note "note" output.check + fin.entry +} + +FUNCTION {default.type} { misc } + +READ + +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} + +INTEGERS { len } + +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} + +FUNCTION {format.lab.names} +{ 's := + s #1 "{vv~}{ll}" format.name$ + s num.names$ duplicate$ + #2 > + { pop$ + " {et~al.}" * + } + { #2 < + 'skip$ + { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { + " {et~al.}" * + } + { " \& " * s #2 "{vv~}{ll}" format.name$ + * } + if$ + } + if$ + } + if$ +} + +FUNCTION {author.key.label} +{ author empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {author.editor.key.label} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.lab.names } + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {editor.key.label} +{ editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.lab.names } + if$ +} + +FUNCTION {calc.short.authors} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.key.label + { type$ "proceedings" = + 'editor.key.label + 'author.key.label + if$ + } + if$ + 'short.list := +} + +FUNCTION {calc.label} +{ calc.short.authors + short.list + "(" + * + year duplicate$ empty$ + { pop$ "????" } + 'skip$ + if$ + * + 'label := +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" + format.name$ 't := + nameptr #1 > + { + " " * + namesleft #1 = t "others" = and + { "zzzzz" * } + { t sortify * } + if$ + } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} + +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {editor.sort} +{ editor empty$ + { key empty$ + { "to sort, need editor or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ +} + +FUNCTION {presort} +{ calc.label + label sortify + " " + * + type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.sort + 'author.sort + if$ + } + if$ + #1 entry.max$ substring$ + 'sort.label := + sort.label + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} + +SORT + +STRINGS { last.label next.extra } + +INTEGERS { last.extra.num number.label } + +FUNCTION {initialize.extra.label.stuff} +{ #0 int.to.chr$ 'last.label := + "" 'next.extra := + #0 'last.extra.num := + #0 'number.label := +} + +FUNCTION {forward.pass} +{ last.label label = + { last.extra.num #1 + 'last.extra.num := + last.extra.num int.to.chr$ 'extra.label := + } + { "a" chr.to.int$ 'last.extra.num := + "" 'extra.label := + label 'last.label := + } + if$ + number.label #1 + 'number.label := +} + +FUNCTION {reverse.pass} +{ next.extra "b" = + { "a" 'extra.label := } + 'skip$ + if$ + extra.label 'next.extra := + extra.label + duplicate$ empty$ + 'skip$ + { "{\natexlab{" swap$ * "}}" * } + if$ + 'extra.label := + label extra.label * 'label := +} + +EXECUTE {initialize.extra.label.stuff} + +ITERATE {forward.pass} + +REVERSE {reverse.pass} + +FUNCTION {bib.sort.order} +{ sort.label + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {bib.sort.order} + +SORT + +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" number.label int.to.str$ * "}" * + write$ newline$ + "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi" + write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} +%% End of customized bst file +%% +%% End of file `apj.bst'. + diff --git a/Poster/aas_macros.sty b/Poster/aas_macros.sty new file mode 100644 index 0000000..7fed3eb --- /dev/null +++ b/Poster/aas_macros.sty @@ -0,0 +1,106 @@ +% +% These Macros are taken from the AAS TeX macro package version 5.2 +% and are compatible with the macros in the A&A document class +% version 7.0 +% Include this file in your LaTeX source only if you are not using +% the AAS TeX macro package or the A&A document class and need to +% resolve the macro definitions in the TeX/BibTeX entries returned by +% the ADS abstract service. +% +% If you plan not to use this file to resolve the journal macros +% rather than the whole AAS TeX macro package, you should save the +% file as ``aas_macros.sty'' and then include it in your LaTeX paper +% by using a construct such as: +% \documentstyle[11pt,aas_macros]{article} +% +% For more information on the AASTeX and A&A packages, please see: +% http://journals.aas.org/authors/aastex.html +% ftp://ftp.edpsciences.org/pub/aa/readme.html +% For more information about ADS abstract server, please see: +% http://adsabs.harvard.edu/ads_abstracts.html +% + +% Abbreviations for journals. The object here is to provide authors +% with convenient shorthands for the most "popular" (often-cited) +% journals; the author can use these markup tags without being concerned +% about the exact form of the journal abbreviation, or its formatting. +% It is up to the keeper of the macros to make sure the macros expand +% to the proper text. If macro package writers agree to all use the +% same TeX command name, authors only have to remember one thing, and +% the style file will take care of editorial preferences. This also +% applies when a single journal decides to revamp its abbreviating +% scheme, as happened with the ApJ (Abt 1991). + +\let\jnl@style=\rm +\def\ref@jnl#1{{\jnl@style#1}} + +\def\aj{\ref@jnl{AJ}} % Astronomical Journal +\def\actaa{\ref@jnl{Acta Astron.}} % Acta Astronomica +\def\araa{\ref@jnl{ARA\&A}} % Annual Review of Astron and Astrophys +\def\apj{\ref@jnl{ApJ}} % Astrophysical Journal +\def\apjl{\ref@jnl{ApJ}} % Astrophysical Journal, Letters +\def\apjs{\ref@jnl{ApJS}} % Astrophysical Journal, Supplement +\def\ao{\ref@jnl{Appl.~Opt.}} % Applied Optics +\def\apss{\ref@jnl{Ap\&SS}} % Astrophysics and Space Science +\def\aap{\ref@jnl{A\&A}} % Astronomy and Astrophysics +\def\aapr{\ref@jnl{A\&A~Rev.}} % Astronomy and Astrophysics Reviews +\def\aaps{\ref@jnl{A\&AS}} % Astronomy and Astrophysics, Supplement +\def\azh{\ref@jnl{AZh}} % Astronomicheskii Zhurnal +\def\baas{\ref@jnl{BAAS}} % Bulletin of the AAS +\def\bac{\ref@jnl{Bull. astr. Inst. Czechosl.}} + % Bulletin of the Astronomical Institutes of Czechoslovakia +\def\caa{\ref@jnl{Chinese Astron. Astrophys.}} + % Chinese Astronomy and Astrophysics +\def\cjaa{\ref@jnl{Chinese J. Astron. Astrophys.}} + % Chinese Journal of Astronomy and Astrophysics +\def\icarus{\ref@jnl{Icarus}} % Icarus +\def\jcap{\ref@jnl{J. Cosmology Astropart. Phys.}} + % Journal of Cosmology and Astroparticle Physics +\def\jrasc{\ref@jnl{JRASC}} % Journal of the RAS of Canada +\def\memras{\ref@jnl{MmRAS}} % Memoirs of the RAS +\def\mnras{\ref@jnl{MNRAS}} % Monthly Notices of the RAS +\def\na{\ref@jnl{New A}} % New Astronomy +\def\nar{\ref@jnl{New A Rev.}} % New Astronomy Review +\def\pra{\ref@jnl{Phys.~Rev.~A}} % Physical Review A: General Physics +\def\prb{\ref@jnl{Phys.~Rev.~B}} % Physical Review B: Solid State +\def\prc{\ref@jnl{Phys.~Rev.~C}} % Physical Review C +\def\prd{\ref@jnl{Phys.~Rev.~D}} % Physical Review D +\def\pre{\ref@jnl{Phys.~Rev.~E}} % Physical Review E +\def\prl{\ref@jnl{Phys.~Rev.~Lett.}} % Physical Review Letters +\def\pasa{\ref@jnl{PASA}} % Publications of the Astron. Soc. of Australia +\def\pasp{\ref@jnl{PASP}} % Publications of the ASP +\def\pasj{\ref@jnl{PASJ}} % Publications of the ASJ +\def\rmxaa{\ref@jnl{Rev. Mexicana Astron. Astrofis.}}% + % Revista Mexicana de Astronomia y Astrofisica +\def\qjras{\ref@jnl{QJRAS}} % Quarterly Journal of the RAS +\def\skytel{\ref@jnl{S\&T}} % Sky and Telescope +\def\solphys{\ref@jnl{Sol.~Phys.}} % Solar Physics +\def\sovast{\ref@jnl{Soviet~Ast.}} % Soviet Astronomy +\def\ssr{\ref@jnl{Space~Sci.~Rev.}} % Space Science Reviews +\def\zap{\ref@jnl{ZAp}} % Zeitschrift fuer Astrophysik +\def\nat{\ref@jnl{Nature}} % Nature +\def\iaucirc{\ref@jnl{IAU~Circ.}} % IAU Cirulars +\def\aplett{\ref@jnl{Astrophys.~Lett.}} % Astrophysics Letters +\def\apspr{\ref@jnl{Astrophys.~Space~Phys.~Res.}} + % Astrophysics Space Physics Research +\def\bain{\ref@jnl{Bull.~Astron.~Inst.~Netherlands}} + % Bulletin Astronomical Institute of the Netherlands +\def\fcp{\ref@jnl{Fund.~Cosmic~Phys.}} % Fundamental Cosmic Physics +\def\gca{\ref@jnl{Geochim.~Cosmochim.~Acta}} % Geochimica Cosmochimica Acta +\def\grl{\ref@jnl{Geophys.~Res.~Lett.}} % Geophysics Research Letters +\def\jcp{\ref@jnl{J.~Chem.~Phys.}} % Journal of Chemical Physics +\def\jgr{\ref@jnl{J.~Geophys.~Res.}} % Journal of Geophysics Research +\def\jqsrt{\ref@jnl{J.~Quant.~Spec.~Radiat.~Transf.}} + % Journal of Quantitiative Spectroscopy and Radiative Transfer +\def\memsai{\ref@jnl{Mem.~Soc.~Astron.~Italiana}} + % Mem. Societa Astronomica Italiana +\def\nphysa{\ref@jnl{Nucl.~Phys.~A}} % Nuclear Physics A +\def\physrep{\ref@jnl{Phys.~Rep.}} % Physics Reports +\def\physscr{\ref@jnl{Phys.~Scr}} % Physica Scripta +\def\planss{\ref@jnl{Planet.~Space~Sci.}} % Planetary Space Science +\def\procspie{\ref@jnl{Proc.~SPIE}} % Proceedings of the SPIE + +\let\astap=\aap +\let\apjlett=\apjl +\let\apjsupp=\apjs +\let\applopt=\ao diff --git a/Poster/baposter.cls b/Poster/baposter.cls new file mode 100644 index 0000000..e1f1ea5 --- /dev/null +++ b/Poster/baposter.cls @@ -0,0 +1,1111 @@ +%% +%% This is file `baposter.cls' +%% +%% A relatively comfortable latex class to produce posters with a grid based +%% layout. It comes with a number of combinable styles and is (maybe only for +%% the writer) easy to extend, as all the graphics is based on pgf. +%% +%% It is meant to be used with pdftex, but might also work with pslatex if you +%% are not interested in things like transparency. +%% +%% Copyright (C) 2007-2011 Brian Amberg +%% Copyright (C) 2011 Reinhold Kainhofer +%% +%% 24. October 2011: +%% - The grid was broken when not explicitly specifying the column number, this has been fixed now. +%% - The perennial text border faded was still broken, it just faded to the other text border color, not to transparent. Now also fixed +%% - Implemented the noheaderbox, when no text is given, the box will have no header and the content will be moved up accordingly. +%% 29. September 2011: +%% - Finally fixed confusion with paper size handling and landscape. This required seperate handling of papersizes +%% known to the geometry package and other packages. +%% 26. September 2011: +%% - Reverted drawing of faded borders to manual method, as the current result does not work with evince, +%% and produced spurious colored boxes with okular and acroread. +%% - Added one more example due to popular request +%% 16. September 2011: +%% - Removed nag package, such that it compiles on older systems +%% - Added more examples +%% 15. September 2011: +%% - Merged fork by (rk) back into mainline, essentially taking over all the great improvements that Reinhold Kainhofer coded. +%% We call this version 2, as it breaks the interface in some small points. Essentially watch out for this: +%% - no/yes keys are now false/true +%% - the shade-lr etc. keys have the hypen removed, and are now called shadelr etc. +% - Added more examples, which are all adapted to work with the current version +%% 27. August 2011 (rk): +%% - Completely factored out all drawing commands to handler functions, assigned via choice keys +%% - Added cornerradius, boxheaderheight, boxpadding options +%% - Added missing roundedright +%% 26. August 2011 (rk): +%% - Turned headerbox cmd into posterbox environment (allows verbatim) +%% - pass several options to packages +%% - added debug cls option to reduce default output +%% - rewrote several loops and ifthenelse +%% - Use boolean and choice keys for all options +%% - Changed all choice options to set a global function to +%% \baposter@OPTION@OPTIONVALUE, which are a functions that execute the +%% option's setting (drawing routine, color setting for tikz, etc.) +%% - Add a5paper +%% 07. April 2011: Fixed paper size handling +%% - Fixed Paper Size handling, you can now specify all page sizes using paperwidth=, paperheight= class options. +%% - Added rudimentary documentation of the available keys. +%% 11. December 2010: Fixed "Empty Second Page" bug +%% - A second empty page was introduced when a document ended with +%% \end{poster} +%% \end{document} +%% This was fixed thanks to a suggestion by Martin Aulbach +%% - Added +%% \thispagestyle{empty} +%% to suppress page numbers, which became visible when the margins are large. +%% The underlying problem of page-size handling has not yet been solved. +%% 30. September 2010: Border Bugfixes +%% - Correct background color with textborder=rounded-small, Thanks to Ke Chen for the bugreport and patch +%% - Correctly draw rectangular text boxes, Thanks to abenkst for the bugreport and fix +%% 10. June 2010: Added option to set the number of columns +%% - added a class option to set the number of columns +%% - columns=5: sets the number of columns to 5, possible values are 1..6, default is 3 in portrait and 4 in landscape format +%% 29. April 2009: Incorporated Patches by Arne Henningsen +%% - added some class options +%% - a4shrink: shrink the paper to A4 size (for printing drafts or handouts) +%% - movebody=Xpt: move the text/poster body Xpt to the right +%% (or to the left if Xpt is negative), +%% e.g. for manually centering the poster on the page +%% - showframe: use the "showframe" option of the "geometry" package +%% - a0paper (default): set paper size to A0 +%% - archE: set paper size to Arch E +%% - setting "background" can be "none" now (otherwise the "showframe" +%% option has no effect) +%% - the page number has been removed (it was mostly not visible before) +%% - the "margin=" option works now +%% 04. December 2008 +%% - Mainly an update to the landscape example +%% 14. November 2008 +%% - Actually center the title when eyecatcher is used. +%% 04. November 2008 +%% - Fixed bug with eyecatcher not working. +%% 26. June 2008 +%% - Fixed bug with plain background mode. +%% 14. June 2008 +%% - Support for portrait/landscape switching. +%% - Some smaller bugfixes. +%% 01. June 2007 +%% - First version released. +%% +%% Use this class with pdflatex +%% +%% I have confirmed that this package works with +%% - texlive 2007 and +%% - miktex 2.7 +%% +%% It does not seem to work with +%% - miktex 2.2 +%% - some old versions of tetex +%% +%% +%% TODO: +%% -) Rename backgrounds back to shaded-tb shade-lr +%% -) Rename textborder back to rounded-small (consistent naming needed!) +%% -) Rename headershade back to shade-lr, shade-tb, shade-tb-inverse +%% -) Rename headershape back to small-rounded +%% -) Option value consistency (small-rounded vs. rounded-small; missing ones) +%% -) Rename \baposterHeaderSetShade, \baposterHeaderDrawText to include @ and verb +%% +%% +%% Licence: GPL +\ProvidesClass{baposter}[2011/11/26 v2.0 baposter class] +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\LoadClass{article} +\typeout{baposter: Brian Amberg, 2007, 2008, 2009, 2010, 2011 | http://www.brian-amberg.de/uni/poster/} +\typeout{baposter: Reinhold Kainhofer, 2011 | http://reinhold.kainhofer.com/} + +%% Define lengths only once on inclusion, such that we can make multiple posters +\newlength{\baposter@basepaperwidth} +\newlength{\baposter@basepaperheight} +\newlength{\baposter@basemargin} +\newlength{\baposter@finalpaperwidth} +\newlength{\baposter@finalpaperheight} +\newlength{\baposter@finalmargin} +\newlength{\headerheight}% +\newlength{\colwidth}% +\newlength{\colheight}% +\newlength{\baposter@@colspacing}% +\newlength{\baposter@box@@cornerradius}% +\newlength{\baposter@box@@boxheaderheight}% +\newlength{\baposter@box@@boxpadding}% +\newlength{\boxstartx}% +\newlength{\boxstarty}% +\newlength{\boxwidth}% +\newlength{\boxheight}% +\newlength{\baposter@titleimage@left@width}% +\newlength{\baposter@titleimage@right@width}% +\newlength{\baposter@titleimage@textwidth}% +\newbox\baposter@box@content% +\newbox\baposter@titleimage@left% +\newbox\baposter@titleimage@title% +\newbox\baposter@titleimage@right% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Packages +%------------------------------------------------------------------------------- +% The only ``weird'' dependency of this package is pgf. All the rest should be +% installed on any decent system. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\typeout{Use Packages} +\RequirePackage{xkeyval} +\RequirePackage{calc} +%\RequirePackage[cmyk]{xcolor} +\RequirePackage{tikz} +\RequirePackage{pgf} +\RequirePackage{ifthen} +\RequirePackage[T1]{fontenc} +%\RequirePackage[l2tabu, orthodox]{nag} +\usetikzlibrary{decorations} +\usetikzlibrary{fadings} +\usetikzlibrary{decorations} +\usetikzlibrary{calc} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Settings +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Choose a smaller value for larger fonts +\newcommand{\baposter@fontscale}{0.292} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Zoom +%------------------------------------------------------------------------------- +% We scale the page from fontscale * papersize up to papersize +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%% Paper sizes +\newif\if@landscape +\newif\if@geometryKnowsThisSize +\DeclareOptionX{landscape}{\@landscapetrue} +\DeclareOptionX{portrait}{} + +\newcommand{\baposter@setfinalpapersize}[2]{% +\if@geometryKnowsThisSize + \setlength{\baposter@finalpaperwidth}{#1}% + \setlength{\baposter@finalpaperheight}{#2}% +\else +\if@landscape +% Transpose length, if geometry does not handle the papersize based on the key + \setlength{\baposter@finalpaperwidth}{#2}% + \setlength{\baposter@finalpaperheight}{#1}% +\else + \setlength{\baposter@finalpaperwidth}{#1}% + \setlength{\baposter@finalpaperheight}{#2}% +\fi +\fi +} + +% Default paperwidth and paperheight = a0paper +\DeclareOptionX{paperwidth}[841mm]{\setlength{\baposter@finalpaperwidth}{#1}} +\DeclareOptionX{paperheight}[1189mm]{\setlength{\baposter@finalpaperheight}{#1}} +\DeclareOptionX{archA} { \baposter@setfinalpapersize{9in}{12in}}% +\DeclareOptionX{archB} { \baposter@setfinalpapersize{12in}{18in}}% +\DeclareOptionX{archC} { \baposter@setfinalpapersize{18in}{24in}}% +\DeclareOptionX{archD} { \baposter@setfinalpapersize{24in}{36in}}% +\DeclareOptionX{archE} { \baposter@setfinalpapersize{36in}{48in}}% +\DeclareOptionX{archE1} { \baposter@setfinalpapersize{30in}{42in}}% +\DeclareOptionX{archE2} { \baposter@setfinalpapersize{26in}{38in}}% +\DeclareOptionX{archE3} { \baposter@setfinalpapersize{27in}{39in}}% +\DeclareOptionX{a0paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{841mm}{1189mm}}%g +\DeclareOptionX{a1paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{594mm}{841mm}}%g +\DeclareOptionX{a2paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{420mm}{594mm}}%g +\DeclareOptionX{a3paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{297mm}{420mm}}%g +\DeclareOptionX{a4paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{210mm}{297mm}}%g +\DeclareOptionX{a5paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{148mm}{210mm}}%g +\DeclareOptionX{a6paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{105mm}{148mm}}%g +\DeclareOptionX{b0paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{1000mm}{1414mm}}%g +\DeclareOptionX{b1paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{707mm}{1000mm}}%g +\DeclareOptionX{b2paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{500mm}{707mm}}%g +\DeclareOptionX{b3paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{353mm}{500mm}}%g +\DeclareOptionX{b4paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{250mm}{353mm}}%g +\DeclareOptionX{b5paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{176mm}{250mm}}%g +\DeclareOptionX{b6paper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{125mm}{176mm}}%g +\DeclareOptionX{ansiapaper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{8.5in}{11in}}% +\DeclareOptionX{ansibpaper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{11in}{17in}}% +\DeclareOptionX{ansicpaper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{17in}{22in}}% +\DeclareOptionX{ansidpaper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{22in}{34in}}% +\DeclareOptionX{ansiepaper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{34in}{44in}}% +\DeclareOptionX{letterpaper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{8.5in}{11in}}% +\DeclareOptionX{legalpaper} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{8.5in}{14in}}% +\DeclareOptionX{executivepaper}{\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{7.25in}{10.5in}}% +\DeclareOptionX{screen} {\@geometryKnowsThisSizetrue\baposter@setfinalpapersize{225mm}{180mm}}%g + +% Margin +\setlength{\baposter@finalmargin}{1.5cm} +\DeclareOptionX{fontscale}[0.292]{\renewcommand{\baposter@fontscale}{#1}} +\DeclareOptionX{margin} [1.5cm]{\setlength{\baposter@finalmargin}{#1}} + +% move text/poster body to the right (or to the left if negative) +\newlength{\baposter@movebody} +\setlength{\baposter@movebody}{0cm} +\DeclareOptionX{movebody}[0cm]{\setlength{\baposter@movebody}{#1}} + + +\newif\if@debug +\DeclareOptionX{debug}{\@debugtrue} +%% Will be passed on to other packages (xcolor and geometry), still we don't want unused warnings +\DeclareOptionX{table}{} +\DeclareOptionX{showframe}{} + +\ProcessOptionsX + +\if@debug +\newcommand{\debug}[1]{\typeout{#1}} +\else +\newcommand{\debug}[1]{} +\fi + + + +\setlength{\baposter@basepaperwidth} {\baposter@fontscale\baposter@finalpaperwidth } +\setlength{\baposter@basepaperheight}{\baposter@fontscale\baposter@finalpaperheight} +\setlength{\baposter@basemargin} {\baposter@fontscale\baposter@finalmargin} +\newlength{\baposter@basemarginright} +\setlength{\baposter@basemarginright}{\baposter@basemargin} +\addtolength{\baposter@basemarginright}{-\baposter@fontscale\baposter@movebody} +\newlength{\baposter@basemarginleft} +\setlength{\baposter@basemarginleft}{\baposter@basemargin} +\addtolength{\baposter@basemarginleft}{\baposter@fontscale\baposter@movebody} + +\typeout{Paperwidth=\the\baposter@finalpaperwidth} +\typeout{Paperheight=\the\baposter@finalpaperheight} +\typeout{BasePaperwidth=\the\baposter@basepaperwidth} +\typeout{BasePaperheight=\the\baposter@basepaperheight} +\usepackage[ + paperwidth=\baposter@basepaperwidth, + paperheight=\baposter@basepaperheight, + tmargin=\baposter@basemargin, + bmargin=\baposter@basemargin, + lmargin=\baposter@basemarginleft, + rmargin=\baposter@basemarginright, + ]{geometry} + +\usepackage{pgfpages} +\if@landscape +\if@geometryKnowsThisSize +\pgfpagesuselayout{resize to}[physical paper width=\baposter@finalpaperheight,physical paper height=\baposter@finalpaperwidth] +\else +\pgfpagesuselayout{resize to}[physical paper width=\baposter@finalpaperwidth,physical paper height=\baposter@finalpaperheight] +\fi +\else +\pgfpagesuselayout{resize to}[physical paper width=\baposter@finalpaperwidth,physical paper height=\baposter@finalpaperheight] +\fi + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Default functions for borders/backgrounds +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%% These functions will all be redefined from the actual option values. In +%% particular, they will be set to \baposter@optionname@optionvalue, which +%% should do the actual work / setting for that particular optionvalue. + +\newcommand{\baposterPosterDrawBackground}[2]{} % Draw poster background + +\newcommand{\baposterBoxGetShape}{} % Returns path of text box shape +\newcommand{\baposterBoxDrawBackground}[2]{} % Draw bg of boxes +\newcommand{\baposterBoxDrawBorder}[1]{} % Draw border of individual boxes + +\newcommand{\baposterHeaderGetShape}{} % Returns path of text box shape +\newcommand{\baposterHeaderSetShade}[3]{} % Set bg style for box headers +\newcommand{\baposterHeaderDrawBackground}[3]{} % Draw background of box header +\newcommand{\baposterHeaderDrawBorder}[1]{} % Draw border of box header +\newcommand{\baposterHeaderDrawText}[1]{} % Draw text inside box header + +\newcommand{\@@previousbox}{notset} % stores the previously processed box for below=auto + +% Function to set a user-defined background +\newcommand{\baposter@backgroundCmd}{\error{No background command defined. Use \background{...} to define background}} +\newcommand{\background}[1]{\renewcommand{\baposter@backgroundCmd}{#1}} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Handle poster and box options +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\debug{Handling keys} + +%% +%% POSTER OPTIONS +%% +%% Store all poster options in variables of the form \baposter@option +%% choose-keys also store the index in \baposter@optionnr +%% choose-keys typically also assign a function +\definecolor{baposter@silver}{cmyk}{0,0,0,0.7} +\define@boolkey[ba]{poster}[baposter@]{grid} [false] {} +\define@boolkey[ba]{poster}[baposter@]{eyecatcher} [true] {} +\define@cmdkey [ba]{poster}[baposter@]{headerheight} [0.1\textheight]{} +\define@cmdkey [ba]{poster}[baposter@]{columns} [{}] {} +\define@cmdkey [ba]{poster}[baposter@]{colspacing} [1em] {} +\define@cmdkey [ba]{poster}[baposter@]{bgColorOne} [baposter@silver]{} +\define@cmdkey [ba]{poster}[baposter@]{bgColorTwo} [green] {} + +% background can be one of: shadeLR, shadeTB, plain, user, none +\define@choicekey*+[ba]{poster}{background}% + [\baposter@background\baposter@backgroundnr]% + {shadeLR, shadeTB, plain, user, none} [plain] {% + \debug{Poster background: \baposter@background} + \renewcommand{\baposterPosterDrawBackground}[2]{ + \csname baposter@background@\baposter@background\endcsname{##1}{##2}} +}{ + \PackageWarning{baposter}{Unknown background `\baposter@background' (use + shadeLR, shadeTB, plain, none, or user). If user is used, you also + have to define \background{...}.} + \renewcommand{\baposterPosterDrawBackground}[2]{\baposter@background@none{##1}{##2}} +} + + +%% +%% BOX OPTIONS +%% +\define@cmdkey[ba]{posterbox}[baposter@box@]{cornerradius} [1em] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{boxheaderheight} [2em] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{boxpadding} [0.5em] {} + + +% textborder can be one of: none, bars, coils, triangles, rectangle, rounded, +% roundedleft, roundedsmall, faded; UNIMPLEMENTED: roundedright +\edef\baposter@box@textborder@validvalues{none,bars,coils,triangles,rectangle,rounded,roundedleft,roundedsmall,faded} +\define@choicekey*+[ba]{posterbox}{textborder}% + [\baposter@box@textborder\baposter@box@textbordernr]% + {none,bars,coils,triangles,rectangle,rounded,roundedleft,roundedright,roundedsmall,faded} [rectangle] {% + \debug{Text border: \baposter@box@textborder} + \renewcommand{\baposterBoxGetShape}{ + \csname baposter@box@boxshape@\baposter@box@textborder\endcsname} + \renewcommand{\baposterBoxDrawBorder}[1]{ + \csname baposter@box@drawborder@\baposter@box@textborder\endcsname{##1}} +}{ + \PackageWarning{baposter}{Unknown text-border style `\baposter@box@textborder'. + Edit your file to choose a valid option (\baposter@box@textborder@validvalues).} + \renewcommand{\baposterBoxGetShape}{\baposter@boxshape@rectangle} + \renewcommand{\baposterBoxDrawBorder}[1]{\baposter@drawborder@rectangle{##1}} +} + +% boxshade can be one of: shadeLR, shadeTB, plain, none +\define@choicekey*+[ba]{posterbox}{boxshade}% + [\baposter@box@boxshade\baposter@box@boxshadenr]% + {shadelr,shadetb,plain,none} [none] {% + \debug{Box shade: \baposter@box@boxshade} + \renewcommand{\baposterBoxDrawBackground}[2]{ + \csname baposter@box@drawbackground@\baposter@box@boxshade\endcsname{##1}{##2}} +}{ + \PackageWarning{baposter}{Unknown boxshade style `\baposter@boxshade'. + Edit your file to choose a valid option.} + \renewcommand{\baposterBoxDrawBackground}[2]{\baposter@box@drawbackground@none{##1}{##2}} +} + +% headershade can be one of: shade-lr, shade-tb, shade-tb-inverse, plain +\define@choicekey*+[ba]{posterbox}{headershade}% + [\baposter@box@headershade\baposter@box@headershadenr]% + {shadelr,shadetb,shadetbinverse,plain} [shadelr] {% + \debug{Header shade: \baposter@box@headershade} + \renewcommand{\baposterHeaderSetShade}[3]{ + \csname baposter@box@headershade@\baposter@box@headershade\endcsname{##1}{##2}{##3}} +}{ + \PackageWarning{baposter}{Unknown headershade style `\baposter@box@headershade'. + Edit your file to choose a valid option.} + \renewcommand{\baposterHeaderSetShade}[3]{\baposter@box@headershade@none{##1}{##2}{##3}} +} + +% headershape can be one of: rectangle, rounded, smallrounded, roundedleft, roundedright +\define@choicekey*+[ba]{posterbox}{headershape}% + [\baposter@box@headershape\baposter@box@headershapenr]% + {rectangle,rounded,smallrounded,roundedleft,roundedright} [roundedright] {% + \debug{Header shape: \baposter@box@headershape} + \renewcommand{\baposterHeaderGetShape}{ + \csname baposter@box@headershape@\baposter@box@headershape\endcsname} + \renewcommand{\baposterHeaderDrawText}[1]{ + \csname baposter@box@headerdrawtext@\baposter@box@headershape\endcsname{##1}} + \renewcommand{\baposterHeaderDrawBorder}[1]{ + \csname baposter@box@headerdrawborder@\baposter@box@headershape\endcsname{##1}} +}{ + \PackageWarning{baposter}{Unknown headershape style `\baposter@headershape'. + Edit your file to choose a valid option.} + \renewcommand{\baposterHeaderGetShape}{\baposter@box@headershape@rectangle} + \renewcommand{\baposterHeaderDrawText}[1]{\baposter@box@headerdrawtext@rectangle{##1}} + \renewcommand{\baposterHeaderDrawBorder}[1]{\baposter@box@headerdrawborder@rectangle{##1}} +} + +% headerborder can be one of: open, closed, none +\define@choicekey*+[ba]{posterbox}{headerborder}% + [\baposter@box@headerborder\baposter@box@headerbordernr]% + {open,closed,none} [open] {% + \debug{Header border: \baposter@box@headerborder} +% \renewcommand{\baposterHeaderBorder}{ +% \csname baposter@headerborder@\baposter@box@headerborder\endcsname} +}{ + \PackageWarning{baposter}{Unknown headerborder style `\baposter@headerborder'. + Edit your file to choose a valid option.} +% \renewcommand{\baposterHeaderBorder}{\baposter@box@headerborder@rectangle} +} + + +\define@cmdkey[ba]{posterbox}[baposter@box@]{borderColor} [yellow] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{headerColorOne} [red] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{headerColorTwo} [brown] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{headerFontColor} [black] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{boxColorOne} [magenta] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{boxColorTwo} [cyan] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{headerfont} [\scshape\Large] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{textfont} [{}] {} + +\define@cmdkey[ba]{posterbox}[baposter@box@]{linewidth} [2pt] {} + +\define@cmdkey[ba]{posterbox}[baposter@box@]{below} [notset]{} +\define@cmdkey[ba]{posterbox}[baposter@box@]{above} [notset]{} +\define@cmdkey[ba]{posterbox}[baposter@box@]{aligned}[notset]{} +\define@cmdkey[ba]{posterbox}[baposter@box@]{bottomaligned}[notset]{} +\define@cmdkey[ba]{posterbox}[baposter@box@]{column} [0] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{row} [0] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{span} [1] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{height} [auto] {} +\define@cmdkey[ba]{posterbox}[baposter@box@]{name} [noname]{} + +% Set some default values, the poster and posterbox environments can override: +\setkeys[ba]{poster}{ + % Debug grid + grid=false, + % Is there an eyecatcher image + eyecatcher=true, + columns={}, + % Colours + bgColorOne=baposter@silver, + bgColorTwo=green, + % + colspacing=1em, + headerheight=0.1\textheight, + background=shadelr, +}{} +\setkeys[ba]{posterbox}{ + % Position + column=0,row=0,span=1, + below=notset,above=notset, + bottomaligned=notset, + aligned=notset, + height=auto, + % Name + name=noname, + % Box design: border: + linewidth=2pt, + borderColor=yellow, + cornerradius=1em, + % text box: + textfont={}, + boxshade=plain, + boxColorOne=magenta, + boxColorTwo=cyan, + textborder=faded, + boxpadding=0.5em, + % header + headerfont=\scshape\Large,% or headerfont=\color{white}\textsf\textbf + headerFontColor=black, + headerColorOne=red, + headerColorTwo=brown, + headershape=rectangle, + headershade=shadeLR, + headerborder=none, + boxheaderheight=2em, +}{} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Background options and functions (one function for each possible value) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand{\baposter@background@shadelr}[2]{ + \debug{BAPOSTER: Using shade left right background.} + \begin{tikzpicture}[remember picture,overlay]% + \shade [shading=axis,left color=#1,right color=#2] (current page.north west) + rectangle(current page.south east); + \end{tikzpicture}% +} +\newcommand{\baposter@background@shadetb}[2]{ + \debug{BAPOSTER: Using shade top to bottom background.} + \begin{tikzpicture}[remember picture,overlay]% + \shade [shading=axis,top color=#1,bottom color=#2] (current page.north west) + rectangle(current page.south east); + \end{tikzpicture}% +} +\newcommand{\baposter@background@plain}[2]{ + \debug{BAPOSTER: Using plain background.} + \begin{tikzpicture}[remember picture,overlay]% + \fill [fill=#1] (current page.north west) rectangle(current page.south east); + \end{tikzpicture}% +} +\newcommand{\baposter@background@user}[2]{ + \debug{BAPOSTER: Using user background.} + \baposter@backgroundCmd% +} +\newcommand{\baposter@background@none}[2]{ + \debug{BAPOSTER: Using no background.} +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Return shape path of text box (depending on the box shape) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand{\baposter@box@boxshape@none}{\baposter@box@boxshape@rectangle} +\newcommand{\baposter@box@boxshape@bars}{ + (\baposter@box@name tnw) -- (\baposter@box@name sw) % + (\baposter@box@name se) -- (\baposter@box@name tne) +} +\newcommand{\baposter@box@boxshape@coils}{\baposter@box@boxshape@bars} +\newcommand{\baposter@box@boxshape@triangles}{\baposter@box@boxshape@bars} +\newcommand{\baposter@box@boxshape@rectangle}{ + (\baposter@box@name tnw) -- (\baposter@box@name sw) -- % + (\baposter@box@name se) -- (\baposter@box@name tne)% +} +\newcommand{\baposter@box@boxshape@faded}{ + (\baposter@box@name tnw) -- (\baposter@box@name sw) % + (\baposter@box@name tne) -- (\baposter@box@name se) + } +\newcommand{\baposter@box@boxshape@rounded}{ + [rc] \baposter@box@boxshape@rectangle% +} +\newcommand{\baposter@box@boxshape@roundedsmall}{ + [src] \baposter@box@boxshape@rectangle +} +\newcommand{\baposter@box@boxshape@roundedleft}{ + (\baposter@box@name tnw) {[rc]-- (\baposter@box@name sw)} -- % + (\baposter@box@name se) -- (\baposter@box@name tne)% +} +\newcommand{\baposter@box@boxshape@roundedright}{ + (\baposter@box@name tnw) -- (\baposter@box@name sw) {[rc]-- % + (\baposter@box@name se)} -- (\baposter@box@name tne)% +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Draw box background (one function for each possible value) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% These functions take no arguments +\newcommand{\baposter@box@drawbackground@none}[2]{ + \tikzstyle{box colors}=[] +} +\newcommand{\baposter@box@drawbackground@plain}[2]{ + \tikzstyle{box colors}=[fill=#1] + \fill[box colors] \baposterBoxGetShape; +} +\newcommand{\baposter@box@drawbackground@shadelr}[2]{ + \tikzstyle{box colors}=[shading=axis, left color=#1, right color=#2]% + \fill[box colors] \baposterBoxGetShape; +} +\newcommand{\baposter@box@drawbackground@shadetb}[2]{ + \tikzstyle{box colors}=[shading=axis, top color=#1, bottom color=#2]% + \fill[box colors] \baposterBoxGetShape; +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Draw box border +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% These functions take two arguments: borderColor +\newcommand{\baposter@box@drawborder@none}[1]{} +\newcommand{\baposter@box@drawborder@bars}[1]{ + \draw[color=#1] \baposterBoxGetShape;% +} +\newcommand{\baposter@box@drawborder@coils}[1]{ + \draw[color=#1,segment amplitude=0.35em,segment length=0.4em,snake=coil] \baposterBoxGetShape;% +} +\newcommand{\baposter@box@drawborder@triangles}[1]{ + \draw[color=#1,segment amplitude=0.2em,segment length=0.4em,snake=triangles] \baposterBoxGetShape;% +} +\newcommand{\baposter@box@drawborder@rectangle}[1]{ + \draw[color=#1] \baposterBoxGetShape;% +} +\newcommand{\baposter@box@drawborder@rounded}[1]{ + \draw[color=#1] \baposterBoxGetShape;% +} +\newcommand{\baposter@box@drawborder@roundedleft}[1]{ + \draw[color=#1] \baposterBoxGetShape;% +} +\newcommand{\baposter@box@drawborder@roundedright}[1]{ + \draw[color=#1] \baposterBoxGetShape;% +} +\newcommand{\baposter@box@drawborder@faded}[1]{ + % This is the right way to do it, but it does not work with evince, and has problems during printing, so instead we do + %\draw[color=#1,path fading=south] \baposterBoxGetShape;% + % this + %\foreach \x in {0,1,...,90} { \draw[color=#1!\x] ($(\baposter@box@name tnw)!{(100-\x)/100}!(\baposter@box@name sw)$) -- ($(\baposter@box@name tnw)!{(100-(\x+10))/100}!(\baposter@box@name sw)$); }% + %\foreach \x in {0,1,...,90} { \draw[color=#1!\x] ($(\baposter@box@name tne)!{(100-\x)/100}!(\baposter@box@name se)$) -- ($(\baposter@box@name tne)!{(100-(\x+10))/100}!(\baposter@box@name se)$); }% + \foreach \x in {0,1,...,99} { \draw[color=#1,opacity=\x/100] ($(\baposter@box@name tnw)!{(100-\x)/100}!(\baposter@box@name sw)$) -- ($(\baposter@box@name tnw)!{(100-(\x+1))/100}!(\baposter@box@name sw)$); }% + \foreach \x in {0,1,...,99} { \draw[color=#1,opacity=\x/100] ($(\baposter@box@name tne)!{(100-\x)/100}!(\baposter@box@name se)$) -- ($(\baposter@box@name tne)!{(100-(\x+1))/100}!(\baposter@box@name se)$); }% +} +\newcommand{\baposter@box@drawborder@roundedsmall}[1]{ + \draw[color=#1] \baposterBoxGetShape;% +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Return shape path of text box (depending on the box shape) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% These functions take no arguments +% TODO: For headerborder==none, use (\baposter@box@name outer tnw) instead! +\newcommand{\baposter@box@headershape@rectangle}{% + (\baposter@box@name tnw) -- (\baposter@box@name nw) -- % + (\baposter@box@name ne) -- (\baposter@box@name tne)% +} +\newcommand{\baposter@box@headershape@smallrounded}{% + (\baposter@box@name tnw) {[src] -- (\baposter@box@name nw) -- % + (\baposter@box@name ne)} -- (\baposter@box@name tne)% +} +\newcommand{\baposter@box@headershape@roundedright}{% + (\baposter@box@name tnw) -- (\baposter@box@name nw) {[rc] -- % + (\baposter@box@name ne)} -- (\baposter@box@name tne)% +} +\newcommand{\baposter@box@headershape@roundedleft}{% + (\baposter@box@name tnw) {[rc]-- (\baposter@box@name nw)} -- % + (\baposter@box@name ne) -- (\baposter@box@name tne)% +} +\newcommand{\baposter@box@headershape@rounded}{% + (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- % + (\baposter@box@name ne) } -- (\baposter@box@name tne)% +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Header text drawing (one function for each possible value of headershape) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% These functions take one argument: the header text +\newcommand{\baposter@box@headerdrawtext@rectangle}[1]{ + \path (\baposter@box@name nw) +(0em,-0.5\baposter@box@@boxheaderheight) node[anchor=west,inner sep=0.4em] {#1};% +} +\newcommand{\baposter@box@headerdrawtext@smallrounded}[1]{ + \path (\baposter@box@name nw) +(0.5\boxwidth,-0.5\baposter@box@@boxheaderheight) node[anchor=center] {#1};% +} +\newcommand{\baposter@box@headerdrawtext@roundedright}[1]{ + \path (\baposter@box@name nw) +(0em,-0.5\baposter@box@@boxheaderheight)% + node[anchor=west,inner sep=0.4em,text depth=0.0em] {#1};% +} +\newcommand{\baposter@box@headerdrawtext@roundedleft}[1]{ + \path (\baposter@box@name nw) +(0em,-0.5\baposter@box@@boxheaderheight)% + node[anchor=west,inner sep=0.4em] {#1};% +} +\newcommand{\baposter@box@headerdrawtext@rounded}[1]{ + \path (\baposter@box@name nw) +(0.5\boxwidth,-0.5\baposter@box@@boxheaderheight) node[anchor=center] {#1};% +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Header shade options and functions (one function for each possible value) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% These functions take two arguments: headerColorOne, headerColorTwo and borderColor +\newcommand{\baposter@box@headershade@shadelr}[3]{ + \debug{Header-Shade: Shade Left - Right} + \tikzstyle{header colors}=[% + color=#3,% + shading=axis,% + left color=#1,% + right color=#2% + ]% +} +\newcommand{\baposter@box@headershade@shadetb}[3]{ + \debug{Header-Shade: Shade Top - Bottom} + \tikzstyle{header colors}=[% + color=#3,% + shading=axis,% + top color=#1,% + bottom color=#2% + ]% +} +\newcommand{\baposter@box@headershade@shadetbinverse}[3]{ + \tikzstyle{header colors}=[% + top color=#1!75!#2,% + bottom color=#2!100!#1,% + shading angle=20% + ]% + \colorlet{baposterHeaderFontColor}{white}% +} +\newcommand{\baposter@box@headershade@plain}[3]{ + \debug{Header-Shade: Plain} + \tikzstyle{header colors}=[% + color=#3,% + fill=#1% + ]% +} +\newcommand{\baposter@box@headershade@none}[3]{ + \debug{Header-Shade: none} + \tikzstyle{header colors}=[] +} + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% The main poster environment +%%% \begin{baposter}{settings}{Eye Catcher}{Title}{Author}{University Logo} +%%%----------------------------------------------------------------------------- +%%% The settings are +%%% - grid=true,[false]:Show grid to help with alignment +%%% - colspacing=0.7em: Column spacing +%%% - columns=4: number of columns (default 4 in landscape and 3 in portrait format) (maximum number is 6) +%%% - color=[orange]: xcolor color definition used as the main color of the poster +%%% - colortwo=[white]: The other color for gradient based layouts +%%% - textborder=none,bars,coils,triangles,rectangle,rounded,roundedsmall,roundedleft,roundedright,[faded] +%%% The style of the box around the text area +%%% - headerborder=none,closed,open +%%% No extra border around box header, full border around box header or border that is open below. +%%% - headershape=rectangle,rounded,roundedleft,roundedright +%%% Shape of the box-header region +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newenvironment{poster}[5]{% + \thispagestyle{empty}% Suppress Page Number + \debug{Poster Starts}% + % This setkeys call parses all provided options and depending on the option + % value, assigns different handler functions to the \baposter(Box|Header)* + % functions. Once that is done, we don't have to care about particular + % values for border, shading, etc. All we have to do is call the + % handler functions and let them do their job. + % This also allows the user to override the poster-wide defaults on a per-box + % basis. + \setkeys[ba]{posterbox,poster}{#1}% +% + % TODO: Move all those assignments to the key macros! + % Parse Keys% + \colorlet{bgColorOne}{\baposter@bgColorOne} + \colorlet{bgColorTwo}{\baposter@bgColorTwo} +% + %% Boxes% + \setlength{\headerheight}{\baposter@headerheight}% + \setlength{\colheight}{\textheight-\baposter@headerheight}% + \renewcommand{\@@previousbox}{notset} + + \debug{Format}% + % Set default for columns if unset (4 for landscape, 3 for portrait) + \ifthenelse{\equal{\baposter@columns}{}}{% + \if@landscape + \renewcommand{\baposter@columns}{4} + \else + \renewcommand{\baposter@columns}{3} + \fi + % + }{} +% + \debug{Columns: \baposter@columns}% + \setlength{\baposter@@colspacing}{\baposter@colspacing}% + \setlength{\colwidth}{\textwidth}% + \addtolength{\colwidth}{\baposter@@colspacing*(1-\baposter@columns)}% + \ifcase\baposter@columns\relax + \error{You need to have at least one column!} + \or % 1 + \setlength{\colwidth}{\colwidth}% + \or % 2 + \setlength{\colwidth}{0.5\colwidth}% + \or % 3 + \setlength{\colwidth}{0.3333333333333\colwidth}% + \or % 4 + \setlength{\colwidth}{0.25\colwidth}% + \or % 5 + \setlength{\colwidth}{0.2\colwidth}% + \or % 6 + \setlength{\colwidth}{0.16666666666\colwidth}% + \else % >6 + \error{You do not want so many columns} + \fi +% + \newcommand{\baposter@reference}{north west}% +% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % A box with a header and some content. The basic unit of the poster% + %---------------------------------------------------------------------------% + % Each box has a name and can be placed absolutely or relatively.% + % The only inconvenience is that you can only specify a relative position % + % towards an already declared box. So if you have a box attached to the % + % bottom, one to the top and a third one which should be inbetween, you % + % have to specify the top and bottom boxes before you specify the middle % + % box.% + %% + % below= name of other node% + % above= name of other node% + % aligned=name of other node% + % bottomaligned=name of other node% + % column= [0] % + % row= [0] % + % span= [1] % + % height= ,[auto]% + % name= [noname]% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + % Backward-compatibility definition (\headerbox command uses posterbox env): + \newcommand{\headerbox}[3]{% + \begin{posterbox}[##2]{##1} + ##3 + \end{posterbox} + } + + \newenvironment{posterbox}[2][]{% + \debug{Poster box options: ##1}% + % Override the poster-wide defaults on a per-box basis + \setkeys[ba]{posterbox}{##1}% +% + \def\baposter@box@title{##2} +% + \colorlet{borderColor}{\baposter@box@borderColor} + \colorlet{headerColorOne}{\baposter@box@headerColorOne} + \colorlet{headerColorTwo}{\baposter@box@headerColorTwo} + \colorlet{headerFontColor}{\baposter@box@headerFontColor} + \colorlet{boxColorOne}{\baposter@box@boxColorOne} + \colorlet{boxColorTwo}{\baposter@box@boxColorTwo} +% + \setlength{\baposter@box@@cornerradius}{\baposter@box@cornerradius}% + \ifthenelse{\equal{\baposter@box@title}{}}{% No header + \setlength{\baposter@box@@boxheaderheight}{0pt}% + }{ % With header + \setlength{\baposter@box@@boxheaderheight}{\baposter@box@boxheaderheight}% + }% + \setlength{\baposter@box@@boxpadding}{\baposter@box@boxpadding}% + + + %% The columns is always given absolute + % boxstartx = column * colwidth + column * colspacing + \setlength{\boxstartx}{(\colwidth+\baposter@@colspacing)*\baposter@box@column}% +% + %% The width is given absolute + % Box Width = span * colwidth + (span-1) * colspacing + \setlength{\boxwidth}{\baposter@box@span\colwidth} % + \addtolength{\boxwidth}{\baposter@@colspacing*(\baposter@box@span-1)}% +% + %% Measure the content of the box% + \setbox\baposter@box@content=\hbox\bgroup% + \begin{pgfinterruptpicture}% + \begin{minipage}[t]{\boxwidth-\baposter@box@@boxpadding*2}% + \baposter@box@textfont\bgroup% + }% End of posterbox preamble + %%% HERE COME THE ACTUAL CONTENTS OF THE HEADERBOX ENVIRONMENT + {% posterbox handling after contents (i.e. drawing everything) + \egroup% + \end{minipage}% + \end{pgfinterruptpicture}% + \egroup% + \setlength{\boxheight}{\ht\baposter@box@content}% + \addtolength{\boxheight}{\dp\baposter@box@content}% + \addtolength{\boxheight}{\baposter@box@@boxheaderheight} % Header% + \addtolength{\boxheight}{2\baposter@box@@boxpadding} % Inner Sep +% + \ifthenelse{\equal{\baposter@box@height}{bottom}}{% + }{\ifthenelse{\equal{\baposter@box@height}{auto}}{% + }{ % Neither auto nor bottom% + \setlength{\boxheight}{\baposter@box@height\colheight}% + }}% +% + %% Determine the box position% + \debug{Setting Coordinates}% + \debug{Upper Right}% + \debug{\baposter@box@name}% +% + %%% Upper Right Corner% + % if below=auto, set it to the previous box + % TODO: We should generalize this to the previous box of the used column, + % currently we use the previous box, which might be in a different column + \ifthenelse{\equal{\baposter@box@below}{auto}}{% + \edef\baposter@box@below{\@@previousbox} + \debug{Box \baposter@box@name has below=auto, placing it below box \baposter@box@below.} + }{} + \xdef\@@previousbox{\baposter@box@name} + + \ifthenelse{\not\equal{\baposter@box@below}{notset} }{% + %% Below% + \debug{Below}% + \path[shape=coordinate] (\boxstartx,0pt |- \baposter@box@below se) ++(0pt,-\baposter@@colspacing) coordinate(\baposter@box@name nw);% + }{% + \ifthenelse{\not\equal{\baposter@box@aligned}{notset} }{% + %% Aligned% + \debug{Aligned: \baposter@box@aligned}% + \path[shape=coordinate] (\boxstartx,0pt |- \baposter@box@aligned nw) coordinate(\baposter@box@name nw);% + }{% + %% Fixed% + \debug{Fixed}% + \setlength{\boxstarty}{\baposter@box@row\colheight}% + \path[shape=coordinate] (\boxstartx,\colheight-\boxstarty) coordinate(\baposter@box@name nw);% + }}% +% + %% Lower Left Corner% + \debug{Lower Left}% + \ifthenelse{\equal{\baposter@box@above}{bottom}}{% + %% Above = Bottom% + \debug{Above bottom}% + \ifthenelse{\equal{\baposter@box@below}{notset} \and \equal{\baposter@box@aligned}{notset}}{% + \path[shape=coordinate] (\boxstartx,\boxheight) coordinate(\baposter@box@name nw);% + }{}% + \path[shape=coordinate] (\boxstartx+\boxwidth,0pt) coordinate(\baposter@box@name se);% + }{\ifthenelse{\not \equal{\baposter@box@bottomaligned}{notset}}{% + \path[shape=coordinate] (\boxstartx+\boxwidth,0pt |- \baposter@box@bottomaligned se) coordinate(\baposter@box@name se);% + }{{\ifthenelse{\not \equal{\baposter@box@above}{notset}}{% + %% Above = Node% + \path[shape=coordinate] (\boxstartx+\boxwidth,0pt |- \baposter@box@above nw) +(0pt,\baposter@@colspacing) coordinate(\baposter@box@name se);% + }{% + %% Above = notset% + \debug{Above=not set}% + \ifthenelse{\equal{\baposter@box@height}{bottom}}{% + %% height=bottom% + \debug{height=bottom}% + \path[shape=coordinate] (\boxstartx+\boxwidth,0pt) coordinate(\baposter@box@name se);% + }{ %% height=auto or fixed% + \debug{height=auto or fixed}% + \path[shape=coordinate] (\baposter@box@name nw) ++(\boxwidth,-\boxheight) coordinate(\baposter@box@name se);% + }}}}}% +% + % + % Set coordinates relative to nw,se% + \debug{Fixing Coordinates}% + \path[shape=coordinate]% + (\baposter@box@name nw) +(0pt,-\baposter@box@@boxheaderheight) coordinate(\baposter@box@name tnw)% + (\baposter@box@name nw |- \baposter@box@name se) coordinate(\baposter@box@name sw)% + (\baposter@box@name se |- \baposter@box@name nw) coordinate(\baposter@box@name ne)% + (\baposter@box@name ne) +(0pt,-\baposter@box@@boxheaderheight) coordinate(\baposter@box@name tne)% +% + (\baposter@box@name nw) +(-0.025em,0pt) coordinate(\baposter@box@name outer nw)% + (\baposter@box@name tnw) +(-0.025em,0pt) coordinate(\baposter@box@name outer tnw)% + (\baposter@box@name sw) +(-0.025em,0pt) coordinate(\baposter@box@name outer sw)% +% + (\baposter@box@name ne) +( 0.025em,0pt) coordinate(\baposter@box@name outer ne)% + (\baposter@box@name tne) +( 0.025em,0pt) coordinate(\baposter@box@name outer tne)% + (\baposter@box@name se) +( 0.025em,0pt) coordinate(\baposter@box@name outer se);% +% + %% Setting the bg colors of the box header + \baposterHeaderSetShade{headerColorOne}{headerColorTwo}{borderColor} +% + \tikzstyle{rc}=[rounded corners=\baposter@box@@cornerradius];% + \tikzstyle{src}=[rounded corners=0.5em];% +% + + %% Now that everything is set up, draw the actual box, with bg and header + \begin{scope}[line width=\baposter@box@linewidth] + %% Header% + \debug{Header}% + \debug{Header-Shape: \baposter@box@headershape, header-border: \baposter@box@headerborder (\baposter@box@headerbordernr)}% + % TODO: Also turn this last ifcase construct into a handler function + % We only need to determine (fill|shade)(draw|)... +% \baposterHeaderDrawBackground{bgColorOne}{bgColorTwo}{borderColor} +% \baposterHeaderDrawBorder{borderColor} + \ifthenelse{\equal{\baposter@box@title}{}}{% No header + }{% With header + \ifcase\baposter@box@headerbordernr\relax% + % open + \ifthenelse{\equal{\baposter@box@headershade}{plain}}{ + \filldraw [style=header colors] \baposterHeaderGetShape;% + }{ + \shadedraw [style=header colors] \baposterHeaderGetShape;% + } + \or + % closed + \ifthenelse{\equal{\baposter@box@headershade}{plain}}{ + \filldraw [style=header colors] \baposterHeaderGetShape -- cycle;% + }{ + \shadedraw [style=header colors] \baposterHeaderGetShape -- cycle;% + } + \or + % none + \ifthenelse{\equal{\baposter@box@headershade}{plain}}{ + \fill [style=header colors] \baposterHeaderGetShape;% + }{ + \shade [style=header colors] \baposterHeaderGetShape;% + } + \fi + % + %% Draw the text inside the box header: + \baposterHeaderDrawText{\color{headerFontColor}\baposter@box@headerfont{\baposter@box@title}};% + } + % + %% Text borders (border around boxes) + \debug{Poster boxes}% + % First set box shade + \baposterBoxDrawBackground{boxColorOne}{boxColorTwo} + \baposterBoxDrawBorder{borderColor} + %% + %% Text Box% + \debug{Drawing Text}% + \path (\baposter@box@name tnw) node(text) [anchor=north west, + outer sep=-0.000em,text width=\boxwidth-2\baposter@box@@boxpadding,inner sep=\baposter@box@@boxpadding, + text justified] {\usebox{\baposter@box@content}};% + \end{scope} + % + % Finally store the box name as the previous box for the next call +% \xdef\@@previousbox{\baposter@box@name}% + }% END of posterbox definition +% + %% Poster Background% + \baposterPosterDrawBackground{bgColorOne}{bgColorTwo}% + %% Poster header/title + \hspace{-1.5em}% + \begin{tikzpicture}[inner sep=0pt,outer sep=0pt,line width=0.05em]% + \useasboundingbox (0em,0em) rectangle(\textwidth,\textheight);% + \path[shape=coordinate]% + (0pt,\colheight) coordinate(north west) (\textwidth,\colheight) coordinate(north east)% + (0pt,0pt) coordinate(south west) (\textwidth,0pt) coordinate(south east);% +% + \ifbaposter@eyecatcher% Has eye catcher + \debug{Eyecatcher found!} + \setbox\baposter@titleimage@left=\hbox{#2}% + \else% Has no eye catcher% + \setbox\baposter@titleimage@left=\hbox{}% + \fi% + \setlength{\baposter@titleimage@left@width}{\wd\baposter@titleimage@left}% + \setbox\baposter@titleimage@right=\hbox{#5}% + \setlength{\baposter@titleimage@right@width}{\wd\baposter@titleimage@right}% + \setlength{\baposter@titleimage@textwidth}{\textwidth}% + \addtolength{\baposter@titleimage@textwidth}{-\baposter@titleimage@left@width}% + \addtolength{\baposter@titleimage@textwidth}{-\baposter@titleimage@right@width}% + + \debug{#3} + % + % + % % Draw Header% + \draw (north west) +(0em,1em+0.5\headerheight) node(image)[anchor=west] { {\usebox{\baposter@titleimage@left }} };% + \draw (north east) +(0em,1em+0.5\headerheight) node(logo) [anchor=east] { {\usebox{\baposter@titleimage@right}} };% + % + \ifbaposter@eyecatcher% Has eye catcher% + \draw (image.east) node(title)[anchor=west,text width=\baposter@titleimage@textwidth]{% + \begin{minipage}{\baposter@titleimage@textwidth}% + \begin{center}% + \textbf{\Huge #3}\\% + {\Large #4}% + \end{center}% + \end{minipage} + };% + \else% Has no eye catcher + \draw (image.east) node(title)[anchor=west] { {\begin{minipage}{\baposter@titleimage@textwidth}{\Huge #3}\\{\Large #4}\end{minipage}} };% + \fi + }% END poster begin +% The body + {% BEGIN poster end + % The end, draw gridlines if neccesary + \ifbaposter@grid + \newdimen{\gridpos} + \typeout{\baposter@columns-1} + \pgfmathsetmacro{\z}{\baposter@columns-1} + \foreach \y in {0,...,\z} + { + \setlength{\gridpos}{\y\colwidth+\y\baposter@@colspacing} + \draw[draw=green,draw opacity=0.7] (\gridpos,0pt) -- (\gridpos,\colheight) + (\gridpos+\colwidth,0pt) -- (\gridpos+\colwidth,\colheight);% + } + % Horizontal lines, every 0.1: + %% Explicitly list all percentages, because with {0.0, 0.1, ..., 1.0} we + %% get rounding errors in the displayed numbers! + \foreach \y in {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0} + \draw[draw=green,draw opacity=0.7] (0pt,\colheight-\y\colheight) -- + (\textwidth,\colheight-\y\colheight) node[anchor=west] {\y};% + \fi% + \end{tikzpicture}% + % \xkvview{} + \par + }% END poster end diff --git a/Poster/figures/logo_ObAS_k.pdf b/Poster/figures/logo_ObAS_k.pdf new file mode 100644 index 0000000..feedb0f Binary files /dev/null and b/Poster/figures/logo_ObAS_k.pdf differ diff --git a/Poster/figures/logo_ObAS_w.pdf b/Poster/figures/logo_ObAS_w.pdf new file mode 100644 index 0000000..29c0ce4 Binary files /dev/null and b/Poster/figures/logo_ObAS_w.pdf differ diff --git a/Poster/figures/logo_Unistra_k.pdf b/Poster/figures/logo_Unistra_k.pdf new file mode 100644 index 0000000..b456a15 Binary files /dev/null and b/Poster/figures/logo_Unistra_k.pdf differ diff --git a/Poster/figures/logo_Unistra_w.pdf b/Poster/figures/logo_Unistra_w.pdf new file mode 100644 index 0000000..1a8d9e5 Binary files /dev/null and b/Poster/figures/logo_Unistra_w.pdf differ diff --git a/Poster/fonts/Brill-Bold.ttf b/Poster/fonts/Brill-Bold.ttf new file mode 100644 index 0000000..0a2acb8 Binary files /dev/null and b/Poster/fonts/Brill-Bold.ttf differ diff --git a/Poster/fonts/Brill-BoldItalic.ttf b/Poster/fonts/Brill-BoldItalic.ttf new file mode 100644 index 0000000..e38adb7 Binary files /dev/null and b/Poster/fonts/Brill-BoldItalic.ttf differ diff --git a/Poster/fonts/Brill-Italic.ttf b/Poster/fonts/Brill-Italic.ttf new file mode 100644 index 0000000..e08e717 Binary files /dev/null and b/Poster/fonts/Brill-Italic.ttf differ diff --git a/Poster/fonts/Brill-Regular.ttf b/Poster/fonts/Brill-Regular.ttf new file mode 100644 index 0000000..6b4fb6b Binary files /dev/null and b/Poster/fonts/Brill-Regular.ttf differ diff --git a/Poster/fonts/UnistraA-Bold.ttf b/Poster/fonts/UnistraA-Bold.ttf new file mode 100644 index 0000000..c7787ce Binary files /dev/null and b/Poster/fonts/UnistraA-Bold.ttf differ diff --git a/Poster/fonts/UnistraA-BoldItalic.ttf b/Poster/fonts/UnistraA-BoldItalic.ttf new file mode 100644 index 0000000..3e48210 Binary files /dev/null and b/Poster/fonts/UnistraA-BoldItalic.ttf differ diff --git a/Poster/fonts/UnistraA-Italic.ttf b/Poster/fonts/UnistraA-Italic.ttf new file mode 100644 index 0000000..93f6072 Binary files /dev/null and b/Poster/fonts/UnistraA-Italic.ttf differ diff --git a/Poster/fonts/UnistraA-Regular.ttf b/Poster/fonts/UnistraA-Regular.ttf new file mode 100644 index 0000000..e1ddb86 Binary files /dev/null and b/Poster/fonts/UnistraA-Regular.ttf differ diff --git a/Poster/fonts/UnistraEncadre-Bold.ttf b/Poster/fonts/UnistraEncadre-Bold.ttf new file mode 100644 index 0000000..2a39489 Binary files /dev/null and b/Poster/fonts/UnistraEncadre-Bold.ttf differ diff --git a/Poster/fonts/UnistraEncadre-Regular.ttf b/Poster/fonts/UnistraEncadre-Regular.ttf new file mode 100644 index 0000000..b3a742a Binary files /dev/null and b/Poster/fonts/UnistraEncadre-Regular.ttf differ diff --git a/Poster/poster.bib b/Poster/poster.bib new file mode 100644 index 0000000..e69de29 diff --git a/Poster/poster.tex b/Poster/poster.tex new file mode 100644 index 0000000..9d3be21 --- /dev/null +++ b/Poster/poster.tex @@ -0,0 +1,93 @@ +\documentclass[a0paper,portrait]{baposter} +\usepackage{tppda} + +\begin{document} + +%Background image: uncomment the following to add a background image and set background to "user" +% \background{ +% \begin{tikzpicture}[remember picture,overlay]% +% \draw (current page.north west)+(-2em,2em) node[anchor=north west] +% {\includegraphics[height=1.05\textheight]{./figures/image_bg.pdf}}; +% \end{tikzpicture}% +% } + +\begin{poster}{ + grid=false, + columns=3, % Number of columns + colspacing=2.7mm, % Column spacing + bgColorOne=white, % Background color for the gradient on the left side of the poster + bgColorTwo=white, % Background color for the gradient on the right side of the poster + borderColor=Mycolor2, % Border color + headerColorOne=Mycolor2, % Background color for the header in the content boxes (left side) + headerColorTwo=Mycolor2, % Background color for the header in the content boxes (right side) + headerFontColor=white, % Text color for the header text in the content boxes + background=none, % Set to "user" for a personnal background image + boxColorOne=white, % Background color of the content boxes + headerborder=open, % Adds a border around the header of content boxes + textborder=rounded, %rectangle, % Format of the border around content boxes, can be: none, bars, coils, triangles, rectangle, rounded, roundedsmall, roundedright or faded + eyecatcher=false, % Set to false for ignoring the left logo in the title and move the title left + headerheight=0.105\textheight, % Height of the header + headershape=rounded, % Specify the rounded corner in the content box headers, can be: rectangle, small-rounded, roundedright, roundedleft or rounded + headershade=plain, + headerfont=\huge\Unistra, % Large, bold and sans serif font in the headers of content boxes + textfont={\small\setlength{\parindent}{3mm}}, % Uncomment for paragraph indentation + linewidth=2pt % Width of the border lines around content boxes +} +{ + % Eye Catcher +} +{ + % Poster Title + \vspace{2.0mm} + \color{black}{\UnistraEnc{(\_(\_((\_Nice\_title\_in\_\textbf{Unistra}\_with\_boxes\_all\_around:\_) \newline (\_How\_nice\_right\_?\_))\_\_)}} +} +{ + % Author(s) Name(s), affiliation(s) + \newline\color{white}{\Unistra{\textbf{My Name}, under the direction of \textbf{My Director}, with my team.}\hfill\small{\textbf{My Lab}, myeamail@sendmecatspics.pls} % Author email addresses + } +} +{ + % University Logo +} + +\pgfsetfillopacity{0.85} + +% +%---------------------------------------------------------------------------------------- +% Poster content +%---------------------------------------------------------------------------------------- +% +\headerbox{first tiny left box}{name=namefirstbox,column=0,row=0,span=1}{ +} + +\headerbox{second box on right}{name=namesecondbox,column=1,row=0,span=2,bottomaligned=namefirstbox}{ +} + +\headerbox{third large box under the first two}{name=namethirdbox,column=0,below=namesecondbox,span=3}{ +} + +\headerbox{fourth large box as example}{name=namefourthbox,column=0,below=namethirdbox,span=3}{ +} + +\headerbox{}{headershape=rectangle, name=foottext, column=0, span=3, above=bottom, textborder=none, borderColor=Mycolor2, boxheaderheight=1pt}{ + \setlength{\parindent}{0mm} + % 1. minipage for references + \begin{minipage}{.60\textwidth} + \tiny\bibliography{poster} + \end{minipage} + \hfill\vline\hfill + % + % 2. minipage for logos + \begin{minipage}{.10\textwidth} + some logos + \end{minipage} + \hfill\vline\hfill + % + \begin{minipage}{.25\textwidth} + \centering\includegraphics[trim={0 0 0.5cm 0},width=.99\textwidth]{figures/logo_ObAS_k.pdf} + \end{minipage} +} + +\end{poster} + +\end{document} diff --git a/Poster/tppda.sty b/Poster/tppda.sty new file mode 100644 index 0000000..8be4f78 --- /dev/null +++ b/Poster/tppda.sty @@ -0,0 +1,81 @@ +\usepackage{graphicx} +\usepackage{qrcode} +%\usepackage{wrapfig} +%\usepackage[utf8]{inputenc} %unicode support +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage{color} +\usepackage{geometry} +\usepackage{multicol} +\setlength{\columnsep}{0.3cm} + +%% Play around with Unistra fonts +\usepackage{fontspec} % Require compilation with XeLaTeX +%\usepackage{polyglossia} %for multiple languages + +\newfontfamily{\Brill}{Brill}[Extension=.ttf, UprightFont=*-Regular, BoldFont=*-Bold, ItalicFont=*-Italic, BoldItalicFont=*-BoldItalic, Path=fonts/, Scale=1.] +\newfontfamily{\Unistra}{UnistraA}[Extension=.ttf, UprightFont=*-Regular, BoldFont=*-Bold, ItalicFont=*-Italic, BoldItalicFont=*-BoldItalic, Path=fonts/, Scale=1.] +\newfontfamily{\UnistraEnc}{UnistraEncadre}[Extension=.ttf, UprightFont=*-Regular, BoldFont=*-Bold, Path=fonts/, Scale=1.] + + +%% New section types +\usepackage{titlesec} +\titleformat*{\section}{\Unistra\LARGE} + +\newcommand{\info}[1]{ + \noindent + \hrulefill + \begin{center} + {\Unistra \Large #1} + \end{center} + \hrulefill +} + +\newcommand{\entete}[4]{ + {% + \Unistra\Large% + {% + \large\UnistraEnc \noindent(\_(\_((\_Universit\'e\_de\_Strasbourg\_))\_\_) + } \hfill #1 \\[1mm] + #2 \hfill #3 + \par + \begin{center} \Huge \textbf{#4} \end{center} + } +} + +\newenvironment{changemargin}[2]{% +\begin{list}{}{% + \setlength{\topsep}{0pt}% + \setlength{\leftmargin}{#1}% + \setlength{\rightmargin}{#2}% + \setlength{\listparindent}{\parindent}% + \setlength{\itemindent}{\parindent}% + \setlength{\parsep}{\parskip}% +}% +\item[]}{\end{list}} + +\newcommand{\compresslist}{% + \setlength{\itemsep}{0pt}% + \setlength{\itemindent}{-12pt}% + \setlength{\parskip}{1pt}% + \setlength{\parsep}{0pt}% + \setlength{\parindent}{0mm}% +} + +\newenvironment{boenumerate} + {\begin{enumerate}\renewcommand\labelenumi{\textbf\theenumi.}} + {\end{enumerate}} + + +%% Color accents in the poster +\selectcolormodel{cmyk} +\definecolor{Mycolor1}{HTML}{455AC3} +\definecolor{Mycolor2}{HTML}{3577C4} + +%% Setup for bibliography +\usepackage{aas_macros} +\usepackage[square,numbers]{natbib} +\bibliographystyle{aa} +\setlength{\bibsep}{1pt} +\renewcommand{\bibpreamble}{\vspace{-4mm}\begin{multicols}{2}} +\renewcommand{\bibpostamble}{\end{multicols}\vspace{-3mm}} diff --git a/Poster_template.zip b/Poster_template.zip new file mode 100644 index 0000000..e9ccfde Binary files /dev/null and b/Poster_template.zip differ diff --git a/Thesis/Appendices/app-AppendixA.tex b/Thesis/Appendices/app-AppendixA.tex new file mode 100644 index 0000000..089f01c --- /dev/null +++ b/Thesis/Appendices/app-AppendixA.tex @@ -0,0 +1,9 @@ +\chapter{Title for first appendix} +\chaptermark{Title for first appendix in header} +\label{app:annexeA} +%\adjustmtc +\minitoc + +\section{Section 1} + +... \ No newline at end of file diff --git a/Thesis/Appendices/app-Glossary.tex b/Thesis/Appendices/app-Glossary.tex new file mode 100644 index 0000000..c6c7283 --- /dev/null +++ b/Thesis/Appendices/app-Glossary.tex @@ -0,0 +1,4 @@ +\chapter*{Glossary} +\chaptermark{Glossary} +\markboth{GLOSSARY}{PUBLICATIONS} +\addcontentsline{toc}{chapter}{Glossary} diff --git a/Thesis/Appendices/app-Publications.tex b/Thesis/Appendices/app-Publications.tex new file mode 100644 index 0000000..fbcd9d5 --- /dev/null +++ b/Thesis/Appendices/app-Publications.tex @@ -0,0 +1,17 @@ +\chapter*{List of Publications} +\chaptermark{List of Publications} +\markboth{LIST OF PUBLICATIONS}{LIST OF PUBLICATIONS} +\addcontentsline{toc}{chapter}{List of Publications} + +%%% Add all relevant publications to ./papers.bib +%%% Define \firstauth{Name} and \addboldnames{{Name, I.},{Name, First-Name}} in PhDThesisED182.cls +%%% Will go through all references, add categories based on First Author, Second Author or Contributor +%%% Can also add conference talks and posters as non-articles + +\begin{refsection} + \nocite{*}% + \printbibliography[keyword={first},check=JoPR,type=article,heading=subbibliography,title={First Author}]% + \printbibliography[keyword={main},check=JoPR,type=article,heading=subbibliography,title={Main contribution}]% + \printbibliography[keyword={collab},check=JoPR,type=article,heading=subbibliography,title={Collaborator}]% + \printbibliography[nottype=article,heading=subbibliography,title={Conferences}]% +\end{refsection} diff --git a/Thesis/Chapters/ch-Abstract.tex b/Thesis/Chapters/ch-Abstract.tex new file mode 100644 index 0000000..5990ea6 --- /dev/null +++ b/Thesis/Chapters/ch-Abstract.tex @@ -0,0 +1,6 @@ +\chapter*{Abstract} +\chaptermark{Abstract} +\markboth{ABSTRACT}{ABSTRACT} +\addcontentsline{toc}{chapter}{Abstract} + +... \ No newline at end of file diff --git a/Thesis/Chapters/ch-Acknowledgements.tex b/Thesis/Chapters/ch-Acknowledgements.tex new file mode 100644 index 0000000..182f599 --- /dev/null +++ b/Thesis/Chapters/ch-Acknowledgements.tex @@ -0,0 +1,5 @@ +\chapter*{Acknowledgements} +\chaptermark{Acknowledgements} +\markboth{ACKNOWLEDGEMENTS}{ACKNOWLEDGEMENTS} + +... \ No newline at end of file diff --git a/Thesis/Chapters/ch-Chapter1.tex b/Thesis/Chapters/ch-Chapter1.tex new file mode 100644 index 0000000..6b15471 --- /dev/null +++ b/Thesis/Chapters/ch-Chapter1.tex @@ -0,0 +1,28 @@ +\chapter{Chapter 1 title} +\chaptermark{Chapter 1 title in header} +\label{ch:chapter1} +%\adjustmtc +\minitoc + +\section{First Section of first chapter} +\subsection{Let's talk about A} + +I must quote \citet{FavoriteAuthor} because they did a great job. + +\subsection{And now B} + +... + +\section{But what about this} + +\begin{figure}[ht] + \centering + \includegraphics[]{example-image-a} + \caption{Image A.} +\end{figure} + +\begin{figure}[ht] + \centering + \includegraphics[]{example-image-b} + \caption{Image B.} +\end{figure} \ No newline at end of file diff --git a/Thesis/Chapters/ch-Chapter2.tex b/Thesis/Chapters/ch-Chapter2.tex new file mode 100644 index 0000000..f3ad34e --- /dev/null +++ b/Thesis/Chapters/ch-Chapter2.tex @@ -0,0 +1,14 @@ +\chapter{Chapter 2 title} +\chaptermark{Chapter 2 title in header} +\label{ch:chapter2} +%\adjustmtc +\minitoc + + +\section{This is a work in progress} + +\subsection{Don't look at my notes} + +\begin{notes} + This text is only visible with the "ShowNotes" class option +\end{notes} diff --git a/Thesis/Chapters/ch-Chapter3.tex b/Thesis/Chapters/ch-Chapter3.tex new file mode 100644 index 0000000..e78fa54 --- /dev/null +++ b/Thesis/Chapters/ch-Chapter3.tex @@ -0,0 +1,17 @@ +\chapter{Chapter 3 title} +\chaptermark{Chapter 3 title in header} +\label{ch:chapter3} +%\adjustmtc +\minitoc + +\section{Look at this Table} + +\begin{table}[ht] + \centering + \begin{tabular}{c|c} + First col & Second col \\ + wow & right + \end{tabular} + \caption{Omg much data} + \label{tab:greattable} +\end{table} \ No newline at end of file diff --git a/Thesis/Chapters/ch-Conclusion.tex b/Thesis/Chapters/ch-Conclusion.tex new file mode 100644 index 0000000..c9d5737 --- /dev/null +++ b/Thesis/Chapters/ch-Conclusion.tex @@ -0,0 +1,7 @@ +\chapter*{Conclusion} +\chaptermark{Conclusion} +\markboth{CONCLUSION}{CONCLUSION} +\addcontentsline{toc}{chapter}{Conclusion} +\label{ch:Conclusion} + +... \ No newline at end of file diff --git a/Thesis/Chapters/ch-Introduction.tex b/Thesis/Chapters/ch-Introduction.tex new file mode 100644 index 0000000..d323019 --- /dev/null +++ b/Thesis/Chapters/ch-Introduction.tex @@ -0,0 +1,7 @@ +\chapter*{Introduction} +\chaptermark{Introduction} +\markboth{INTRODUCTION}{INTRODUCTION} +\addcontentsline{toc}{chapter}{Introduction} +\label{ch:Introduction} + +We start slowly ok \ No newline at end of file diff --git a/Thesis/Chapters/ch-Remerciements.tex b/Thesis/Chapters/ch-Remerciements.tex new file mode 100644 index 0000000..7cd2194 --- /dev/null +++ b/Thesis/Chapters/ch-Remerciements.tex @@ -0,0 +1,5 @@ +\chapter*{Remerciements} +\chaptermark{Remerciements} +\markboth{REMERCIEMENTS}{REMERCIEMENTS} + +... \ No newline at end of file diff --git a/Thesis/Chapters/ch-Résumé.tex b/Thesis/Chapters/ch-Résumé.tex new file mode 100644 index 0000000..fdf5418 --- /dev/null +++ b/Thesis/Chapters/ch-Résumé.tex @@ -0,0 +1,6 @@ +\chapter*{R\'esum\'e} +\chaptermark{R\'esum\'e} +\markboth{R\'ESUM\'E}{R\'ESUM\'E} +\addcontentsline{toc}{chapter}{R\'esum\'e} + +... \ No newline at end of file diff --git a/Thesis/Covers/BackCover.tex b/Thesis/Covers/BackCover.tex new file mode 100644 index 0000000..fc09bc4 --- /dev/null +++ b/Thesis/Covers/BackCover.tex @@ -0,0 +1,49 @@ +\thispagestyle{empty} +\pagenumbering{gobble} + +\setlength\oddsidemargin{\dimexpr(\paperwidth-\textwidth)/2 - 1in\relax} +\setlength\evensidemargin{\oddsidemargin} + +\makeatletter +\begin{changemargin}{-15mm}{-5mm} + \noindent% + \vspace*{-20mm}% + \begin{center}% + \includegraphics[keepaspectratio, height=8mm, trim={0 8mm 0 0}]{\@UniversityLogo}% + \hfill% + {\Large\bf \@Firstname\, \MakeUppercase{\@Lastname}}% + \hfill% + \includegraphics[keepaspectratio, height=8mm, trim={0 8mm 0 0}]{\ifdefempty{\@LaboLogo}{\@DoctoralSchoolLogo}{\@LaboLogo}}% + \end{center}% +\end{changemargin}\vspace*{1cm}% + +\begin{changemargin}{-10mm}{0mm} + \begin{center} + {\LARGE\bf \@TitreThese}% + \end{center} + \begin{mybox} + {\Large\textbf{Résumé}}\vspace*{5mm} + + \@resume + + \vspace*{5mm} + \textbf{Mots-clés}: \@motscles + \end{mybox}\vspace*{5mm} + + \begin{center} + {\LARGE\bf \@ThesisTitle}% + \end{center} + \begin{mybox} + {\Large\textbf{Abstract}}\vspace*{5mm} + + \@abstract + + \vspace*{5mm} + \textbf{Keywords}: \@keywords + \end{mybox} +\end{changemargin} +\makeatother + +% go back to default geometry settings +\setlength\oddsidemargin{\defaultOddsidemargin} +\setlength\evensidemargin{\defaultEvensidemargin} \ No newline at end of file diff --git a/Thesis/Covers/FrontCover.tex b/Thesis/Covers/FrontCover.tex new file mode 100644 index 0000000..c55fc21 --- /dev/null +++ b/Thesis/Covers/FrontCover.tex @@ -0,0 +1,69 @@ +%%% Note: Adjust the number of \bigskip to fit everything in one page +\thispagestyle{empty} +\pagenumbering{gobble} + +\setlength\oddsidemargin{\dimexpr(\paperwidth-\textwidth)/2 - 1in\relax} +\setlength\evensidemargin{\oddsidemargin} + +\makeatletter +\begin{changemargin}{-15mm}{-5mm} + \noindent + \vspace*{-25mm}% + \begin{center}% + \includegraphics[keepaspectratio, height=1.5cm]{\@UniversityLogo}% + \ifdefempty{\@LaboLogo}{}{\hfill\includegraphics[keepaspectratio, height=1.5cm]{\@LaboLogo}}% + \hfill% + \includegraphics[keepaspectratio, height=1.8cm, trim={0 3.0mm 0 0}]{\@DoctoralSchoolLogo}\\\vspace{5mm} + {\ifdefempty{\@LaboLogo}{\vspace{-15mm}}{}\Large\bf \MakeUppercase{\@UniversityName}}\\\vspace{10mm} + {\large\bf\textit{\MakeUppercase{\@DoctoralSchoolName}}}\\\vspace{5mm} + {\bf \@LaboName} + \end{center} +\end{changemargin} +\vfill% +\begin{changemargin}{-10mm}{0mm} + \begin{center} + \huge \textbf{TH\`ESE} \large pr\'esent\'ee par\\\vspace{5mm} + {\LARGE\bf\@Firstname\, \MakeUppercase{\@Lastname}}\\\vspace{5mm} + {\large soutenue le: \bfseries \@ThesisDate}\vspace{5mm} + + \begin{tabular}{rl} + pour obtenir le grade de: & \textbf{Docteur de l'\@UniversityName} \\ + Discipline/Sp\'ecialit\'e: & \@Discipline \ifdefempty{\@Speciality}{}{/\@Speciality} + \end{tabular}\vspace{1cm}% + + \begin{mybox}% + \Huge\centering{\bfseries \@TitreThese}\\ + \ifdefempty{\@SousTitreThese} + {} + {\Large\centering{\bfseries \@SousTitreThese}} + \end{mybox}% + \end{center}% +\end{changemargin}% +\vfill% +\begin{changemargin}{-15mm}{-5mm} + {\large\bfseries THÈSE dirigée par}:\vspace{2mm} + + \begin{tabular}{p{7cm}p{10cm}}% + \@directeurs + \end{tabular}\vspace{3mm} + + {\large\bfseries RAPPORTEURS}:\vspace{2mm} + + \begin{tabular}{p{7cm}p{10cm}} + \@rapporteurs + \end{tabular}\vspace{3mm} + + \noindent\makebox[\linewidth]{\rule{0.83\paperwidth}{0.4pt}}\vspace{3mm} + + {\large\bfseries AUTRES MEMBRES DU JURY}:\vspace{2mm} + + \begin{tabular}{p{7cm}p{10cm}} + \@jury + \end{tabular}\vspace{3mm} + +\end{changemargin} +\makeatother + +% go back to default geometry settings +\setlength\oddsidemargin{\defaultOddsidemargin} +\setlength\evensidemargin{\defaultEvensidemargin} \ No newline at end of file diff --git a/Thesis/Images/Covers/logo_ED182.pdf b/Thesis/Images/Covers/logo_ED182.pdf new file mode 100644 index 0000000..75fbc97 Binary files /dev/null and b/Thesis/Images/Covers/logo_ED182.pdf differ diff --git a/Thesis/Images/Covers/logo_ObAS.pdf b/Thesis/Images/Covers/logo_ObAS.pdf new file mode 100644 index 0000000..2eac577 Binary files /dev/null and b/Thesis/Images/Covers/logo_ObAS.pdf differ diff --git a/Thesis/Images/Covers/logo_StrasbourgUni.pdf b/Thesis/Images/Covers/logo_StrasbourgUni.pdf new file mode 100644 index 0000000..d4efddf Binary files /dev/null and b/Thesis/Images/Covers/logo_StrasbourgUni.pdf differ diff --git a/Thesis/NAME_Thesis.tex b/Thesis/NAME_Thesis.tex new file mode 100644 index 0000000..c6b3c9d --- /dev/null +++ b/Thesis/NAME_Thesis.tex @@ -0,0 +1,110 @@ +%\documentclass{PhDThesisED182} +\documentclass[showNotes, showLineNumbers]{PhDThesisED182} +%\modulolinenumbers[5] % Change line numbering every N lines + +%\renewcommand{\familydefault}{\sfdefault} % Uncomment to default to sans serif font + +%%%%%%%%%%%%%%%% Fill in for Front and Back Covers %%%%%%%%%%%%%%%% +% Author +\Firstname{Firstname} +\Lastname{Lastname} +% University +\UniversityName{Universit\'e de Strasbourg} +\UniversityLogo{Images/Covers/Logo\_StrasbourgUni.pdf} +% Labo +\LaboName{Observatoire Astronomique de Strasbourg (UMR 7550)} +\LaboLogo{Images/Covers/Logo\_ObAS.pdf} +% Doctoral school +\DoctoralSchoolName{\'Ecole Doctorale de physique et chimie-physique} +\DoctoralSchoolLogo{Images/Covers/logo\_ED182.pdf} +% Thesis +\ThesisDate{XX mois 20XX} +\TitreThese{Le titre de la thèse en français.} +\SousTitreThese{Un sous titre.} +\ThesisTitle{Title of the thesis in english.} +\ThesisSubTitle{A subtitle.} +\resume{1000 caract\`eres maximum} +\motscles{Mot-clé1, Mot-clé2, Mot-clé3} +\abstract{1000 letters max} +\keywords{Keyword1, Keyword2, Keyword3} +% Discipline +\Discipline{Physique} +\Speciality{} +% Directeurs +\directeurs{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Rapporteurs +\rapporteurs{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Jury +\jury{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Define first author and name(s) to be put in bold face in the List of publications +\firstauth{Name} +\addboldnames{{Name, Firstname},{Name, I.}} + +%%%%%%%%%%%%%%%% Document begin %%%%%%%%%%%%%%%% +\begin{document} + + \include{Covers/FrontCover} + + \cleardoublepage + \pagenumbering{roman} + + \dominitoc % use a mini table of contents for each chapter + + \ifshowLineNumbers\linenumbers\fi % show line numbers if switched on + \adjustmtc % to avoid minitoc position issue in the following chapters + \include{Chapters/ch-Abstract} + \include{Chapters/ch-Résumé} + + \adjustmtc + \include{Chapters/ch-Acknowledgements} + \include{Chapters/ch-Remerciements} + + \tableofcontents + + \adjustmtc + \include{Appendices/app-Glossary} + + \adjustmtc + \include{Appendices/app-Publications} + + \newpage + \listoffigures \mtcaddchapter % do not forget "\mtcaddchapter" (ohterwise, conflict with minitoc) + + \newpage + \listoftables \mtcaddchapter + + \cleardoublepage + \pagenumbering{arabic} + + \adjustmtc + \include{Chapters/ch-Introduction} + + \include{Chapters/ch-Chapter1} + \include{Chapters/ch-Chapter2} + \include{Chapters/ch-Chapter3} + + \adjustmtc + \include{Chapters/ch-Conclusion} + + \begin{appendices} + \include{Appendices/app-AppendixA} + \end{appendices} + + \resetboldnames % Remove bold font on \firstauth for global bibliography + \printbibliography + \addcontentsline{toc}{chapter}{Bibliography} + + \cleardoublepage + \include{Covers/BackCover} + +\end{document} diff --git a/Thesis/PhDThesisED182.cls b/Thesis/PhDThesisED182.cls new file mode 100644 index 0000000..a67af92 --- /dev/null +++ b/Thesis/PhDThesisED182.cls @@ -0,0 +1,184 @@ +%%% File: PhDThesisED182.cls +%%% Brief: Document class template for ED182 thesis manuscript +%%% Use: \documentclass[showNotes, showLineNumbers, showWatermark]{PhDThesisED182} +%%% Author: Alexandre BIGOT, alexandre.bigot@iphc.cnrs.fr +%%% Tweaks: Thibault BARNOUIN, thibault.barnouin@astro.unistra.fr + +%% Identification +%% The class identifies itself and the LaTeX version needed +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{PhDThesisED182}[2024-02-28 Minimal class for PhD thesis manuscript in ED182] + +%% Load the article class file +\LoadClass[a4paper,twoside,12pt]{report} + +%%%%%%%%%%%%%%%% Commands and default values for Covers %%%%%%%%%%%%%%%% +% Author name +\newcommand{\Firstname}[1]{\gdef\@Firstname{#1}} +\Firstname{Firstname} +\newcommand{\Lastname}[1]{\gdef\@Lastname{#1}} +\Lastname{Lastname} +% University name and logo +\newcommand{\UniversityName}[1]{\gdef\@UniversityName{#1}} +\UniversityName{Universit\'e de Strasbourg} +\newcommand{\UniversityLogo}[1]{\gdef\@UniversityLogo{#1}} +\UniversityLogo{Images/Covers/Logo\_StrasbourgUni.pdf} +% Labo name and logo +\newcommand{\LaboName}[1]{\gdef\@LaboName{#1}} +\LaboName{My Laboratory} +\newcommand*{\LaboLogo}[1]{\gdef\@LaboLogo{#1}} +\LaboLogo{} +% Doctoral school name and logo +\newcommand{\DoctoralSchoolName}[1]{\gdef\@DoctoralSchoolName{#1}} +\DoctoralSchoolName{\'Ecole Doctorale de physique et chimie-physique} +\newcommand{\DoctoralSchoolLogo}[1]{\gdef\@DoctoralSchoolLogo{#1}} +\DoctoralSchoolLogo{Images/Covers/logo\_ED182} +% Thesis title and subtitle in French and English +\newcommand{\TitreThese}[1]{\gdef\@TitreThese{#1}} +\TitreThese{Le titre de la thèse en français.} +\newcommand*{\SousTitreThese}[1]{\gdef\@SousTitreThese{#1}} +\SousTitreThese{} +\newcommand{\resume}[1]{\gdef\@resume{#1}} +\resume{1000 caract\`eres maximum} +\newcommand{\motscles}[1]{\gdef\@motscles{#1}} +\motscles{...} +\newcommand{\ThesisTitle}[1]{\gdef\@ThesisTitle{#1}} +\ThesisTitle{Title of the thesis in english.} +\newcommand*{\ThesisSubTitle}[1]{\gdef\@ThesisSubTitle{#1}} +\ThesisSubTitle{} +\renewcommand{\abstract}[1]{\gdef\@abstract{#1}} +\abstract{1000 letters max} +\newcommand{\keywords}[1]{\gdef\@keywords{#1}} +\keywords{...} +\newcommand{\ThesisDate}[1]{\gdef\@ThesisDate{#1}} +\ThesisDate{XX mois 20XX} +% Discipline +\newcommand{\Discipline}[1]{\gdef\@Discipline{#1}} +\Discipline{Physique} +\newcommand*{\Speciality}[1]{\gdef\@Speciality{#1}} +\Speciality{} +%%% Members of the jury title, name, position and affiliation +\newcommand{\person}[5]{\hspace{2mm}\bfseries{#1\, \MakeUppercase{#2}\, #3} & {#4, #5}\\} +% Directeurs +\newcommand{\directeurs}[1]{\gdef\@directeurs{#1}} +\directeurs{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Rapporteurs +\newcommand{\rapporteurs}[1]{\gdef\@rapporteurs{#1}} +\rapporteurs{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Jury +\newcommand{\jury}[1]{\gdef\@jury{#1}} +\jury{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} + +%% Load packages +\PassOptionsToPackage{pdftitle={\@ThesisTitle}, pdfauthor={\@Firstname \@Lastname}, pdfcreator={PdfLaTeX}, pdfkeywords={\@keywords}, pdfsubject={Thesis Manuscript}}{hyperref}\RequirePackage{hyperref} % Extensive support for hypertext +\makeatother +\PassOptionsToPackage{a4paper,inner=25mm,outer=15mm,top=25mm,bottom=20mm}{geometry}\RequirePackage{geometry} % Flexible and complete interface to document dimensions +\PassOptionsToPackage{T1}{fontenc}\RequirePackage{fontenc} % Standard package for selecting font encodings +%\PassOptionsToPackage{comma,square,numbers,sort&compress}{natbib}\RequirePackage{natbib} % Flexible bibliography support +\PassOptionsToPackage{main=english,french}{babel}\RequirePackage{babel} % Multilingual support +\RequirePackage{lmodern} % Make sure thesis is ready for printing +\RequirePackage{graphicx} % Enhanced support for graphics +\RequirePackage{amsmath} % AMS mathematical facilities +\RequirePackage{amsfonts} % TeX fonts from the American Mathematical Society +\RequirePackage{xcolor} % Driver-independent color extensions +\RequirePackage{fancyhdr} % Extensive control of page headers and footers +\RequirePackage{etoolbox} % Extended conditional commands +\PassOptionsToPackage{most}{tcolorbox}\RequirePackage{tcolorbox} % Coloured boxes +\PassOptionsToPackage{nottoc}{tocbibind}\RequirePackage{tocbibind} % Add bibliography/index/contents to Table of Contents +\RequirePackage{minitoc} % Produce a table of contents for each chapter, part or section +\PassOptionsToPackage{title}{appendix}\RequirePackage{appendix} % Extra control of appendices +\PassOptionsToPackage{modulo}{lineno}\RequirePackage{lineno} % Line numbers on paragraphs +\RequirePackage{macros} % Personal macros for bibliography + +\addbibresource[glob]{*.bib} + +%% Define my colours +\definecolor{DarkBlue}{rgb}{0.0, 0.0, 0.55} +\definecolor{DarkRed}{rgb}{0.55, 0.0, 0.0} +\definecolor{DarkGreen}{rgb}{0.0, 0.2, 0.13} +\definecolor{DodgerBlue}{rgb}{0.12, 0.56, 1.0} +\colorlet{DodgerBlue2}{DodgerBlue!80} + +%% Color commands +\newcommand{\mycolor}[2]{\color{#1}#2\color{black}\xspace} +\newcommand{\red}[1]{\color{red}#1\color{black}\xspace} + +%% Change hyperlinks style +\hypersetup +{ + colorlinks=true, + linkcolor=black, + linktocpage=false, % to have the link on the page number in toc + filecolor=magenta, + urlcolor=DodgerBlue, + citecolor=DodgerBlue, +} + +%% Fonts substitutions for non existing bold small caps in lmodern +\rmfamily +\DeclareFontShape{T1}{lmr}{b}{sc}{<->ssub*cmr/b/sc}{} +\DeclareFontShape{T1}{lmr}{bx}{sc}{<->ssub*cmr/bx/sc}{} + +\sffamily +\DeclareFontShape{T1}{lmss}{m}{sc} { <-> ssub * phv/m/sc }{} +\DeclareFontShape{T1}{lmss}{bx}{sc} { <-> ssub * phv/bx/sc }{} + +%% Table of contents configuration +\setcounter{minitocdepth}{3} +\setlength{\mtcindent}{24pt} +\renewcommand{\mtcfont}{\small} +\renewcommand{\mtifont}{\large\bf} +\renewcommand{\mtcSfont}{\small\bf} +\renewcommand{\mtcSSfont}{\small} +%\renewcommand{\mtctitle}{Contents} + +%% Section configuration | Change the numerotations of sections + % \renewcommand{\thesection}{\Roman{section})} + % \renewcommand{\thesubsection}{\Roman{section}.\arabic{subsection})} + % \renewcommand{\thesubsubsection}{\Roman{section}.\arabic{subsection}.\alph{subsubsection})} + +%% A simple box +\newenvironment{mybox}[0]{% + \tcolorbox[opacityback=0., standard jigsaw,breakable]}% + {\endtcolorbox} + +%% Change left and right margins (used in front and back covers) +\newenvironment{changemargin}[2]{% + \begin{list}{}{% + \setlength{\topsep}{0pt}% + \setlength{\leftmargin}{#1}% + \setlength{\rightmargin}{#2}% + \setlength{\listparindent}{\parindent}% + \setlength{\itemindent}{\parindent}% + \setlength{\itemsep}{\parskip}% + \setlength{\parsep}{\parskip}% + }% + \item[] +}{\end{list}} + +%% Save deault margin lengths +\newlength{\defaultOddsidemargin} +\setlength{\defaultOddsidemargin}{\oddsidemargin} +\newlength{\defaultEvensidemargin} +\setlength{\defaultEvensidemargin}{\evensidemargin} + +%% Switches +\newif\ifshowNotes + \newenvironment{notes}[1]{\ifshowNotes #1\fi} + +\newif\ifshowLineNumbers +% +%% Class options +\DeclareOption{showNotes}{\showNotestrue} +\DeclareOption{showLineNumbers}{\showLineNumberstrue} +\ProcessOptions\relax % to process options diff --git a/Thesis/biblio.bib b/Thesis/biblio.bib new file mode 100644 index 0000000..a8d3008 --- /dev/null +++ b/Thesis/biblio.bib @@ -0,0 +1,10 @@ +@article{FavoriteAuthor, + author = {{Another-Name}, I. and {Another-Name}, J. and {Another-Name}, K. and {Another-Name}, + L.}, + title = "{Some really interesting article I didn't even write}", + journal = {Nature}, + year = 2005, + month = oct, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} \ No newline at end of file diff --git a/Thesis/macros.sty b/Thesis/macros.sty new file mode 100644 index 0000000..a3d4a4d --- /dev/null +++ b/Thesis/macros.sty @@ -0,0 +1,180 @@ +%---------------------------------------------------------------------------------------- +% DEFINE BIBLIOGRAPHY STYLE +%---------------------------------------------------------------------------------------- +\usepackage{csquotes} +\usepackage[backend=biber,natbib=true,style=authoryear,uniquename=init,giveninits=true,isbn=false,url=false,doi=false,maxcitenames=3,minbibnames=6,maxbibnames=50,sorting=ynt]{biblatex} +\addbibresource[glob]{papers.bib} +\makeatletter +\def\nhblx@bibfile@name{papers-sort.bib} +\newwrite\nhblx@bibfile +\immediate\openout\nhblx@bibfile=\nhblx@bibfile@name + +\immediate\write\nhblx@bibfile{% + @comment{Auto-generated file}\blx@nl} + +\newcounter{nhblx@name} +\setcounter{nhblx@name}{0} + +\newcommand*{\nhblx@writenametobib}[1]{% + \stepcounter{nhblx@name}% + \edef\nhblx@tmp@nocite{% + \noexpand\AfterPreamble{% + \noexpand\setbox0\noexpand\vbox{% + \noexpand\nhblx@getmethehash{nhblx@name@\the\value{nhblx@name}}}}% + }% + \nhblx@tmp@nocite + \immediate\write\nhblx@bibfile{% + @misc{nhblx@name@\the\value{nhblx@name}, author = {\unexpanded{#1}}, % + options = {dataonly=true},}% + }% +} + +\AtEndDocument{% + \closeout\nhblx@bibfile} + +\addbibresource{\nhblx@bibfile@name} + +\newcommand*{\nhblx@boldhashes}{} +\DeclareNameFormat{nhblx@hashextract}{% + \xifinlist{\thefield{hash}}{\nhblx@boldhashes} + {} + {\listxadd{\nhblx@boldhashes}{\thefield{hash}}}} + +\DeclareCiteCommand{\nhblx@getmethehash} + {} + {\printnames[nhblx@hashextract][1-999]{author}} + {} + {} + +\newcommand*{\nhblx@writefirsttokey}[1]{% + \DeclareSourcemap{ + \maps[datatype=bibtex,overwrite=true]{ + \map{ + \perdatasource{papers.bib} + \step[fieldsource=author, match=\regexp{^{#1}}, final] + \step[fieldset=keywords, fieldvalue={, first},append] + } + \map{ + \perdatasource{papers.bib} + \step[fieldsource=author, match=\regexp{^(?>\{[^\}]+\}\,\s[\w\-\.]+\sand\s){1}\{#1\}}, final] + \step[fieldset=keywords, fieldvalue={, main},append] + } + \map{ + \perdatasource{papers.bib} + \step[fieldsource=author, match=\regexp{^(?:.+?\sand\s){2}.*?\{#1\}}, final] + \step[fieldset=keywords, fieldvalue={, collab},append] + } + } + } +} + +\newcommand*{\addboldnames}{\forcsvlist\nhblx@writenametobib} +\newcommand*{\resetboldnames}{\def\nhblx@boldhashes{}} +\newcommand*{\firstauth}{\forcsvlist\nhblx@writefirsttokey} + +\newcommand*{\ifhashinboldlist}{% + \xifinlist{\thefield{hash}}{\nhblx@boldhashes}} +\makeatother + +\newcommand*{\mkboldifhashinlist}[1]{% + \ifhashinboldlist + {\mkbibbold{#1}} + {#1}} + +\DeclareNameWrapperFormat{boldifhashinlist}{% + \renewcommand*{\mkbibcompletename}{\mkboldifhashinlist}% + #1} + +\DeclareNameWrapperAlias{sortname}{default} +\DeclareNameWrapperAlias{default}{boldifhashinlist} + +\defbibcheck{noJoPR}{% + \iffieldequalstr{journaltitle}{arXiv e-prints} + {} + {\skipentry} +} +\defbibcheck{JoPR}{% + \iffieldequalstr{journaltitle}{arXiv e-prints} + {\skipentry} + {} +} + +%---------------------------------------------------------------------------------------- +% DEFINE ADS ACRONYMS +%---------------------------------------------------------------------------------------- + +\makeatletter +\let\jnl@style=\rm +\def\ref@jnl#1{{\jnl@style#1}} + +\def\aj{\ref@jnl{AJ}} % Astronomical Journal +\def\actaa{\ref@jnl{Acta Astron.}} % Acta Astronomica +\def\araa{\ref@jnl{ARA\&A}} % Annual Review of Astron and Astrophys +\def\apj{\ref@jnl{ApJ}} % Astrophysical Journal +\def\apjl{\ref@jnl{ApJ}} % Astrophysical Journal, Letters +\def\apjs{\ref@jnl{ApJS}} % Astrophysical Journal, Supplement +\def\ao{\ref@jnl{Appl.~Opt.}} % Applied Optics +\def\apss{\ref@jnl{Ap\&SS}} % Astrophysics and Space Science +\def\aap{\ref@jnl{A\&A}} % Astronomy and Astrophysics +\def\aapr{\ref@jnl{A\&A~Rev.}} % Astronomy and Astrophysics Reviews +\def\aaps{\ref@jnl{A\&AS}} % Astronomy and Astrophysics, Supplement +\def\azh{\ref@jnl{AZh}} % Astronomicheskii Zhurnal +\def\baas{\ref@jnl{BAAS}} % Bulletin of the AAS +\def\bac{\ref@jnl{Bull. astr. Inst. Czechosl.}} + % Bulletin of the Astronomical Institutes of Czechoslovakia +\def\caa{\ref@jnl{Chinese Astron. Astrophys.}} + % Chinese Astronomy and Astrophysics +\def\cjaa{\ref@jnl{Chinese J. Astron. Astrophys.}} + % Chinese Journal of Astronomy and Astrophysics +\def\icarus{\ref@jnl{Icarus}} % Icarus +\def\jcap{\ref@jnl{J. Cosmology Astropart. Phys.}} + % Journal of Cosmology and Astroparticle Physics +\def\jrasc{\ref@jnl{JRASC}} % Journal of the RAS of Canada +\def\memras{\ref@jnl{MmRAS}} % Memoirs of the RAS +\def\mnras{\ref@jnl{MNRAS}} % Monthly Notices of the RAS +\def\na{\ref@jnl{New A}} % New Astronomy +\def\nar{\ref@jnl{New A Rev.}} % New Astronomy Review +\def\pra{\ref@jnl{Phys.~Rev.~A}} % Physical Review A: General Physics +\def\prb{\ref@jnl{Phys.~Rev.~B}} % Physical Review B: Solid State +\def\prc{\ref@jnl{Phys.~Rev.~C}} % Physical Review C +\def\prd{\ref@jnl{Phys.~Rev.~D}} % Physical Review D +\def\pre{\ref@jnl{Phys.~Rev.~E}} % Physical Review E +\def\prl{\ref@jnl{Phys.~Rev.~Lett.}} % Physical Review Letters +\def\pasa{\ref@jnl{PASA}} % Publications of the Astron. Soc. of Australia +\def\pasp{\ref@jnl{PASP}} % Publications of the ASP +\def\pasj{\ref@jnl{PASJ}} % Publications of the ASJ +\def\rmxaa{\ref@jnl{Rev. Mexicana Astron. Astrofis.}}% + % Revista Mexicana de Astronomia y Astrofisica +\def\qjras{\ref@jnl{QJRAS}} % Quarterly Journal of the RAS +\def\skytel{\ref@jnl{S\&T}} % Sky and Telescope +\def\solphys{\ref@jnl{Sol.~Phys.}} % Solar Physics +\def\sovast{\ref@jnl{Soviet~Ast.}} % Soviet Astronomy +\def\ssr{\ref@jnl{Space~Sci.~Rev.}} % Space Science Reviews +\def\zap{\ref@jnl{ZAp}} % Zeitschrift fuer Astrophysik +\def\nat{\ref@jnl{Nature}} % Nature +\def\iaucirc{\ref@jnl{IAU~Circ.}} % IAU Cirulars +\def\aplett{\ref@jnl{Astrophys.~Lett.}} % Astrophysics Letters +\def\apspr{\ref@jnl{Astrophys.~Space~Phys.~Res.}} + % Astrophysics Space Physics Research +\def\bain{\ref@jnl{Bull.~Astron.~Inst.~Netherlands}} + % Bulletin Astronomical Institute of the Netherlands +\def\fcp{\ref@jnl{Fund.~Cosmic~Phys.}} % Fundamental Cosmic Physics +\def\gca{\ref@jnl{Geochim.~Cosmochim.~Acta}} % Geochimica Cosmochimica Acta +\def\grl{\ref@jnl{Geophys.~Res.~Lett.}} % Geophysics Research Letters +\def\jcp{\ref@jnl{J.~Chem.~Phys.}} % Journal of Chemical Physics +\def\jgr{\ref@jnl{J.~Geophys.~Res.}} % Journal of Geophysics Research +\def\jqsrt{\ref@jnl{J.~Quant.~Spec.~Radiat.~Transf.}} + % Journal of Quantitiative Spectroscopy and Radiative Transfer +\def\memsai{\ref@jnl{Mem.~Soc.~Astron.~Italiana}} + % Mem. Societa Astronomica Italiana +\def\nphysa{\ref@jnl{Nucl.~Phys.~A}} % Nuclear Physics A +\def\physrep{\ref@jnl{Phys.~Rep.}} % Physics Reports +\def\physscr{\ref@jnl{Phys.~Scr}} % Physica Scripta +\def\planss{\ref@jnl{Planet.~Space~Sci.}} % Planetary Space Science +\def\procspie{\ref@jnl{Proc.~SPIE}} % Proceedings of the SPIE +\makeatother + +\let\astap=\aap +\let\apjlett=\apjl +\let\apjsupp=\apjs +\let\applopt=\ao diff --git a/Thesis/papers.bib b/Thesis/papers.bib new file mode 100644 index 0000000..09ba659 --- /dev/null +++ b/Thesis/papers.bib @@ -0,0 +1,116 @@ +@article{2024arXiv1, + author = {{Another-Name}, J. and {Name}, I. and {Another-Name}, K. and {Another-Name}, + L.}, + title = "{Some interesting article}", + journal = {\aap}, + year = 2024, + month = oct, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2024arXiv2, + author = {{Name}, Firstname and {Another-Name}, First-FName and { + Another-Name}, Second-FName}, + title = "{Another great article}", + journal = {\aap}, + year = 2024, + month = nov, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2023MNRAS, + author = {{Another-Name}, First-FName and {Name}, Firstname and {Another-Name}, + Second-FName and {Another-Name}, Third-FName and {Another-Name}, + Fourth-FName and {Another-Name}, Fifth-FName and {Another-Name}, Sixth-FName}, + title = "{This paper I did a lot of work for}", + journal = {\mnras}, + year = 2023, + month = dec, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2023A&A1, + author = {{Name}, I. and {Another-Name}, F. and {Another-Name}, S. and {Another-Name}, T. and {Another-Name}, F.}, + title = "{My first Paper}", + journal = {\aap}, + year = 2023, + month = oct, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2023A&A2, + author = {{Another-Name}, F. and {Another-Name}, S. and {Another-Name}, T. and {Another-Name}, F. and {Another-Name} + , F. and {Name}, I. and {Another-Name}, S.}, + title = "{This paper I had a small part in}", + journal = {\aap}, + year = 2023, + month = may, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2022MNRAS, + author = {{Another-Name}, First and {Another-Name}, Second and {Name}, Firstname + and {Another-Name}, Fourth}, + title = "{This is a paper I contributed to}", + journal = {\mnras}, + year = 2022, + month = feb, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2022arXiv22, + author = {{Another-Name}, J. and {Name}, I. and {Another-Name}, K.}, + title = "{Some main contribution by yours truly in non-refereed journal}", + journal = {arXiv e-prints}, + year = 2022, + month = jan, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@inproceedings{2021talk.conf.proceed, + author = {{Another-Name}, J. and {Name}, I. and {Another-Name}, K.}, + title = "{A conference talk I contributed to}", + booktitle = {{This-Conf}: {This proceeding book Name}}, + year = 2021, + editor = {Editors}, + month = dec, + pages = {n-N}, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@unpublished{2022talk.conf, + author = {{Name}, I.}, + title = "{Some talk that had no proceeding associated}", + note = {talk at {This-Conference}: {in this context}}, + year = 2022, + month = jun, +} + +@inproceedings{2024talk.conf.proceeds, + author = {{Name}, I. and {Another-Name}, J.}, + title = "{Some proceeding published talk}", + booktitle = {{A Proceedings Books}}, + year = 2024, + editor = {Editors}, + month = dec, + pages = {n-N}, + note = {talk at {This-Conference}: {that can be described like this}}, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@unpublished{2024poster.conf, + author = {{Name}, I.}, + title = "{A nice poster presenting this}", + note = {poster at {That-Conf}: {also known as}}, + year = 2024, + month = sep, +} \ No newline at end of file diff --git a/ThesisSummary/Images/Covers/logo_ED182.pdf b/ThesisSummary/Images/Covers/logo_ED182.pdf new file mode 100644 index 0000000..75fbc97 Binary files /dev/null and b/ThesisSummary/Images/Covers/logo_ED182.pdf differ diff --git a/ThesisSummary/Images/Covers/logo_ObAS.pdf b/ThesisSummary/Images/Covers/logo_ObAS.pdf new file mode 100644 index 0000000..2eac577 Binary files /dev/null and b/ThesisSummary/Images/Covers/logo_ObAS.pdf differ diff --git a/ThesisSummary/Images/Covers/logo_StrasbourgUni.pdf b/ThesisSummary/Images/Covers/logo_StrasbourgUni.pdf new file mode 100644 index 0000000..d4efddf Binary files /dev/null and b/ThesisSummary/Images/Covers/logo_StrasbourgUni.pdf differ diff --git a/ThesisSummary/NAME_ThesisSummary.tex b/ThesisSummary/NAME_ThesisSummary.tex new file mode 100644 index 0000000..8243809 --- /dev/null +++ b/ThesisSummary/NAME_ThesisSummary.tex @@ -0,0 +1,108 @@ +%\documentclass{PhDThesisED182} +\documentclass[showNotes, showLineNumbers]{PhDThesisED182} +%\modulolinenumbers[5] % Change line numbering every N lines + +% PROCEDURE RELATING TO THE SUPPORT OF THESIS +% +% Thesis jury proposal : (From 4 to 8 members) +% – address to the secretariat of the doctoral school, a proposal of jury including 2 external reviewers to ED and Unistra, obligatorily with a HDR (if not HDR it will be necessary to transmit the CV of the rapporteur) and at least 1 internal examiner (HDR or, failing this, the thesis supervisor), using the form provided for this purpose, +% pdf version: http://edpcp.u-strasbg.fr/wp-content/uploads/2025/02/Proposition_jury_doctorat_2024.pdf +% word version: http://edpcp.u-strasbg.fr/wp-content/uploads/2025/02/Proposition_jury_doctorat_2024.docx +% +% PLEASE NOTE : An electronic version of your jury proposal, thesis summary + training certificates must be sent in 1 single pdf file by the submission deadlines indicated below to to the secretariat of the doctoral school (dir-ed182-secretariat@unistra.fr) and to the education department Mrs Fayza FALLAH (f.fallah@unistra.fr) at the latest on the following dates: +% +% !! NEW calendar for 2025 !! +% Deadline for submitting the file Meeting of the Commission +% Wednesday 26 February 2025 13 March 2025 +% Friday 09 May 2025 22 May 2025 +% Friday 20 June 2025 03 July 2025 +% Friday 29 August 2025 11 September 2025 +% Friday 21 November 2025 04 December 2025 +% +% +% For a defense planned in September or October, and due to summer holidays : submission of the file in May (refer to calendar) ! +% +% The candidate +% – send to Mrs. Fayza FALLAH a hard copy and an electronic copy (.pdf attached to an email) of the thesis summary in French (3 to 4 pages) for distribution in the institution. +% – The summary will include the list of publications to which his work has given rise (with the names of all authors), participation in conferences (oral or poster), the list of modules taught at the ED during the thesis and the corresponding certificates. +% +% Reminder : It is mandatory to use the front cover and the back cover of the University of Strasbourg. +% http://edpcp.u-strasbg.fr/wp-content/uploads/2023/10/1er_4eme_couverture-ED182.doc +% +% Attention: For the defenses planned between August 19 and September 6, the deposit of the proposal of jury will have to be made to May 17 2019 + + +%\renewcommand{\familydefault}{\sfdefault} % Uncomment to default to sans serif font + +%%%%%%%%%%%%%%%% Fill in for Front and Back Covers %%%%%%%%%%%%%%%% +% Author name +\Firstname{Firstname} +\Lastname{Lastname} +% University name and logo +\UniversityName{Universit\'e de Strasbourg} +\UniversityLogo{Images/Covers/Logo\_StrasbourgUni.pdf} +% Labo name and logo +\LaboName{Observatoire Astronomique de Strasbourg (UMR 7550)} +\LaboLogo{Images/Covers/Logo\_ObAS.pdf} +% Doctoral school name and logo +\DoctoralSchoolName{\'Ecole Doctorale de physique et chimie-physique} +\DoctoralSchoolLogo{Images/Covers/logo\_ED182.pdf} +% Thesis title and subtitle in French and English +\ThesisDate{XX mois 20XX} +\TitreThese{Le titre de la thèse en français.} +\SousTitreThese{Un sous titre.} +\ThesisTitle{Title of the thesis in english.} +\ThesisSubTitle{A subtitle.} +\resume{1000 caract\`eres maximum} +\motscles{Mot-clé1, Mot-clé2, Mot-clé3} +\abstract{1000 letters max} +\keywords{Keyword1, Keyword2, Keyword3} +% Discipline +\Discipline{Physique} +\Speciality{} +% Directeurs +\directeurs{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Rapporteurs +\rapporteurs{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Jury +\jury{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Define first author and name(s) to be put in bold face in the List of publications +\firstauth{Name} +\addboldnames{{Name, Firstname},{Name, I.}} + +%%%%%%%%%%%%%%%% Document begins %%%%%%%%%%%%%%%% +\begin{document} + + %% Front Cover + \include{Pages/FrontCover} + + %% Jury proposal + %\includepdf[pages={-},offset=mm mm]{myfile.pdf} + \includepdf[pages={-}]{Pages/Proposition_jury_doctorat_2024.pdf} + + \pagenumbering{arabic} + \ifshowLineNumbers\linenumbers\fi % show line numbers if switched on + + %% Abstract + \include{Pages/Resume} + + %% Publication list + \include{Pages/Publications} + + %% Training certificates + \includepdf[pages={-}]{Pages/Attestation_formations_suivies.pdf} + + %% Back Cover + \include{Pages/BackCover} + +\end{document} diff --git a/ThesisSummary/Pages/Attestation_formations_suivies.pdf b/ThesisSummary/Pages/Attestation_formations_suivies.pdf new file mode 100644 index 0000000..f361cb7 Binary files /dev/null and b/ThesisSummary/Pages/Attestation_formations_suivies.pdf differ diff --git a/ThesisSummary/Pages/BackCover.tex b/ThesisSummary/Pages/BackCover.tex new file mode 100644 index 0000000..4a0a3a9 --- /dev/null +++ b/ThesisSummary/Pages/BackCover.tex @@ -0,0 +1,48 @@ +\thispagestyle{empty} + +\setlength\oddsidemargin{\dimexpr(\paperwidth-\textwidth)/2 - 1in\relax} +\setlength\evensidemargin{\oddsidemargin} + +\makeatletter +\begin{changemargin}{-20mm}{-20mm} + \noindent% + \vspace*{-25mm}% + \begin{center}% + \includegraphics[keepaspectratio, height=8mm, trim={0 8mm 0 0}]{\@UniversityLogo}% + \hfill% + {\Large\bf \@Firstname\, \MakeUppercase{\@Lastname}}% + \hfill% + \includegraphics[keepaspectratio, height=8mm, trim={0 8mm 0 0}]{\ifdefempty{\@LaboLogo}{\@DoctoralSchoolLogo}{\@LaboLogo}}% + \end{center}% +\end{changemargin}\vspace*{1cm}% + +\begin{changemargin}{-15mm}{-15mm} + \begin{center} + {\LARGE\bf \@TitreThese}% + \end{center} + \begin{mybox} + {\Large\textbf{Résumé}}\vspace*{5mm} + + \@resume + + \vspace*{5mm} + \textbf{Mots-clés}: \@motscles + \end{mybox}\vspace*{5mm} + + \begin{center} + {\LARGE\bf \@ThesisTitle}% + \end{center} + \begin{mybox} + {\Large\textbf{Abstract}}\vspace*{5mm} + + \@abstract + + \vspace*{5mm} + \textbf{Keywords}: \@keywords + \end{mybox} +\end{changemargin} +\makeatother + +% go back to default geometry settings +\setlength\oddsidemargin{\defaultOddsidemargin} +\setlength\evensidemargin{\defaultEvensidemargin} \ No newline at end of file diff --git a/ThesisSummary/Pages/FrontCover.tex b/ThesisSummary/Pages/FrontCover.tex new file mode 100644 index 0000000..7f303ea --- /dev/null +++ b/ThesisSummary/Pages/FrontCover.tex @@ -0,0 +1,68 @@ +%%% Note: Adjust the number of \bigskip to fit everything in one page +\thispagestyle{empty} + +\setlength\oddsidemargin{\dimexpr(\paperwidth-\textwidth)/2 - 1in\relax} +\setlength\evensidemargin{\oddsidemargin} + +\makeatletter +\begin{changemargin}{-20mm}{-20mm} + \noindent + \vspace*{-25mm}% + \begin{center}% + \includegraphics[keepaspectratio, height=1.5cm]{\@UniversityLogo}% + \ifdefempty{\@LaboLogo}{}{\hfill\includegraphics[keepaspectratio, height=1.5cm]{\@LaboLogo}}% + \hfill% + \includegraphics[keepaspectratio, height=1.8cm, trim={0 3.0mm 0 0}]{\@DoctoralSchoolLogo}\\\vspace{5mm} + {\ifdefempty{\@LaboLogo}{\vspace{-15mm}}{}\Large\bf\MakeUppercase{\@UniversityName}}\\\vspace{10mm} + {\large\bf\textit{\MakeUppercase{\@DoctoralSchoolName}}}\\\vspace{5mm} + {\bf \@LaboName} + \end{center} +\end{changemargin} +\vfill% +\begin{changemargin}{-15mm}{-15mm} + \begin{center} + \huge \textbf{TH\`ESE} \large pr\'esent\'ee par\\\vspace{5mm} + {\LARGE\bfseries{\@Firstname\, \MakeUppercase{\@Lastname}}}\\\vspace{5mm} + {\large soutenue le: \bfseries \@ThesisDate}\vspace{5mm} + + \begin{tabular}{rl} + pour obtenir le grade de: & \textbf{Docteur de l'\@UniversityName} \\ + Discipline/Sp\'ecialit\'e: & \@Discipline \ifdefempty{\@Speciality}{}{/\@Speciality} + \end{tabular}\vspace{1cm}% + + \begin{mybox}% + \Huge\centering{\bfseries \@TitreThese}\\ + \ifdefempty{\@SousTitreThese} + {} + {\Large\centering{\bfseries \@SousTitreThese}} + \end{mybox}% + \end{center}% +\end{changemargin}% +\vfill% +\begin{changemargin}{-20mm}{-20mm} + {\large\bfseries THÈSE dirigée par}:\vspace{2mm} + + \begin{tabular}{p{7cm}p{10cm}}% + \@directeurs + \end{tabular}\vspace{3mm} + + {\large\bfseries RAPPORTEURS}:\vspace{2mm} + + \begin{tabular}{p{7cm}p{10cm}} + \@rapporteurs + \end{tabular}\vspace{3mm} + + \noindent\makebox[\linewidth]{\rule{0.83\paperwidth}{0.4pt}}\vspace{3mm} + + {\large\bfseries AUTRES MEMBRES DU JURY}:\vspace{2mm} + + \begin{tabular}{p{7cm}p{10cm}} + \@jury + \end{tabular} + \vspace{-5mm} +\end{changemargin} +\makeatother + +% go back to default geometry settings +\setlength\oddsidemargin{\defaultOddsidemargin} +\setlength\evensidemargin{\defaultEvensidemargin} \ No newline at end of file diff --git a/ThesisSummary/Pages/Proposition_jury_doctorat_2024.pdf b/ThesisSummary/Pages/Proposition_jury_doctorat_2024.pdf new file mode 100644 index 0000000..96fd981 Binary files /dev/null and b/ThesisSummary/Pages/Proposition_jury_doctorat_2024.pdf differ diff --git a/ThesisSummary/Pages/Publications.tex b/ThesisSummary/Pages/Publications.tex new file mode 100644 index 0000000..51f7f84 --- /dev/null +++ b/ThesisSummary/Pages/Publications.tex @@ -0,0 +1,13 @@ +%%% Add all relevant publications to ./papers.bib +%%% Define \firstauth{Name} and \addboldnames{{Name, I.},{Name, First-Name}} in PhDThesisED182.cls +%%% Will go through all references, add categories based on First Author, Second Author or Contributor +%%% Can also add conference talks and posters as non-articles +\section*{Publications} + +\begin{refsection} + \nocite{*}% + \printbibliography[keyword={first},check=JoPR,type=article,heading=subbibliography,title={Premier Auteur}]% + \printbibliography[keyword={main},check=JoPR,type=article,heading=subbibliography,title={Contribution principale}]% + \printbibliography[keyword={collab},check=JoPR,type=article,heading=subbibliography,title={Collaborateur}]% + \printbibliography[nottype=article,heading=subbibliography,title={Conf\'erences}]% +\end{refsection} diff --git a/ThesisSummary/Pages/Resume.tex b/ThesisSummary/Pages/Resume.tex new file mode 100644 index 0000000..3b83f2f --- /dev/null +++ b/ThesisSummary/Pages/Resume.tex @@ -0,0 +1,3 @@ +\section*{R\'esum\'e} + +Le résumé (en français) permet en 4 pages de comprendre le projet et l’apport du doctorant dans le projet (introduction, résultats, conclusions,…). \ No newline at end of file diff --git a/ThesisSummary/PhDThesisED182.cls b/ThesisSummary/PhDThesisED182.cls new file mode 100644 index 0000000..d883bdf --- /dev/null +++ b/ThesisSummary/PhDThesisED182.cls @@ -0,0 +1,168 @@ +%%% File: PhDThesisED182.cls +%%% Brief: Document class template for ED182 thesis manuscript +%%% Use: \documentclass[showNotes, showLineNumbers, showWatermark]{PhDThesisED182} +%%% Author: Alexandre BIGOT, alexandre.bigot@iphc.cnrs.fr +%%% Tweaks: Thibault BARNOUIN, thibault.barnouin@astro.unistra.fr + +%% Identification +%% The class identifies itself and the LaTeX version needed +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{PhDThesisED182}[2024-02-28 Minimal class for PhD thesis summary in ED182] + +%% Load the article class file +\LoadClass[a4paper,12pt]{article} + +%%%%%%%%%%%%%%%% Commands and default values for Covers %%%%%%%%%%%%%%%% +% Author +\newcommand{\Firstname}[1]{\gdef\@Firstname{#1}} +\Firstname{Firstname} +\newcommand{\Lastname}[1]{\gdef\@Lastname{#1}} +\Lastname{Lastname} +% University +\newcommand{\UniversityName}[1]{\gdef\@UniversityName{#1}} +\UniversityName{Universit\'e de Strasbourg} +\newcommand{\UniversityLogo}[1]{\gdef\@UniversityLogo{#1}} +\UniversityLogo{Images/Covers/Logo\_StrasbourgUni.pdf} +% Labo +\newcommand{\LaboName}[1]{\gdef\@LaboName{#1}} +\LaboName{My Laboratory} +\newcommand*{\LaboLogo}[1]{\gdef\@LaboLogo{#1}} +\LaboLogo{} +% Doctoral school +\newcommand{\DoctoralSchoolName}[1]{\gdef\@DoctoralSchoolName{#1}} +\DoctoralSchoolName{\'Ecole Doctorale de physique et chimie-physique} +\newcommand{\DoctoralSchoolLogo}[1]{\gdef\@DoctoralSchoolLogo{#1}} +\DoctoralSchoolLogo{Images/Covers/logo\_ED182} +% Thesis +\newcommand{\ThesisDate}[1]{\gdef\@ThesisDate{#1}} +\ThesisDate{XX mois 20XX} +\newcommand{\TitreThese}[1]{\gdef\@TitreThese{#1}} +\TitreThese{Le titre de la thèse en français.} +\newcommand*{\SousTitreThese}[1]{\gdef\@SousTitreThese{#1}} +\SousTitreThese{} +\newcommand{\ThesisTitle}[1]{\gdef\@ThesisTitle{#1}} +\ThesisTitle{Title of the thesis in english.} +\newcommand*{\ThesisSubTitle}[1]{\gdef\@ThesisSubTitle{#1}} +\ThesisSubTitle{} +\newcommand{\resume}[1]{\gdef\@resume{#1}} +\resume{1000 caract\`eres maximum} +\newcommand{\motscles}[1]{\gdef\@motscles{#1}} +\motscles{...} +\renewcommand{\abstract}[1]{\gdef\@abstract{#1}} +\abstract{1000 letters max} +\newcommand{\keywords}[1]{\gdef\@keywords{#1}} +\keywords{...} +% Discipline +\newcommand{\Discipline}[1]{\gdef\@Discipline{#1}} +\Discipline{Physique} +\newcommand*{\Speciality}[1]{\gdef\@Speciality{#1}} +\Speciality{} +%%% Members of the jury title, name, position and affiliation +\newcommand{\person}[5]{\hspace{2mm}\bfseries{#1\, \MakeUppercase{#2}\, #3} & {#4, #5}\\} +% Directors +\newcommand{\directeurs}[1]{\gdef\@directeurs{#1}} +\directeurs{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Rapporteurs +\newcommand{\rapporteurs}[1]{\gdef\@rapporteurs{#1}} +\rapporteurs{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} +% Jury +\newcommand{\jury}[1]{\gdef\@jury{#1}} +\jury{ + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} + \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation} +} + +%% Load packages +\PassOptionsToPackage{pdftitle={\@ThesisTitle}, pdfauthor={\@Firstname \@Lastname}, pdfcreator={PdfLaTeX}, pdfkeywords={\@keywords}, pdfsubject={Thesis Manuscript}}{hyperref}\RequirePackage{hyperref} % Extensive support for hypertext +\makeatother +\PassOptionsToPackage{a4paper,margin=2.5cm}{geometry}\RequirePackage{geometry} % Flexible and complete interface to document dimensions +\PassOptionsToPackage{main=english,french}{babel}\RequirePackage{babel} % Multilingual support +\PassOptionsToPackage{T1}{fontenc}\RequirePackage{fontenc} % Standard package for selecting font encodings +\RequirePackage{lmodern} % Latin modern fonts for better printability +\RequirePackage{pdfpages} % Insert pdf as pages +\RequirePackage{graphicx} % Enhanced support for graphics +\RequirePackage{xcolor} % Driver-independent color extensions +\RequirePackage{amsmath} % AMS mathematical facilities +\RequirePackage{amsfonts} % TeX fonts from the American Mathematical Society +\RequirePackage{xcolor} % Driver-independent color extensions +\PassOptionsToPackage{most}{tcolorbox}\RequirePackage{tcolorbox} % Coloured boxes +\PassOptionsToPackage{modulo}{lineno}\RequirePackage{lineno} % Line numbers on paragraphs +\RequirePackage{macros} % Personal macros for bibliography + +%% Define my colours +\definecolor{DarkBlue}{rgb}{0.0, 0.0, 0.55} +\definecolor{DarkRed}{rgb}{0.55, 0.0, 0.0} +\definecolor{DarkGreen}{rgb}{0.0, 0.2, 0.13} +\definecolor{DodgerBlue}{rgb}{0.12, 0.56, 1.0} +\colorlet{DodgerBlue2}{DodgerBlue!80} + +%% Color commands +\newcommand{\mycolor}[2]{\color{#1}#2\color{black}\xspace} +\newcommand{\red}[1]{\color{red}#1\color{black}\xspace} + +%% Change hyperlinks style +\hypersetup +{ + colorlinks=true, + linkcolor=black, + linktocpage=false, % to have the link on the page number in toc + filecolor=magenta, + urlcolor=DodgerBlue, + citecolor=DodgerBlue, +} + +%% Fonts substitutions for non existing bold small caps in lmodern +\rmfamily +\DeclareFontShape{T1}{lmr}{b}{sc}{<->ssub*cmr/b/sc}{} +\DeclareFontShape{T1}{lmr}{bx}{sc}{<->ssub*cmr/bx/sc}{} + +\sffamily +\DeclareFontShape{T1}{lmss}{m}{sc} { <-> ssub * phv/m/sc }{} +\DeclareFontShape{T1}{lmss}{bx}{sc} { <-> ssub * phv/bx/sc }{} + +%% A simple box +\newenvironment{mybox}[0]{% + \tcolorbox[opacityback=0., standard jigsaw,breakable]}% + {\endtcolorbox} + +%% Change left and right margins (used in front and back covers) +\newenvironment{changemargin}[2]{% + \begin{list}{}{% + \setlength{\topsep}{0pt}% + \setlength{\leftmargin}{#1}% + \setlength{\rightmargin}{#2}% + \setlength{\listparindent}{\parindent}% + \setlength{\itemindent}{\parindent}% + \setlength{\itemsep}{\parskip}% + \setlength{\parsep}{\parskip}% + }% + \item[] +}{\end{list}} + +%% Save default margin lengths +\newlength{\defaultOddsidemargin} +\setlength{\defaultOddsidemargin}{\oddsidemargin} +\newlength{\defaultEvensidemargin} +\setlength{\defaultEvensidemargin}{\evensidemargin} + +%% Checked box symbol +\newcommand{\uncheckedbox}{\makebox[0pt][l]{$\square$}\raisebox{.15ex}{\hspace{11pt}}} +\newcommand{\checkedbox}{\makebox[0pt][l]{$\square$}\raisebox{.15ex}{\hspace{0.1em}$\checkmark$}} + +%% Switches +\newif\ifshowNotes + \newenvironment{notes}[1]{\ifshowNotes #1\fi} + +\newif\ifshowLineNumbers +% +%% Class options +\DeclareOption{showNotes}{\showNotestrue} +\DeclareOption{showLineNumbers}{\showLineNumberstrue} +\ProcessOptions\relax % to process options diff --git a/ThesisSummary/macros.sty b/ThesisSummary/macros.sty new file mode 100644 index 0000000..a3d4a4d --- /dev/null +++ b/ThesisSummary/macros.sty @@ -0,0 +1,180 @@ +%---------------------------------------------------------------------------------------- +% DEFINE BIBLIOGRAPHY STYLE +%---------------------------------------------------------------------------------------- +\usepackage{csquotes} +\usepackage[backend=biber,natbib=true,style=authoryear,uniquename=init,giveninits=true,isbn=false,url=false,doi=false,maxcitenames=3,minbibnames=6,maxbibnames=50,sorting=ynt]{biblatex} +\addbibresource[glob]{papers.bib} +\makeatletter +\def\nhblx@bibfile@name{papers-sort.bib} +\newwrite\nhblx@bibfile +\immediate\openout\nhblx@bibfile=\nhblx@bibfile@name + +\immediate\write\nhblx@bibfile{% + @comment{Auto-generated file}\blx@nl} + +\newcounter{nhblx@name} +\setcounter{nhblx@name}{0} + +\newcommand*{\nhblx@writenametobib}[1]{% + \stepcounter{nhblx@name}% + \edef\nhblx@tmp@nocite{% + \noexpand\AfterPreamble{% + \noexpand\setbox0\noexpand\vbox{% + \noexpand\nhblx@getmethehash{nhblx@name@\the\value{nhblx@name}}}}% + }% + \nhblx@tmp@nocite + \immediate\write\nhblx@bibfile{% + @misc{nhblx@name@\the\value{nhblx@name}, author = {\unexpanded{#1}}, % + options = {dataonly=true},}% + }% +} + +\AtEndDocument{% + \closeout\nhblx@bibfile} + +\addbibresource{\nhblx@bibfile@name} + +\newcommand*{\nhblx@boldhashes}{} +\DeclareNameFormat{nhblx@hashextract}{% + \xifinlist{\thefield{hash}}{\nhblx@boldhashes} + {} + {\listxadd{\nhblx@boldhashes}{\thefield{hash}}}} + +\DeclareCiteCommand{\nhblx@getmethehash} + {} + {\printnames[nhblx@hashextract][1-999]{author}} + {} + {} + +\newcommand*{\nhblx@writefirsttokey}[1]{% + \DeclareSourcemap{ + \maps[datatype=bibtex,overwrite=true]{ + \map{ + \perdatasource{papers.bib} + \step[fieldsource=author, match=\regexp{^{#1}}, final] + \step[fieldset=keywords, fieldvalue={, first},append] + } + \map{ + \perdatasource{papers.bib} + \step[fieldsource=author, match=\regexp{^(?>\{[^\}]+\}\,\s[\w\-\.]+\sand\s){1}\{#1\}}, final] + \step[fieldset=keywords, fieldvalue={, main},append] + } + \map{ + \perdatasource{papers.bib} + \step[fieldsource=author, match=\regexp{^(?:.+?\sand\s){2}.*?\{#1\}}, final] + \step[fieldset=keywords, fieldvalue={, collab},append] + } + } + } +} + +\newcommand*{\addboldnames}{\forcsvlist\nhblx@writenametobib} +\newcommand*{\resetboldnames}{\def\nhblx@boldhashes{}} +\newcommand*{\firstauth}{\forcsvlist\nhblx@writefirsttokey} + +\newcommand*{\ifhashinboldlist}{% + \xifinlist{\thefield{hash}}{\nhblx@boldhashes}} +\makeatother + +\newcommand*{\mkboldifhashinlist}[1]{% + \ifhashinboldlist + {\mkbibbold{#1}} + {#1}} + +\DeclareNameWrapperFormat{boldifhashinlist}{% + \renewcommand*{\mkbibcompletename}{\mkboldifhashinlist}% + #1} + +\DeclareNameWrapperAlias{sortname}{default} +\DeclareNameWrapperAlias{default}{boldifhashinlist} + +\defbibcheck{noJoPR}{% + \iffieldequalstr{journaltitle}{arXiv e-prints} + {} + {\skipentry} +} +\defbibcheck{JoPR}{% + \iffieldequalstr{journaltitle}{arXiv e-prints} + {\skipentry} + {} +} + +%---------------------------------------------------------------------------------------- +% DEFINE ADS ACRONYMS +%---------------------------------------------------------------------------------------- + +\makeatletter +\let\jnl@style=\rm +\def\ref@jnl#1{{\jnl@style#1}} + +\def\aj{\ref@jnl{AJ}} % Astronomical Journal +\def\actaa{\ref@jnl{Acta Astron.}} % Acta Astronomica +\def\araa{\ref@jnl{ARA\&A}} % Annual Review of Astron and Astrophys +\def\apj{\ref@jnl{ApJ}} % Astrophysical Journal +\def\apjl{\ref@jnl{ApJ}} % Astrophysical Journal, Letters +\def\apjs{\ref@jnl{ApJS}} % Astrophysical Journal, Supplement +\def\ao{\ref@jnl{Appl.~Opt.}} % Applied Optics +\def\apss{\ref@jnl{Ap\&SS}} % Astrophysics and Space Science +\def\aap{\ref@jnl{A\&A}} % Astronomy and Astrophysics +\def\aapr{\ref@jnl{A\&A~Rev.}} % Astronomy and Astrophysics Reviews +\def\aaps{\ref@jnl{A\&AS}} % Astronomy and Astrophysics, Supplement +\def\azh{\ref@jnl{AZh}} % Astronomicheskii Zhurnal +\def\baas{\ref@jnl{BAAS}} % Bulletin of the AAS +\def\bac{\ref@jnl{Bull. astr. Inst. Czechosl.}} + % Bulletin of the Astronomical Institutes of Czechoslovakia +\def\caa{\ref@jnl{Chinese Astron. Astrophys.}} + % Chinese Astronomy and Astrophysics +\def\cjaa{\ref@jnl{Chinese J. Astron. Astrophys.}} + % Chinese Journal of Astronomy and Astrophysics +\def\icarus{\ref@jnl{Icarus}} % Icarus +\def\jcap{\ref@jnl{J. Cosmology Astropart. Phys.}} + % Journal of Cosmology and Astroparticle Physics +\def\jrasc{\ref@jnl{JRASC}} % Journal of the RAS of Canada +\def\memras{\ref@jnl{MmRAS}} % Memoirs of the RAS +\def\mnras{\ref@jnl{MNRAS}} % Monthly Notices of the RAS +\def\na{\ref@jnl{New A}} % New Astronomy +\def\nar{\ref@jnl{New A Rev.}} % New Astronomy Review +\def\pra{\ref@jnl{Phys.~Rev.~A}} % Physical Review A: General Physics +\def\prb{\ref@jnl{Phys.~Rev.~B}} % Physical Review B: Solid State +\def\prc{\ref@jnl{Phys.~Rev.~C}} % Physical Review C +\def\prd{\ref@jnl{Phys.~Rev.~D}} % Physical Review D +\def\pre{\ref@jnl{Phys.~Rev.~E}} % Physical Review E +\def\prl{\ref@jnl{Phys.~Rev.~Lett.}} % Physical Review Letters +\def\pasa{\ref@jnl{PASA}} % Publications of the Astron. Soc. of Australia +\def\pasp{\ref@jnl{PASP}} % Publications of the ASP +\def\pasj{\ref@jnl{PASJ}} % Publications of the ASJ +\def\rmxaa{\ref@jnl{Rev. Mexicana Astron. Astrofis.}}% + % Revista Mexicana de Astronomia y Astrofisica +\def\qjras{\ref@jnl{QJRAS}} % Quarterly Journal of the RAS +\def\skytel{\ref@jnl{S\&T}} % Sky and Telescope +\def\solphys{\ref@jnl{Sol.~Phys.}} % Solar Physics +\def\sovast{\ref@jnl{Soviet~Ast.}} % Soviet Astronomy +\def\ssr{\ref@jnl{Space~Sci.~Rev.}} % Space Science Reviews +\def\zap{\ref@jnl{ZAp}} % Zeitschrift fuer Astrophysik +\def\nat{\ref@jnl{Nature}} % Nature +\def\iaucirc{\ref@jnl{IAU~Circ.}} % IAU Cirulars +\def\aplett{\ref@jnl{Astrophys.~Lett.}} % Astrophysics Letters +\def\apspr{\ref@jnl{Astrophys.~Space~Phys.~Res.}} + % Astrophysics Space Physics Research +\def\bain{\ref@jnl{Bull.~Astron.~Inst.~Netherlands}} + % Bulletin Astronomical Institute of the Netherlands +\def\fcp{\ref@jnl{Fund.~Cosmic~Phys.}} % Fundamental Cosmic Physics +\def\gca{\ref@jnl{Geochim.~Cosmochim.~Acta}} % Geochimica Cosmochimica Acta +\def\grl{\ref@jnl{Geophys.~Res.~Lett.}} % Geophysics Research Letters +\def\jcp{\ref@jnl{J.~Chem.~Phys.}} % Journal of Chemical Physics +\def\jgr{\ref@jnl{J.~Geophys.~Res.}} % Journal of Geophysics Research +\def\jqsrt{\ref@jnl{J.~Quant.~Spec.~Radiat.~Transf.}} + % Journal of Quantitiative Spectroscopy and Radiative Transfer +\def\memsai{\ref@jnl{Mem.~Soc.~Astron.~Italiana}} + % Mem. Societa Astronomica Italiana +\def\nphysa{\ref@jnl{Nucl.~Phys.~A}} % Nuclear Physics A +\def\physrep{\ref@jnl{Phys.~Rep.}} % Physics Reports +\def\physscr{\ref@jnl{Phys.~Scr}} % Physica Scripta +\def\planss{\ref@jnl{Planet.~Space~Sci.}} % Planetary Space Science +\def\procspie{\ref@jnl{Proc.~SPIE}} % Proceedings of the SPIE +\makeatother + +\let\astap=\aap +\let\apjlett=\apjl +\let\apjsupp=\apjs +\let\applopt=\ao diff --git a/ThesisSummary/papers.bib b/ThesisSummary/papers.bib new file mode 100644 index 0000000..0dabe8d --- /dev/null +++ b/ThesisSummary/papers.bib @@ -0,0 +1,116 @@ +@article{2024arXiv1, + author = {{Another-Name}, J. and {Name}, I. and {Another-Name}, K. and {Another-Name}, + L.}, + title = "{Some interesting article}", + journal = {\aap}, + year = 2024, + month = oct, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2024arXiv2, + author = {{Name}, First-Name and {Another-Name}, First-FName and { + Another-Name}, Second-FName}, + title = "{Another great article}", + journal = {\aap}, + year = 2024, + month = nov, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2023MNRAS, + author = {{Another-Name}, First-FName and {Name}, First-Name and {Another-Name}, + Second-FName and {Another-Name}, Third-FName and {Another-Name}, + Fourth-FName and {Another-Name}, Fifth-FName and {Another-Name}, Sixth-FName}, + title = "{This paper I did a lot of work for}", + journal = {\mnras}, + year = 2023, + month = dec, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2023A&A1, + author = {{Name}, I. and {Another-Name}, F. and {Another-Name}, S. and {Another-Name}, T. and {Another-Name}, F.}, + title = "{My first Paper}", + journal = {\aap}, + year = 2023, + month = oct, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2023A&A2, + author = {{Another-Name}, F. and {Another-Name}, S. and {Another-Name}, T. and {Another-Name}, F. and {Another-Name} + , F. and {Name}, I. and {Another-Name}, S.}, + title = "{This paper I had a small part in}", + journal = {\aap}, + year = 2023, + month = may, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2022MNRAS, + author = {{Another-Name}, First and {Another-Name}, Second and {Name}, First-Name + and {Another-Name}, Fourth}, + title = "{This is a paper I contributed to}", + journal = {\mnras}, + year = 2022, + month = feb, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@article{2022arXiv22, + author = {{Another-Name}, J. and {Name}, I. and {Another-Name}, K.}, + title = "{Some main contribution by yours truly in non-refereed journal}", + journal = {arXiv e-prints}, + year = 2022, + month = jan, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@inproceedings{2021talk.conf.proceed, + author = {{Another-Name}, J. and {Name}, I. and {Another-Name}, K.}, + title = "{A conference talk I contributed to}", + booktitle = {{This-Conf}: {This proceeding book Name}}, + year = 2021, + editor = {Editors}, + month = dec, + pages = {n-N}, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@unpublished{2022talk.conf, + author = {{Name}, I.}, + title = "{Some talk that had no proceeding associated}", + note = {talk at {This-Conference}: {in this context}}, + year = 2022, + month = jun, +} + +@inproceedings{2024talk.conf.proceeds, + author = {{Name}, I. and {Another-Name}, J.}, + title = "{Some proceeding published talk}", + booktitle = {{A Proceedings Books}}, + year = 2024, + editor = {Editors}, + month = dec, + pages = {n-N}, + note = {talk at {This-Conference}: {that can be described like this}}, + adsurl = {https://ui.adsabs.harvard.edu/abs/}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System}, +} + +@unpublished{2024poster.conf, + author = {{Name}, I.}, + title = "{A nice poster presenting this}", + note = {poster at {That-Conf}: {also known as}}, + year = 2024, + month = sep, +} \ No newline at end of file diff --git a/ThesisSummary_template.zip b/ThesisSummary_template.zip new file mode 100644 index 0000000..217547b Binary files /dev/null and b/ThesisSummary_template.zip differ diff --git a/Thesis_template.zip b/Thesis_template.zip new file mode 100644 index 0000000..ebba1ca Binary files /dev/null and b/Thesis_template.zip differ