This commit is contained in:
Marius Drechsler 2024-07-21 17:19:09 +02:00
parent b73f8e6e63
commit bec0722111
6 changed files with 33 additions and 22 deletions

View file

@ -1,16 +1,10 @@
#import "@preview/lovelace:0.3.0": *
#pseudocode-list(booktabs: true, numbered-title: [My cool 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*
#pseudocode-list(booktabs: true, numbered-title: [Find quantizer offsets])[
+ $p$: initial offset value
+ $a$: amount of offsets
+ *while* $(i = 1) <= a$:
+ *return* $i dot p$
+ *end*
]