-
Notifications
You must be signed in to change notification settings - Fork 0
/
appendix.tex
41 lines (34 loc) · 1.05 KB
/
appendix.tex
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
\section*{Appendix}
\renewcommand\thesubsection{\Alph{subsection}}
\subsection{Permutations by ARX}
\label{ssec:permarx}
The code below shows how to generate arbitrary permutations by solely ARX primitives.
This code is written in Python3 syntax, but is functionally equivalent to any other
programming languages.
\begin{figure}[h!]
\lstinputlisting[
language=Python,
%caption={Python program of permutations by ARX},
%label={lst:perm-py}
]{permutation.py}
\vspace{-5mm}
\end{figure}
%\begin{figure}[t]
%\begin{center}
%\fbox{\rule{0pt}{2in} \rule{0.9\linewidth}{0pt}}
% %\includegraphics[width=0.8\linewidth]{egfigure.eps}
%\end{center}
% \caption{Example of caption. It is set in Roman so that mathematics
% (always set in Roman: $B \sin A = A \sin B$) may be included without an
% ugly clash.}
%\label{fig:long}
%\label{fig:onecol}
%\end{figure}
%
%\begin{figure*}
%\begin{center}
%\fbox{\rule{0pt}{2in} \rule{.9\linewidth}{0pt}}
%\end{center}
% \caption{Example of a short caption, which should be centered.}
%\label{fig:short}
%\end{figure*}