Typst-实现-drop-cap-效果

可以用 droplet 包, 如:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#import "@preview/droplet:0.2.0": dropcap

#dropcap(
height: 2,
justify: true,
gap: 4pt,
hanging-indent: 1em,
overhang: 8pt,
)[
*Typst* is a new markup-based typesetting system that is designed to be as
_powerful_ as LaTeX while being _much easier_ to learn and use. Typst has:

- Built-in markup for the most common formatting tasks
- Flexible functions for everything else
- A tightly integrated scripting system
- Math typesetting, bibliography management, and more
- Fast compile times thanks to incremental compilation
- Friendly error messages in case something goes wrong
]

Typst-实现-drop-cap-效果
http://example.com/2024/06/05/Typst-实现-drop-cap-效果/
作者
Jie
发布于
2024年6月5日
许可协议