L3-internship-report/concurgames.sty

62 lines
1.6 KiB
Text
Raw Normal View History

2016-07-12 14:49:11 +02:00
%% By Théophile Bastian
%% Useful commands for concurrent games as event structures
\usepackage[normalem]{ulem}
\usepackage{MnSymbol}
\usepackage{stmaryrd}
2016-07-19 11:50:11 +02:00
\usepackage{tikz}
2016-07-20 15:18:33 +02:00
\usepackage{relsize}
2016-07-19 11:50:11 +02:00
\usetikzlibrary{shapes,arrows,positioning}
2016-07-12 14:49:11 +02:00
2016-08-09 19:40:25 +02:00
\newcommand{\fname}[1]{\textsc{#1}}
2016-07-12 14:49:11 +02:00
\newcommand{\con}{\operatorname{Con}}
\newcommand{\confl}{\raisebox{0.5em}{\uwave{\hspace{2em}}}}
2016-07-19 17:55:48 +02:00
\newcommand{\cov}{{{\mathrel-\joinrel\subset}}}
\newcommand{\longcov}[1]{{\stackrel{#1}
{\mathrel-\joinrel\relbar\joinrel\subset\,}}}
\newcommand{\forkover}[1]{\longcov{#1}}
\newcommand{\fork}{\cov}
2016-07-12 14:49:11 +02:00
\newcommand{\edgeArrow}{\rightarrowtriangle}
2016-07-21 12:30:17 +02:00
\newcommand{\linarrow}{\rightspoon}
\newcommand{\redarrow}[1]{\overset{#1}{\longrightarrow}}
2016-07-12 14:49:11 +02:00
\newcommand{\config}{\mathscr{C}}
\newcommand{\downclose}[1]{\left[#1\right]}
2016-07-12 14:49:11 +02:00
2016-07-18 12:50:28 +02:00
\newcommand{\strComp}{\odot}
\newcommand{\strInteract}{\ostar}
\newcommand{\strParallel}{\parallel}
\newcommand{\seman}[1]{\llbracket{} #1 \rrbracket}
2016-07-19 11:50:11 +02:00
2016-07-20 15:18:33 +02:00
\newcommand{\tens}{\otimes}
\newcommand{\Tens}{\mathlarger\otimes}
2016-07-21 12:30:17 +02:00
% LCCS
2016-08-14 18:18:28 +02:00
\newcommand{\newch}[1]{\left(\nu #1\right)}
\newcommand{\linearmark}{$\mathcal{L}$}
2016-08-09 21:30:22 +02:00
\newcommand{\lcalc}{$\lambda$-calculus}
\newcommand{\lccs}{$\lambda$CCS}
\newcommand{\linccs}{{\linearmark}CCS}
\newcommand{\llccs}{$\lambda${\linearmark}CCS}
2016-07-21 12:30:17 +02:00
\newcommand{\proc}{\mathbb{P}}
\newcommand{\chan}{\mathbb{C}}
2016-08-12 19:12:53 +02:00
\newcommand{\validctx}{\mathcal{L}}
\newcommand{\freevars}{\operatorname{fv}}
2016-07-21 12:30:17 +02:00
% Copycat
\newcommand{\CC}{{\rm C\!\!\!C}}
\newcommand{\cc}{\mathrm{\,c\!\!\!\!c\,}}
2016-07-19 11:50:11 +02:00
\newcommand{\includedot}[2][]{%
\begin{tikzpicture}[>=latex,line join=bevel,#1]
\input{_build/dot/#2.tex}
\end{tikzpicture}}