1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Formatter configuration.
//!
//! The LaTeX-specific [`WrapMode`] (paragraph line-break policy, modeled on the
//! `panache` formatter) is the one field specific to badness.
/// How the formatter lays out the line breaks *inside* a paragraph. Modeled on
/// panache's `WrapMode` (`crates/panache-formatter/src/config.rs`).
///
/// Only [`WrapMode::Reflow`] and [`WrapMode::Preserve`] are implemented today;
/// [`WrapMode::Sentence`] and [`WrapMode::Semantic`] are accepted but currently
/// fall back to [`WrapMode::Preserve`] behavior (see `formatter::core`).