Compare commits

..

No commits in common. "4e01b2f85c3915617323f711a00cf627918f1c75" and "edda30e460958fda10924de7ef4e7a02067d9e36" have entirely different histories.

2 changed files with 1 additions and 24 deletions

View File

@ -15,8 +15,8 @@
// set PDF meta information // set PDF meta information
#set document( #set document(
title: prelude.info.titel,
author: prelude.info.autor, author: prelude.info.autor,
date: datetime.today(),
keywords: prelude.info.stichwörter keywords: prelude.info.stichwörter
) )

View File

@ -1,31 +1,8 @@
#import "../prelude.typ" as prelude
// ------------------------------------------ // ------------------------------------------
// Appendix setup // Appendix setup
// ------------------------------------------ // ------------------------------------------
// function for filtering out all heading which are not of level 1
#let filter_heading(heading) = {
heading.level == 1
}
#set page(
binding: left,
header-ascent: 2em,
header: locate(loc => {
let current_heading = query(selector(heading).after(here())).filter(filter_heading).first()
table(columns: (1fr, auto),
align: (left, right),
stroke: none,
inset: (top: 0pt, bottom: 0.5em, left: 0pt, right: 0pt),
text(size: prelude.to_pt(prelude.format.font-size))[#current_heading.body],
text(size: prelude.to_pt(prelude.format.font-size), counter(page).display("1")),
table.hline()
)
}),
footer: ""
)
#set heading(numbering: none) #set heading(numbering: none)
= Appendix = Appendix