Like a chicken, I have thus far made a run for macros in the following situation, nervously hiding from procedures that I don’t know how to apply here. But, the time has come for the chicken to grab the bull by its horns. Yes, clearly a good idea.
With the code below, I want to color RED red. But the <<class>>
syntax does not correctly access the parameter here. Nor do I succeed using backticks or $class$
etc. What is the magic combo of characters that I need to use?
\procedure applyclass(class) <div class="anotherclass <<bg>>"> RED </div>
<<applyclass bg>>
<style>.bg {background:red;} </style>
Thank you!