How to get rid of a padding on the right side of block quotations?

It seems that block quotations have 1em inset on the left and right sides:

#set par(first-line-indent: 1em, justify: true)

#lorem(50)

#quote(block: true)[#lorem(50)]

I style block quotations with a stroke on the left side:

#set par(first-line-indent: 1em, justify: true)
#show quote.where(block: true): set block(spacing: 1em, width: 100%)
#show quote.where(block: true): block.with(stroke: (left: 4pt + silver, rest: none))

#lorem(50)

#quote(block: true)[#lorem(50)]

image

…and because of this, the inset on the right side looks redundant. How to get rid of it?

Addendum:

To solve this issue (and after all, I suspect this is not a really good way), I tried to add -1em negative inset, but for some reason it looks like -2. Neither -0.5 really works.

#set par(first-line-indent: 1em, justify: true)
#show quote.where(block: true): set block(spacing: 1em, width: 100%, inset: (right: -1em))
#show quote.where(block: true): block.with(stroke: (left: 4pt + silver, rest: none))

#lorem(50)

#quote(block: true)[#lorem(50)]

An inset of about -0.35em seems to roughly work.

#show quote.where(block: true): set block(spacing: 1em,
width: 100%, inset: (right: -0.35em))

But this is not really a satisfying solution, because it seems arbitrary. :thinking:

If you look at the docs for quote, it mentions that the quote element is styled with pad unlike most other elements which means you can enable/disable padding with a show-set rule like this: #show quote.where(block: true): set pad(left: 1em, right: 0em)

2 Likes