Lovelace

→ Universe

Title

Using the title option, you can give your pseudocode a title (surprise!). For example, to achieve CLRS style, you can do something like

#pseudocode-list(stroke: none, title: smallcaps[Fancy-Algorithm])[
+ do something
+ do something else
+ *while* still something to do
+ do even more
+ *if* not done yet *then*
+ wait a bit
+ resume working
+ *else*
+ go home
+ *end*
+ *end*
]
page11-example0