diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/algorithm2e/algorithm2e_exnlsty.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/algorithm2e/algorithm2e_exnlsty.tex | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/algorithm2e/algorithm2e_exnlsty.tex b/Master/texmf-dist/doc/latex/algorithm2e/algorithm2e_exnlsty.tex new file mode 100644 index 00000000000..863adcbf581 --- /dev/null +++ b/Master/texmf-dist/doc/latex/algorithm2e/algorithm2e_exnlsty.tex @@ -0,0 +1,12 @@ +\SetNlSty{texttt}{[}{]} +\SetAlgoNlRelativeSize{0} +\SetNlSkip{0em} +\nl\KwIn{input data} +\nl\KwOut{output data} +\nl\tcc{a comment line in C-style} +\nl\Repeat{\nl$e<\tau$}{ + \nl$f_n\leftarrow Y_1$\; + \nl$f_{n+1}\leftarrow f_n\times f_{n-1}$\; + \nl$e\leftarrow \frac{f_n}{2}$\; +} +\nl\KwRet{$e$}
\ No newline at end of file |