generated from pikalab-unibo/ise-lab-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ise-lab-knowledge-representation.sty
47 lines (40 loc) · 1.54 KB
/
ise-lab-knowledge-representation.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
\usepackage{multicol}
\usepackage{amsmath,amssymb}
\usepackage{todonotes}
% ISE numbering
\labN{1}
\AtBeginSection[]
{
\begin{frame}[c,noframenumbering]\frametitle{Next in Line\ldots}
% \begin{multicols}{2}
\tableofcontents[sectionstyle=show/shaded, subsectionstyle=show/hide, subsubsectionstyle=hide/hide]
% \end{multicols}
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}[c,noframenumbering]\frametitle{Next in Line\ldots}
% \begin{multicols}{2}
\tableofcontents[sectionstyle=show/shaded, subsectionstyle=show/hide, subsubsectionstyle=hide/hide]
% \end{multicols}
\end{frame}
}
\newcommand{\argmin}[2]{\underset{#1}{\text{argmin}} \left\{ #2 \right\}}
\newcommand{\argmax}[2]{\underset{#1}{\text{argmax}} \left\{ #2 \right\}}
\newcommand{\unify}[2]{\text{unify}(#1, #2)}
\newcommand{\mgu}[2]{\text{mgu}(#1, #2)}
\newcommand{\functor}[1]{\mathtt{#1}}
\newcommand{\variable}[1]{\mathit{#1}}
\newcommand{\predication}[1]{\text{\textit{#1}}}
\newcommand{\consdot}{\functor{~.~}}
\newcommand{\fullstop}{\mathtt{.}}
\newcommand{\grammar}[1]{\mathsf{#1}}
\newcommand{\meta}[1]{\grammar{\left\langle#1\right\rangle}}
\newcommand{\terminal}[1]{\text{`}\mathit{#1}\text{'}}
\newcommand{\kleenestar}{^\grammar{*}}
\newcommand{\plus}{\grammar{+}}
\newcommand{\questionmark}{\grammar{?}}
\newcommand{\onceormore}[1]{\grammar{(#1)}\plus}
\newcommand{\severaltimes}[1]{\grammar{(#1)}\kleenestar}
\newcommand{\optional}[1]{\grammar{(#1)}\questionmark}
\newcommand{\twopkt}{\textsc{2P-Kt}}