123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- \documentclass{article}
- \usepackage{agda}
- \usepackage{amsmath}
- \usepackage{newunicodechar}
- \newunicodechar{₁}{\ensuremath{{}_{\text{1}}}}
- \pagestyle{empty}
- \begin{document}
- \noindent Control:
- \begin{code}%
- %
- \>[2]\AgdaFunction{\AgdaUnderscore{}}\AgdaSpace{}%
- \AgdaSymbol{:}\AgdaSpace{}%
- \AgdaPrimitive{Set₁}\<%
- \\
- %
- \>[2]\AgdaSymbol{\AgdaUnderscore{}}\AgdaSpace{}%
- \AgdaSymbol{=}\AgdaSpace{}%
- \AgdaPrimitive{Set}\<%
- \end{code}
- \noindent No extra indentation (alignment):
- \begin{code}[hide]%
- %
- \>[2]\AgdaFunction{\AgdaUnderscore{}}\AgdaSpace{}%
- \AgdaSymbol{:}\AgdaSpace{}%
- \AgdaPrimitive{Set₁}\<%
- \\
- %
- \>[2]\AgdaSymbol{\AgdaUnderscore{}}%
- \>[6I]\AgdaSymbol{=}\<%
- \end{code}
- \begin{code}%
- \>[.][@{}l@{}]\<[6I]%
- \>[4]\AgdaPrimitive{Set}\<%
- \end{code}
- \noindent No extra indentation (indentation):
- \begin{code}[hide]%
- %
- \>[2]\AgdaFunction{\AgdaUnderscore{}}\AgdaSpace{}%
- \AgdaSymbol{:}\AgdaSpace{}%
- \AgdaPrimitive{Set₁}\<%
- \\
- %
- \>[2]\AgdaSymbol{\AgdaUnderscore{}}%
- \>[9I]\AgdaSymbol{=}\<%
- \end{code}
- \begin{code}%
- \>[9I][@{}l@{\AgdaIndent{1}}]%
- \>[5]\AgdaPrimitive{Set}\<%
- \end{code}
- \noindent No extra indentation (alignment):
- \begin{code}[hide]%
- %
- \>[2]\AgdaKeyword{postulate}\<%
- \\
- \>[2][@{}l@{\AgdaIndent{0}}]%
- \>[4]\AgdaPostulate{\AgdaUnderscore{}}%
- \>[10I]\AgdaSymbol{:}\<%
- \end{code}
- \begin{code}%
- \>[.][@{}l@{}]\<[10I]%
- \>[6]\AgdaPrimitive{Set}\<%
- \end{code}
- \noindent No extra indentation (indentation):
- \begin{code}[hide]%
- %
- \>[2]\AgdaKeyword{postulate}\<%
- \\
- \>[2][@{}l@{\AgdaIndent{0}}]%
- \>[4]\AgdaPostulate{\AgdaUnderscore{}}%
- \>[11I]\AgdaSymbol{:}\<%
- \end{code}
- \begin{code}%
- \>[11I][@{}l@{\AgdaIndent{1}}]%
- \>[7]\AgdaPrimitive{Set}\<%
- \end{code}
- \noindent No extra indentation (alignment, \texttt{AgdaMultiCode}):
- \begin{AgdaMultiCode}
- \begin{code}[hide]%
- %
- \>[2]\AgdaFunction{\AgdaUnderscore{}}\AgdaSpace{}%
- \AgdaSymbol{:}\AgdaSpace{}%
- \AgdaPrimitive{Set₁}\<%
- \\
- %
- \>[2]\AgdaSymbol{\AgdaUnderscore{}}%
- \>[14I]\AgdaSymbol{=}\<%
- \end{code}
- \begin{code}%
- \>[.][@{}l@{}]\<[14I]%
- \>[4]\AgdaPrimitive{Set}\<%
- \end{code}
- \begin{code}[hide]%
- %
- \>[2]\AgdaFunction{\AgdaUnderscore{}}\AgdaSpace{}%
- \AgdaSymbol{:}\AgdaSpace{}%
- \AgdaPrimitive{Set₁}\<%
- \\
- %
- \>[2]\AgdaSymbol{\AgdaUnderscore{}}%
- \>[17I]\AgdaSymbol{=}\<%
- \end{code}
- \begin{code}%
- \>[.][@{}l@{}]\<[17I]%
- \>[4]\AgdaPrimitive{Set}\<%
- \end{code}
- \end{AgdaMultiCode}
- \noindent Extra indentation (indentation, \texttt{AgdaMultiCode}):
- \begin{AgdaMultiCode}
- \begin{code}[hide]%
- %
- \>[2]\AgdaFunction{\AgdaUnderscore{}}\AgdaSpace{}%
- \AgdaSymbol{:}\AgdaSpace{}%
- \AgdaPrimitive{Set₁}\<%
- \\
- %
- \>[2]\AgdaSymbol{\AgdaUnderscore{}}%
- \>[20I]\AgdaSymbol{=}\<%
- \end{code}
- \begin{code}%
- \>[20I][@{}l@{\AgdaIndent{1}}]%
- \>[5]\AgdaPrimitive{Set}\<%
- \end{code}
- \begin{code}[hide]%
- %
- \>[2]\AgdaFunction{\AgdaUnderscore{}}\AgdaSpace{}%
- \AgdaSymbol{:}\AgdaSpace{}%
- \AgdaPrimitive{Set₁}\<%
- \\
- %
- \>[2]\AgdaSymbol{\AgdaUnderscore{}}%
- \>[23I]\AgdaSymbol{=}\<%
- \end{code}
- \begin{code}%
- \>[23I][@{}l@{\AgdaIndent{1}}]%
- \>[5]\AgdaPrimitive{Set}\<%
- \end{code}
- \end{AgdaMultiCode}
- \noindent No extra indentation (alignment, \texttt{AgdaMultiCode}):
- \begin{AgdaMultiCode}
- \begin{code}[hide]%
- %
- \>[2]\AgdaKeyword{postulate}\<%
- \\
- \>[2][@{}l@{\AgdaIndent{0}}]%
- \>[4]\AgdaPostulate{\AgdaUnderscore{}}%
- \>[24I]\AgdaSymbol{:}\<%
- \end{code}
- \begin{code}%
- \>[.][@{}l@{}]\<[24I]%
- \>[6]\AgdaPrimitive{Set}\<%
- \end{code}
- \begin{code}[hide]%
- %
- \>[2]\AgdaKeyword{postulate}\<%
- \\
- \>[2][@{}l@{\AgdaIndent{0}}]%
- \>[4]\AgdaPostulate{\AgdaUnderscore{}}%
- \>[25I]\AgdaSymbol{:}\<%
- \end{code}
- \begin{code}%
- \>[.][@{}l@{}]\<[25I]%
- \>[6]\AgdaPrimitive{Set}\<%
- \end{code}
- \end{AgdaMultiCode}
- \noindent Extra indentation (indentation, \texttt{AgdaMultiCode}):
- \begin{AgdaMultiCode}
- \begin{code}[hide]%
- %
- \>[2]\AgdaKeyword{postulate}\<%
- \\
- \>[2][@{}l@{\AgdaIndent{0}}]%
- \>[4]\AgdaPostulate{\AgdaUnderscore{}}%
- \>[26I]\AgdaSymbol{:}\<%
- \end{code}
- \begin{code}%
- \>[26I][@{}l@{\AgdaIndent{1}}]%
- \>[7]\AgdaPrimitive{Set}\<%
- \end{code}
- \begin{code}[hide]%
- %
- \>[2]\AgdaKeyword{postulate}\<%
- \\
- \>[2][@{}l@{\AgdaIndent{0}}]%
- \>[4]\AgdaPostulate{\AgdaUnderscore{}}%
- \>[27I]\AgdaSymbol{:}\<%
- \end{code}
- \begin{code}%
- \>[27I][@{}l@{\AgdaIndent{1}}]%
- \>[7]\AgdaPrimitive{Set}\<%
- \end{code}
- \end{AgdaMultiCode}
- \noindent Extra indentation (indentation, \texttt{AgdaMultiCode}):
- \begin{AgdaMultiCode}
- \begin{code}[hide]%
- %
- \>[2]\AgdaKeyword{postulate}\<%
- \\
- \>[2][@{}l@{\AgdaIndent{0}}]%
- \>[4]\AgdaPostulate{Aaa}\AgdaSpace{}%
- \AgdaSymbol{:}\<%
- \end{code}
- \begin{code}%
- \>[4][@{}l@{\AgdaIndent{1}}]%
- \>[6]\AgdaPrimitive{Set}\<%
- \end{code}
- \begin{code}[hide]%
- %
- \>[2]\AgdaKeyword{postulate}\<%
- \\
- \>[2][@{}l@{\AgdaIndent{0}}]%
- \>[4]\AgdaPostulate{Bbb}\AgdaSpace{}%
- \AgdaSymbol{:}\<%
- \end{code}
- \begin{code}%
- \>[4][@{}l@{\AgdaIndent{1}}]%
- \>[6]\AgdaPrimitive{Set}\<%
- \end{code}
- \end{AgdaMultiCode}
- \end{document}
|