feat: tex rendering via temml

This commit is contained in:
2026-02-16 03:55:07 -07:00
parent a26df4011a
commit 651ed4f26c
19 changed files with 690 additions and 60 deletions

View File

@@ -0,0 +1,16 @@
(ns serialise
(:require [clj-cbor.core :as cbor]
[clojure.string :as str]))
(defn w [x]
(cbor/encode cbor/default-codec System/out x))
(defn c [x]
(->> x cbor/encode (map #(format "%02x" %)) (str/join " ")))
(w "\\naturalto")
#_#_#_
(w "c = \\sqrt{a^2 + y^2}")
(w "c = \\sqrt{a^ + y^2")
(w "\\alpha^\\beta")