2015-05-14 12:22:43 +02:00
|
|
|
\NeedsTeXFormat{LaTeX2e}
|
2015-05-14 16:25:59 +02:00
|
|
|
\ProvidesPackage{candidature}[2015/05/14 Le style des dossiers de scolobb]
|
2016-03-08 19:30:06 +01:00
|
|
|
\typeout{Le style des dossiers de scolobb}
|
2015-05-14 14:45:22 +02:00
|
|
|
|
2015-05-27 00:32:09 +02:00
|
|
|
\usepackage{complexity}
|
2015-05-15 02:59:03 +02:00
|
|
|
\usepackage{fontspec}
|
2015-05-14 16:25:59 +02:00
|
|
|
\usepackage[french]{babel}
|
2015-05-26 11:38:23 +02:00
|
|
|
\usepackage[
|
|
|
|
backend=biber,
|
|
|
|
style=numeric,
|
|
|
|
maxbibnames=99,
|
|
|
|
doi=false,
|
2015-05-29 14:38:12 +02:00
|
|
|
url=false,
|
|
|
|
defernumbers=true,
|
|
|
|
]{biblatex}
|
2015-05-20 17:02:08 +02:00
|
|
|
\usepackage[
|
|
|
|
text={154mm,253mm},
|
|
|
|
top=20mm,
|
|
|
|
left=25mm,
|
|
|
|
twoside
|
|
|
|
]{geometry}
|
2015-05-21 15:13:14 +02:00
|
|
|
\usepackage{setspace}
|
2015-05-22 02:28:10 +02:00
|
|
|
\usepackage{hyperref}
|
2015-05-23 15:04:10 +02:00
|
|
|
\usepackage{tabu}
|
2015-05-24 15:02:45 +02:00
|
|
|
\usepackage{emptypage}
|
2015-05-24 21:33:45 +02:00
|
|
|
\usepackage{enumitem}
|
2015-12-03 23:20:15 +01:00
|
|
|
\RequirePackage{bm}
|
|
|
|
\usepackage{tikz}
|
2015-05-20 16:26:02 +02:00
|
|
|
|
2016-03-08 12:34:24 +01:00
|
|
|
\setsansfont{Linux Biolinum O}
|
|
|
|
\setmainfont{Linux Libertine O}
|
2015-05-20 22:28:59 +02:00
|
|
|
|
2015-12-03 23:20:15 +01:00
|
|
|
\usetikzlibrary{arrows,calc,positioning,decorations.markings,shapes,fit}
|
|
|
|
|
2015-05-20 16:26:02 +02:00
|
|
|
% A thick horizontal rule filling all page width.
|
|
|
|
\def\thickhrule{\leavevmode\leaders\hrule height 1.5pt\hfill\kern\z@}
|
2015-05-21 15:13:14 +02:00
|
|
|
|
2015-05-21 15:58:28 +02:00
|
|
|
% Set up an unnumbered section appearing in the table of contents.
|
2015-05-21 15:13:14 +02:00
|
|
|
\newcommand{\xsection}[1]{
|
|
|
|
\section*{#1}
|
|
|
|
\addcontentsline{toc}{section}{#1}
|
|
|
|
}
|
2015-05-21 16:14:22 +02:00
|
|
|
|
2015-05-21 18:15:55 +02:00
|
|
|
% Set up an unnumbered section with a plain title appearing in the
|
|
|
|
% table of contents, and a different title appearing in the text.
|
|
|
|
\newcommand{\xstyledsection}[2]{
|
|
|
|
\section*{#2}
|
2015-05-21 16:14:22 +02:00
|
|
|
\addcontentsline{toc}{section}{#1}
|
|
|
|
}
|
2015-05-24 21:33:45 +02:00
|
|
|
|
|
|
|
% Formats an E-mail address in small typewriter font.
|
|
|
|
\newcommand{\smallemail}[1]{\texttt{\small #1}}
|
2015-12-03 23:20:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
%------------------
|
|
|
|
% Derivation graphs
|
|
|
|
%------------------
|
|
|
|
|
|
|
|
% Font styles for derivation graphs.
|
|
|
|
\newcommand{\nbold}[1]{\ensuremath{\bm #1}}
|
|
|
|
\newcommand{\nlight}[1]{\ensuremath{\color{black!50} #1}}
|
|
|
|
|
|
|
|
% TikZ styles for derivation graphs.
|
|
|
|
\tikzstyle nsymb=[minimum width=2.5em,minimum height=1.3em,inner sep=1pt]
|
|
|
|
\tikzstyle insertion=[]
|
|
|
|
% A cross arrow tip.
|
|
|
|
\newcommand{\crossfactor}{2.5}
|
|
|
|
\tikzstyle crosstip=[
|
|
|
|
postaction={
|
|
|
|
decorate,
|
|
|
|
decoration={
|
|
|
|
markings,
|
|
|
|
mark=at position 1 with
|
|
|
|
{
|
|
|
|
\draw[solid] (-\crossfactor\pgflinewidth,-\crossfactor\pgflinewidth)
|
|
|
|
-- (\crossfactor\pgflinewidth,\crossfactor\pgflinewidth);
|
|
|
|
\draw[solid] (\crossfactor\pgflinewidth,-\crossfactor\pgflinewidth)
|
|
|
|
-- (-\crossfactor\pgflinewidth,\crossfactor\pgflinewidth);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
\tikzstyle deletion=[crosstip,densely dotted,semithick]
|
|
|
|
|
|
|
|
|
|
|
|
%----------
|
|
|
|
% P systems
|
|
|
|
%----------
|
|
|
|
\tikzstyle membrane=[draw,rectangle,rounded corners, minimum size=15pt]
|
|
|
|
|
|
|
|
% A shortcut for drawing membrane nodes.
|
|
|
|
%\newcommand{\membrane}[4]{
|
|
|
|
% \node[membrane,label={[inner sep=1,yshift=5pt,name=#2 label]below right:{\scriptsize #1}},#4] (#2) {#3};
|
|
|
|
%}
|
|
|
|
\newcommand{\membrane}[4]{
|
|
|
|
\node[membrane,#4] (#2) {#3};
|
|
|
|
\node[below right=-6pt and 0 of #2,inner sep=1] (#2 label) {\scriptsize #1};
|
|
|
|
}
|