From ab5dd2a1cb5e6e038f92fbdca0996f602e42f16a Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 31 Oct 2023 01:33:06 +0100 Subject: CSL support --- tests/typ/text/quote.typ | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'tests/typ/text') diff --git a/tests/typ/text/quote.typ b/tests/typ/text/quote.typ index b815b032..0fd96ff5 100644 --- a/tests/typ/text/quote.typ +++ b/tests/typ/text/quote.typ @@ -18,6 +18,7 @@ And I quote: #quote(attribution: [René Descartes])[cogito, ergo sum]. --- // Spacing with other blocks #set quote(block: true) +#set text(8pt) #lorem(10) #quote(lorem(10)) @@ -25,27 +26,35 @@ And I quote: #quote(attribution: [René Descartes])[cogito, ergo sum]. --- // Inline citation -#bibliography("/files/works.bib") - +#set text(8pt) #quote(attribution: )[In a hole in the ground there lived a hobbit.] +#set text(0pt) +#bibliography("/files/works.bib") + --- // Citation-format: label or numeric +#set text(8pt) #set quote(block: true) -#bibliography("/files/works.bib", style: "ieee") - #quote(attribution: )[In a hole in the ground there lived a hobbit.] +#set text(0pt) +#bibliography("/files/works.bib", style: "ieee") + --- // Citation-format: note +#set text(8pt) #set quote(block: true) -#bibliography("/files/works.bib", style: "chicago-notes") - #quote(attribution: )[In a hole in the ground there lived a hobbit.] +#set text(0pt) +#bibliography("/files/works.bib", style: "chicago-notes") + --- // Citation-format: author-date or author +#set text(8pt) #set quote(block: true) -#bibliography("/files/works.bib", style: "apa") - #quote(attribution: )[In a hole in the ground there lived a hobbit.] + +#set text(0pt) +#bibliography("/files/works.bib", style: "apa") -- cgit v1.2.3