Skip to content

Commit

Permalink
Fix section referencing
Browse files Browse the repository at this point in the history
  • Loading branch information
francescoo22 committed Sep 10, 2024
1 parent ed9d325 commit 8328b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/thesis-config.typ
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
show par: set block(spacing: 0.55em)
show heading: set block(above: 1.4em, below: 1em)

show heading.where(level: 2): set heading(supplement: [Section])
show heading.where(level: 3): set heading(supplement: [Subsection])

show heading.where(level: 1): it => {
stack(
Expand Down
2 changes: 1 addition & 1 deletion structure.typ
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// Mainmatter

#counter(page).update(1)
#set heading(numbering: "1.1", supplement: "Chapter")
#set heading(numbering: "1.1", supplement: [Chapter])

#include "./chapters/1-Introduction.typ"
#include "./chapters/2-Background.typ"
Expand Down

0 comments on commit 8328b7a

Please sign in to comment.