我正在使用algorithmic
Latex 编写伪代码。我希望在代码中添加单行( //
)和多行( )注释。/**/
\Procedure{Foo}{$x$}
\State Set $a\gets b+c$ \LONGCOMMENT{this is a comment broken over b+c and b-c lines}
\State Set $d\gets b-c$
我希望注释出现在以ie开头和结尾的\LONGCOMMENT
行中/*
*/
procedure Foo(x)
Set a <- b+c /*this is a comment broken
Set a <- b-c over b+c and b-c lines*/