Manually set outline layout for an anthology.
Mirror of the code
#show heading: set text(weight: "regular")
#show heading: it => block(below: 2.5em, it)
#set page(
width: 5.5in,
height: 8.5in,
margin: 1in,
)
#set text(
number-width: "proportional",
number-type: "old-style",
)
#set par(
hanging-indent: 0.25in,
spacing: 0.65em,
)
= Contents
#let works = (
(title: [ultrices posuere], author: [Praesent], page: [10]),
(title: [Nunc nec eleifend nibh,\ quis ornare magna], author: [Etiam], page: [11]),
(title: [at quam eleifend], author: [porta justo], page: [12]),
(title: [semper dictum velit pretium], author: [Sed Nam], page: [13]),
(title: [eget nibh urna], author: [Quisque Fusce], page: [14]),
(title: [Curabitur nec felis lorem], author: [pretium], page: [15]),
)
#for work in works [
#work.at("title")
#box(width: 1fr, repeat(justify: false)[.])
#emph(work.at("author"))
#box(width: 8pt, repeat(justify: false)[.])
#work.at("page")
#parbreak()
]