44
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
1 \newcommand{\martin}[1]{\textcolor{blue}{\textit{Martin: #1}}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
2 \newcommand{\anneke}[1]{\textcolor{red}{\textit{Anneke: #1}}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
3
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
4 \newcommand{\etc}{\textit{etc}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
5 \newcommand{\ie}{\textit{i.e.}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
6 \newcommand{\da}{\textsc{LTPDA}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
7 \newcommand{\code}[1]{\texttt{#1}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
8 \newcommand{\tbd}[0]{\textcolor{red}{TBD}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
9 \newcommand{\ltpda}[0]{\textsc{LTPDA}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
10
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
11 \newcommand{\q}[1]{\lq #1'}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
12
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
13 \newenvironment{Ventry}[1]%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
14 {\begin{list}{}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
15 {\renewcommand{\makelabel}[1]{\textbf{##1:}\hfil}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
16 \settowidth{\labelwidth}{\textbf{#1:}}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
17 \setlength{\leftmargin}{\labelwidth+\labelsep}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
18 }%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
19 }
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
20 {\end{list}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
21
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
22 \newenvironment{flist}[1]%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
23 {\begin{list}{}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
24 {\renewcommand{\makelabel}[1]{\texttt{##1:}\hfil}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
25 \settowidth{\labelwidth}{\texttt{#1:}}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
26 \setlength{\leftmargin}{\labelwidth+\labelsep}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
27 }%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
28 }
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
29 {\end{list}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
30
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
31 % UTP
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
32 \newcounter{utpscount}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
33 \setcounter{utpscount}{1}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
34 \newcommand{\utps}[2]{\noindent\textbf{\\UTP\_S\hspace{-0.13cm}\padzeroes[3]\decimal{utpscount}}\hspace{0.3cm}\stepcounter{utpscount}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
35 \parbox[t]{12cm}{#1}\\\medskip\parbox[t]{12cm}{#2}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
36
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
37 % Algorithmic UTP
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
38 \newcounter{utpacount}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
39 \setcounter{utpacount}{1}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
40 \newcommand{\utpa}[1]{\noindent\textbf{\\UTP\_A\hspace{-0.13cm}\padzeroes[3]\decimal{utpacount}}\hspace{0.3cm}\stepcounter{utpacount}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
41 \parbox[t]{12cm}{#1}\\\medskip}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
42
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
43
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
44 \newcounter{utpcount}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
45 \setcounter{utpcount}{1}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
46 \newcommand{\utpfcn}{default\_name}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
47
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
48 \newcommand{\utp}[5]{\noindent\vspace{0.3cm}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
49 \begin{tabularx}{\textwidth}{@{}|c|X|p{#1cm}@{}|@{}}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
50 \multicolumn{3}{@{}p{\textwidth}@{}}{\textbf{\utpfcn\_\padzeroes[3]\decimal{utpcount}} \stepcounter{utpcount}} \\
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
51 \hline
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
52 \textbf{S} & \textbf{Call} \newline #2 & #3 \\
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
53 \hline
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
54 \textbf{A} & \textbf{Check} \newline #4 & #5 \\
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
55 \hline
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
56 \end{tabularx}\vspace{0.3cm}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
57
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
58
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
59
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
60
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
61 \newcounter{stpcount}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
62 \setcounter{stpcount}{1}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
63 \newcommand{\stp}[1]{\noindent\\\vspace{0.3cm}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
64 \begin{tabular}{|l|p{12cm}|}%
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
65 \hline
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
66 \textbf{ST\_\hspace{-0.13cm}\padzeroes[3]\decimal{stpcount}}\stepcounter{stpcount} & #1 \\ \hline
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
67 \end{tabular}\vspace{0.3cm}}
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
68
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
69
|