Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Latex Template for Professor Joao Leitao's pseudocode style

License

Notifications You must be signed in to change notification settings

filipedeluna/jlt-pseudocode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Sample file - copy and paste to a new empty Tex file.

\input{CHANGE/THIS/TO/YOUR/PATH/jlt-pseudocode}

\begin{document}		
	\begin{algorithmic}[1]
		
		% Write code here
		
	\end{algorithmic}
\end{document}

Example

\asdinterface
	\asdrequests
		\asdstatement{request()}
	\asdend
	\asdindications
		\asdstatement{indication()}
	\asdend
\asdend

\asdupon[request()]
	\asdlinecomment{some comment}
	\asdstatement{someThing()}
\asdend

\asdupon[indication()]
	\asdtrigger{someFunction()}
\asdend

\asdif[\asdin{thing}{set})]
	\asdstatement{doStuff()}
\asdelseif[someOtherCondition()]
	\asdassign{thing}{newThing}
\asdelseb
	\asdsetupptimer{newTimer(t, ``Fail'')}	
\asdend

About

Latex Template for Professor Joao Leitao's pseudocode style

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages