From 49c0bac44dda8be643480df2c4e68623eeec91bd Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 24 Feb 2022 18:47:43 +0100 Subject: First-line indents Co-Authored-By: Martin Haug --- src/library/par.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/library') diff --git a/src/library/par.rs b/src/library/par.rs index e5122166..cc5dd9b6 100644 --- a/src/library/par.rs +++ b/src/library/par.rs @@ -36,6 +36,8 @@ impl ParNode { pub const LEADING: Linear = Relative::new(0.65).into(); /// The extra spacing between paragraphs (dependent on scaled font size). pub const SPACING: Linear = Relative::new(0.55).into(); + /// The indent the first line of a consecutive paragraph should have. + pub const INDENT: Linear = Linear::zero(); fn construct(_: &mut Context, args: &mut Args) -> TypResult