Closed mvuorre closed 5 days ago
I fixed this for 0.12 with #show bibliography: set par( spacing: 0.65em, leading: 0.65em)
, for 0.11
should be probably something like #show bibliography: set block( spacing: 0.65em, leading: 0.65em)
but I dont have time for tesing it tonight, relevant typst forum thread https://forum.typst.app/t/how-to-change-spacing-between-entries-within-bibliography/1366
Waiting for Typst 0.12 to be included in Quarto
I will check if I can provide solution for 0.11, then will do a small PR
Seems to work both for 0.12 and 0.11 (I edited my previous reply according to https://forum.typst.app/t/scope-of-show-rules-in-if-condition-bibliography/1598/2?u=danborek apparently starting from #if will not work in typst due to scope problem so https://github.com/mvuorre/quarto-preprint/issues/13 might be needed to reopen or I could update together with this issue)
// Set space between paragraphs
set par(spacing: spacing) if sys.version >= version(0, 12, 0)
show par: set block(spacing: spacing) if sys.version >= version(0,12,0)
// space around blocks in bibliography
show bibliography: set par(spacing: 0.65em, leading: 0.65em) if sys.version >= version(0, 12, 0)
show bibliography: set block(spacing: leading) if sys.version < version(0, 12, 0)
bibliography looks like this then, I changed the default values, theue
When I set the default values,( on 0.12) it looks more like the screnshot from 1st post
// space around blocks in bibliography
show bibliography: set par(spacing: spacing, leading: leading) if sys.version >= version(0, 12, 0)
show bibliography: set block(spacing: leading) if sys.version < version(0, 12, 0)
What should be the proper value?
Thanks for looking into this! Fixed now. (It's a judgment call re proper value--my thinking was to make all references appear as lines in the same paragraph.)
There should not be additional space between references