aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/refman-preamble.sty
diff options
context:
space:
mode:
authorClément Pit-Claudel2020-03-26 14:06:15 -0400
committerClément Pit-Claudel2020-03-26 14:06:15 -0400
commit8457ddd63ba4a7afa68409528f165bac0ee18126 (patch)
treeba3f8471ff55782ab1b067cfe44620f83f8033c0 /doc/sphinx/refman-preamble.sty
parent738445a8db2b853204ea6f04b6b07751aeb40833 (diff)
parentec39d9ce2f43c30d760b33293bb76eca6749b13f (diff)
Merge PR #11920: Shrink refman-prelude files.
Ack-by: SkySkimmer Reviewed-by: cpitclaudel
Diffstat (limited to 'doc/sphinx/refman-preamble.sty')
-rw-r--r--doc/sphinx/refman-preamble.sty22
1 files changed, 0 insertions, 22 deletions
diff --git a/doc/sphinx/refman-preamble.sty b/doc/sphinx/refman-preamble.sty
index 90a63a5a2d..718a54ba8f 100644
--- a/doc/sphinx/refman-preamble.sty
+++ b/doc/sphinx/refman-preamble.sty
@@ -1,40 +1,26 @@
-\newcommand{\alors}{\textsf{then}}
-\newcommand{\alter}{\textsf{alter}}
\newcommand{\as}{\kw{as}}
\newcommand{\Assum}[3]{\kw{Assum}(#1)(#2:#3)}
-\newcommand{\bool}{\textsf{bool}}
\newcommand{\case}{\kw{case}}
-\newcommand{\conc}{\textsf{conc}}
\newcommand{\cons}{\textsf{cons}}
\newcommand{\consf}{\textsf{consf}}
-\newcommand{\conshl}{\textsf{cons\_hl}}
\newcommand{\Def}[4]{\kw{Def}(#1)(#2:=#3:#4)}
\newcommand{\emptyf}{\textsf{emptyf}}
\newcommand{\End}{\kw{End}}
\newcommand{\kwend}{\kw{end}}
-\newcommand{\EqSt}{\textsf{EqSt}}
\newcommand{\even}{\textsf{even}}
\newcommand{\evenO}{\textsf{even}_\textsf{O}}
\newcommand{\evenS}{\textsf{even}_\textsf{S}}
-\newcommand{\false}{\textsf{false}}
-\newcommand{\filter}{\textsf{filter}}
\newcommand{\Fix}{\kw{Fix}}
\newcommand{\fix}{\kw{fix}}
\newcommand{\for}{\textsf{for}}
\newcommand{\forest}{\textsf{forest}}
-\newcommand{\from}{\textsf{from}}
\newcommand{\Functor}{\kw{Functor}}
-\newcommand{\haslength}{\textsf{has\_length}}
-\newcommand{\hd}{\textsf{hd}}
-\newcommand{\ident}{\textsf{ident}}
\newcommand{\In}{\kw{in}}
\newcommand{\Ind}[4]{\kw{Ind}[#2](#3:=#4)}
\newcommand{\ind}[3]{\kw{Ind}~[#1]\left(#2\mathrm{~:=~}#3\right)}
\newcommand{\Indp}[5]{\kw{Ind}_{#5}(#1)[#2](#3:=#4)}
\newcommand{\Indpstr}[6]{\kw{Ind}_{#5}(#1)[#2](#3:=#4)/{#6}}
-\newcommand{\injective}{\kw{injective}}
\newcommand{\kw}[1]{\textsf{#1}}
-\newcommand{\lb}{\lambda}
\newcommand{\length}{\textsf{length}}
\newcommand{\letin}[3]{\kw{let}~#1:=#2~\kw{in}~#3}
\newcommand{\List}{\textsf{list}}
@@ -45,7 +31,6 @@
\newcommand{\ModS}[2]{{\kw{Mod}}({#1}:{#2})}
\newcommand{\ModType}[2]{{\kw{ModType}}({#1}:={#2})}
\newcommand{\mto}{.\;}
-\newcommand{\Nat}{\mathbb{N}}
\newcommand{\nat}{\textsf{nat}}
\newcommand{\Nil}{\textsf{nil}}
\newcommand{\nilhl}{\textsf{nil\_hl}}
@@ -57,13 +42,10 @@
\newcommand{\ovl}[1]{\overline{#1}}
\newcommand{\Pair}{\textsf{pair}}
\newcommand{\plus}{\mathsf{plus}}
-\newcommand{\Prod}{\textsf{prod}}
\newcommand{\SProp}{\textsf{SProp}}
\newcommand{\Prop}{\textsf{Prop}}
\newcommand{\return}{\kw{return}}
\newcommand{\Set}{\textsf{Set}}
-\newcommand{\si}{\textsf{if}}
-\newcommand{\sinon}{\textsf{else}}
\newcommand{\Sort}{\mathcal{S}}
\newcommand{\Str}{\textsf{Stream}}
\newcommand{\Struct}{\kw{Struct}}
@@ -71,9 +53,7 @@
\newcommand{\tl}{\textsf{tl}}
\newcommand{\tree}{\textsf{tree}}
\newcommand{\trii}{\triangleright_\iota}
-\newcommand{\true}{\textsf{true}}
\newcommand{\Type}{\textsf{Type}}
-\newcommand{\unfold}{\textsf{unfold}}
\newcommand{\WEV}[3]{\mbox{$#1[] \vdash #2 \lra #3$}}
\newcommand{\WEVT}[3]{\mbox{$#1[] \vdash #2 \lra$}\\ \mbox{$ #3$}}
\newcommand{\WF}[2]{{\mathcal{W\!F}}(#1)[#2]}
@@ -87,5 +67,3 @@
\newcommand{\WTE}[3]{\WT{E}{#1}{#2}{#3}}
\newcommand{\WTEG}[2]{\WTE{\Gamma}{#1}{#2}}
\newcommand{\WTM}[3]{\WT{#1}{}{#2}{#3}}
-\newcommand{\zeroone}[1]{[{#1}]}
-\newcommand{\zeros}{\textsf{zeros}}