summary refs log tree commit diff stats
path: root/mysql-php/tpl.typ
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-php/tpl.typ')
-rw-r--r--mysql-php/tpl.typ16
1 files changed, 9 insertions, 7 deletions
diff --git a/mysql-php/tpl.typ b/mysql-php/tpl.typ
index 124e349..28c8343 100644
--- a/mysql-php/tpl.typ
+++ b/mysql-php/tpl.typ
@@ -19,7 +19,7 @@
   let code-color = rgb("#f4f4f4")
 //  show raw: set text(font: "CommitMono", size: 1.1em)
 //  show raw: set text(font: "Source Code Pro", size: 1.1em)
-  show raw: set text(font: "Iosevka Fixed", size: 10pt)
+  show raw: set text(font: "Iosevka Fixed", size: 1.1em)
   show raw.where(block: false): box.with(
     fill: code-color,
     inset: (x: 3pt, y: 0pt),
@@ -46,9 +46,11 @@
 #let objective(body) = align(center, [*Objective*: #body])
 #let oset(kind) = block(spacing: 0.6em, [===== #h(1em) #kind])
 
-#let scos(n, obody) = {
-    [=== Source Code]
-    hlfile("/code/a" + str(n) + ".php")
-    [=== Output]
-    obody
-}
+#let scos(n, obody) = [
+  === Source Code
+  #show raw: set text(size: 10pt)
+  #hlfile("/code/a" + str(n) + ".php")
+  === Output
+  #obody
+]
+