From 453b346f61735a7bb7615e60dbf64901c332e0ee Mon Sep 17 00:00:00 2001 From: NickV Date: Wed, 3 Dec 2025 14:02:51 +0100 Subject: [PATCH] Update lovelace.typ Made line numbers align with the start of lines to fix number placement when lines are long enough to wrap or contain newline backslashes. Also Lightened numbers to distinquish numbers from content. --- lovelace.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lovelace.typ b/lovelace.typ index 6643d75..76226a3 100644 --- a/lovelace.typ +++ b/lovelace.typ @@ -72,10 +72,10 @@ counter(figure.where(kind: "lovelace-line-number")).update(number - 1) if number-align == auto { - number-align = right + horizon + number-align = right } show: align.with(number-align) - text(size: .8em, number-width: "tabular")[#numbering(line-numbering, number)] + text(size: 1em, number-width: "tabular", fill: luma(100)[#numbering(line-numbering, number)] if label != none { box[