oplss2024/common.typ

21 lines
490 B
Text
Raw Normal View History

2024-06-03 19:00:06 +00:00
#import "@preview/prooftrees:0.1.0": *
2024-06-04 14:31:23 +00:00
#let db(x) = $bracket.l.double #x bracket.r.double$
#let isValue(x) = $#x "value"$
#let mapsto = $arrow.r.long.bar$
#let mapstostar = $op(arrow.r.long.bar)^*$
#let subst(x, v, e) = $#e [#v\/#x]$
#let TODO = text(fill: red)[*TODO*]
2024-06-04 22:56:00 +00:00
#let ifthenelse(e, e1, e2) = $"if" #e "then" #e1 "else" #e2$
2024-06-04 14:31:23 +00:00
2024-06-04 17:52:15 +00:00
#let conf(title, doc) = {
2024-06-04 14:31:23 +00:00
show link: underline
2024-06-04 22:56:00 +00:00
set page(width: 4.8in, height: 8.4in, margin: 0.3in)
2024-06-04 17:52:15 +00:00
2024-06-04 22:56:00 +00:00
[
= #text(size: 24pt)[#title]
#doc
]
2024-06-04 14:31:23 +00:00
}