Last active
August 29, 2015 14:03
-
-
Save lgylym/5672b6dc743864ab548b to your computer and use it in GitHub Desktop.
algorithm2e template for my thesis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{algorithm2e} | |
\SetKwFor{ForEach}{for each}{do}{endfch}%separate foreach with a space | |
\SetArgSty{textrm} %do not automatically use italic in arguments | |
\DontPrintSemicolon % Some LaTeX compilers require you to use \dontprintsemicolon instead | |
%\NoCaptionOfAlgo %using this to not print the bold Algorithm in caption, usful in inline algo explainations | |
\KwIn{input} | |
\KwOut{output} | |
\Return{return value} | |
\caption{caption} | |
\label{algo:label} | |
\end{algorithm2e} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment