#Column alignment

4 messages · Page 1 of 1 (latest)

untold root
frosty imp
#

Hi, please send the relevant snippet of code and an image of what you're seeing. Not many will download and open the Zip file, so this will make it easier for others to help you. Thanks!

untold root
# frosty imp Hi, please send the relevant snippet of code and an image of what you're seeing....

Sure!

  tablex(
    columns: (auto, 1fr, 1fr, 1fr, 1fr, 1fr, 1fr), // generates 6 columns instead of 5 ("timetable modded.typ")
    stroke: (
      paint: gray,
      thickness: 0.5pt,
      dash: "dashed"
    ),
    ..tablex-args,
    [], ..lang-dict.weekdays.map(day => align(center, day)),
    ..final-data,
  )```
```[general] // 2023.toml malfunction (?)
period = "Summer 2023"
person = "Max Mustermann"

[[general.times]]
start = 5.5
end = 6.5
    
[[general.times]]
start = 7
end = 8.5

[[general.times]]
start = 10
end = 12```
#
weekdays = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat"] // added Saturday
title = "Timetable"
from = "from"
to = "to"
of = "of"
alternatives = "Alternatives"
description = "Description"```