math-tex2typst / _work /_ca /cetz3.typ
孟祥瑞
Add files using upload-large-folder tool
471e46b verified
Raw History Blame Contribute Delete
412 Bytes
#import "@preview/cetz:0.5.0"
#set page(width: 90mm, height: 60mm, margin: 12mm)
#cetz.canvas(length: 1cm, {
import cetz.draw: *
line((0, 0), (4, 0), stroke: (paint: rgb("#808080"), thickness: 0.4pt))
line((2, -2), (2, 2), stroke: (paint: rgb("#808080"), thickness: 0.4pt))
content((2, 0), [#text(size: 9pt)[B]], frame: "circle", padding: 0.1179cm, stroke: (thickness: 0.4pt), anchor: "east")
})