1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
// Test auto sizing.
#set circle(inset: 0pt)
Auto-sized circle.
#circle(fill: rgb("eb5278"), stroke: 2pt + black,
align(center + horizon)[But, soft!]
)
Center-aligned rect in auto-sized circle.
#circle(fill: red, stroke: green,
align(center + horizon,
rect(fill: green, inset: 5pt)[But, soft!]
)
)
Rect in auto-sized circle.
#circle(fill: red,
rect(fill: green, stroke: white, inset: 4pt)[
#set text(8pt)
But, soft! what light through yonder window breaks?
]
)
Expanded by height.
#circle(stroke: black, align(center)[A \ B \ C])
|