how to write comment in algorithm in latex code example Example: comment in latex %this is a comment (use percent sign %)