I'm trying to highlight some pseudocode lines, and I'm using this solution pseudocode block. However, I've not understood the following new command:
\newcommand{\fillcol}{green!20}
\newcommand<>{\boxto}[1]{
\only#2{
\tikz[remember picture with id=#1]
\draw[line width=1pt,fill=\fillcol,rectangle,rounded corners]
(pic cs:#1) ++(8.2,-.1) rectangle (-3.4,-.1);
}
}
What's mean the symbols <> in front of \newcommand?
Moreover, I'd like to pass the color to fill the rectangle as parameter for
the \boxto command. In the posted solution, the color is defined as a command \fillcol How to do this change? Could someone help me?
Thanks!
<>is beamer class syntax which allows blocks of text to appear in different layers specified by for example<2>– David Carlisle Jan 25 '17 at 18:23beameryou can drop<>and must drop\only#2. – Jan 25 '17 at 18:37