8ccaa01e8a
This is what the hyperref manual suggests anyway.
100 lines
2.6 KiB
TeX
100 lines
2.6 KiB
TeX
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{candidature}[2015/05/14 Le style des dossiers de scolobb]
|
|
\typeout{Le style des dossiers de scolobb}
|
|
|
|
\usepackage{complexity}
|
|
\usepackage{fontspec}
|
|
\usepackage[french]{babel}
|
|
\usepackage[
|
|
backend=biber,
|
|
style=numeric,
|
|
maxbibnames=99,
|
|
doi=false,
|
|
url=false,
|
|
defernumbers=true,
|
|
]{biblatex}
|
|
\usepackage[
|
|
text={154mm,253mm},
|
|
top=20mm,
|
|
left=25mm,
|
|
twoside
|
|
]{geometry}
|
|
\usepackage{setspace}
|
|
\usepackage{tabu}
|
|
\usepackage{tabularx}
|
|
\usepackage{emptypage}
|
|
\usepackage{enumitem}
|
|
\RequirePackage{bm}
|
|
\RequirePackage{subcaption}
|
|
\usepackage{tikz}
|
|
\usepackage{hyperref}
|
|
|
|
\setsansfont{Linux Biolinum O}
|
|
\setmainfont{Linux Libertine O}
|
|
|
|
\usetikzlibrary{arrows,calc,positioning,decorations.markings,shapes,fit}
|
|
|
|
% A thick horizontal rule filling all page width.
|
|
\def\thickhrule{\leavevmode\leaders\hrule height 1.5pt\hfill\kern\z@}
|
|
|
|
% Set up an unnumbered section appearing in the table of contents.
|
|
\newcommand{\xsection}[1]{
|
|
\section*{#1}
|
|
\addcontentsline{toc}{section}{#1}
|
|
}
|
|
|
|
% 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}
|
|
\addcontentsline{toc}{section}{#1}
|
|
}
|
|
|
|
% Formats an E-mail address in small typewriter font.
|
|
\newcommand{\smallemail}[1]{\texttt{\small #1}}
|
|
|
|
|
|
%------------------
|
|
% 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};
|
|
}
|