From b842747c3b8094487b76d597fa125fbfd56edda0 Mon Sep 17 00:00:00 2001 From: Sven Vogel Date: Thu, 11 Jul 2024 15:36:55 +0200 Subject: [PATCH] aaadded 0.5pt line between data cells of tables --- src/style.typ | 2 +- template/main.typ | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/style.typ b/src/style.typ index cb39f26..9738c45 100644 --- a/src/style.typ +++ b/src/style.typ @@ -67,7 +67,7 @@ stroke: (x, y) => ( left: none, right: none, - top: if y == 0 { 1.5pt } else if y < 2 { 1pt } else { 0pt }, + top: if y == 0 { 1.5pt } else if y < 2 { 1pt } else { 0.5pt }, bottom: if y == 0 { 1pt } else { 1.5pt } )) // make table header bold diff --git a/template/main.typ b/template/main.typ index d4c5259..8f93a1a 100644 --- a/template/main.typ +++ b/template/main.typ @@ -69,6 +69,12 @@ $ table.header[Date][Exercise Type][Calories Burned], [2023-03-15], [Swimming], [400], [2023-03-17], [Weightlifting], [250], + [2023-03-18], [Yoga], [200], + [2023-03-15], [Swimming], [400], + [2023-03-17], [Weightlifting], [250], + [2023-03-18], [Yoga], [200], + [2023-03-15], [Swimming], [400], + [2023-03-17], [Weightlifting], [250], [2023-03-18], [Yoga], [200]), caption: [ Some table ])