dossier-complet/candidature.sty

101 lines
2.6 KiB
Text
Raw Normal View History

2015-05-14 12:22:43 +02:00
\NeedsTeXFormat{LaTeX2e}
\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-27 00:32:09 +02:00
\usepackage{complexity}
2015-05-15 02:59:03 +02:00
\usepackage{fontspec}
\usepackage[french]{babel}
2015-05-26 11:38:23 +02:00
\usepackage[
backend=biber,
style=numeric,
maxbibnames=99,
doi=false,
url=false,
defernumbers=true,
]{biblatex}
\usepackage[
text={154mm,253mm},
top=20mm,
left=25mm,
twoside
]{geometry}
2015-05-21 15:13:14 +02:00
\usepackage{setspace}
\usepackage{tabu}
2019-03-02 18:06:53 +01:00
\usepackage{tabularx}
\usepackage{emptypage}
2015-05-24 21:33:45 +02:00
\usepackage{enumitem}
\RequirePackage{bm}
\RequirePackage{subcaption}
\usepackage{tikz}
\usepackage{hyperref}
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
\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 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}
\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}}
%------------------
% 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};
}