From afa344f33db80456bb3091e3863ca673d43c5db8 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 1 Feb 2023 13:32:05 +0100 Subject: Fix raw show rule --- tests/typ/math/syntax.typ | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/typ/math/syntax.typ') diff --git a/tests/typ/math/syntax.typ b/tests/typ/math/syntax.typ index 80facfb2..8ffded29 100644 --- a/tests/typ/math/syntax.typ +++ b/tests/typ/math/syntax.typ @@ -1,11 +1,10 @@ #set page(width: auto) -#set text("Latin Modern Roman") #show : it => table( columns: 2, inset: 8pt, ..it.text .split("\n") - .map(line => (text(10pt, raw(line, lang: "typ")), eval(line) + [ ])) + .map(line => (raw(line, lang: "typ"), text("Latin Modern Roman", eval(line)))) .flatten() ) -- cgit v1.2.3