This MWE shows how droplet
can be used to produce a dropcap on any paragraph as required:
#set page(paper: "a7")
#import "@preview/droplet:0.3.1": dropcap
#set par(justify: true)
= Heading
#dropcap(
height: 3,
gap: 4pt,
hanging-indent: 1em,
)[#lorem(75)]
However, I would like to use dropcaps with identical details at the beginning of every section in a long document. Would it be possible to create a set or show-set rule in the preamble of main.typ
, eventually in a template, so that at each instance all I would have to enter would be #dropcap[Content of paragraph]
, rather than repeating the details every time.
Could someone help me please?
Mark