Skip to content

Vertically centered circle in heading #4075

Closed Answered by l0wx
adrfantini asked this question in Q&A
Discussion options

You must be logged in to vote
  1. That's because circle() is a block element.
  2. Depending on if you want the circle to be in line or to the side:
= #context box(
    height: measure[.].height,
    align(horizon, circle(height: .3em)),
) #lorem(11)
= #grid(
    align: horizon,
    columns: 3,
    circle(height: .3em),
    [\u{2063} \u{2063}],// Invisible Sep. → Whitespacing trimming mitigation
    lorem(11),
)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@adrfantini
Comment options

@l0wx
Comment options

@adrfantini
Comment options

@laurmaedje
Comment options

Answer selected by laurmaedje
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants