# Tag Info

4

Use \SetInd{<space before>}{<space after>} to control the spacing before and after the vertical rule (which is disabled via that noline option). Here is a comparison of the default setting and one with \SetInd{0.25em}{0.1em}: Code: \documentclass{article} ...

5

You need to define a command with an argument giving the font specification and then use the name of this command in the argument for \SetCommentSty: \documentclass{article} \usepackage{xcolor} \usepackage[linesnumbered,ruled,vlined]{algorithm2e} \newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{blue}{#1}} \SetCommentSty{mycommfont} ...

Top 50 recent answers are included