added: glossary
This commit is contained in:
parent
26f947a0d3
commit
5ec79a536d
|
@ -17,7 +17,11 @@
|
|||
|
||||
#lorem(15)
|
||||
|
||||
$ integral_2^8 4x^2 $
|
||||
$
|
||||
angle.l a, b angle.r &= arrow(a) dot arrow(b) \
|
||||
&= a_1 b_1 + a_2 b_2 + ... a_n b_n \
|
||||
&= sum_(i=1)^n a_i b_i.
|
||||
$
|
||||
|
||||
#figure(image("digitaldog.jpg", height: 480pt), caption: [ Some image caption ])
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
#let new-glossar(glossary) = {
|
||||
import "@preview/glossarium:0.4.1": make-glossary, print-glossary, gls, glspl
|
||||
show: make-glossary
|
||||
|
||||
print-glossary(glossary)
|
||||
}
|
|
@ -66,6 +66,11 @@
|
|||
]
|
||||
|
||||
#let content_styled(body: content, thesis) = [
|
||||
// setup equate for sub equation labeling
|
||||
#import "@preview/equate:0.2.0": equate
|
||||
#show: equate.with(breakable: true, sub-numbering: true)
|
||||
#set math.equation(numbering: "(1.1)")
|
||||
|
||||
#set heading(numbering: "1.")
|
||||
#page(
|
||||
header-ascent: HeaderUnderlinePaddingTop + HeaderPaddingBottom,
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#import "pages/prerelease-note.typ": new_prerelease_note
|
||||
#import "pages/outline.typ": new_outline
|
||||
#import "pages/abstract.typ": new_abstract
|
||||
#import "pages/glossar.typ": new-glossar
|
||||
|
||||
#set text(lang: "de", region: "de")
|
||||
|
||||
|
@ -46,6 +47,8 @@
|
|||
abstract: "",
|
||||
)
|
||||
|
||||
#let glossary = ()
|
||||
|
||||
// preppend title page
|
||||
#new_title_page(thesis, author)
|
||||
|
||||
|
@ -64,13 +67,14 @@
|
|||
|
||||
#pagebreak(weak: true)
|
||||
#new_abstract(thesis)
|
||||
|
||||
#pagebreak(weak: true)
|
||||
#new-glossar(glossary)
|
||||
])
|
||||
|
||||
#content_styled(thesis, body: [
|
||||
// code of document follows here
|
||||
#doc
|
||||
])
|
||||
|
||||
|
||||
])
|
||||
]
|
Loading…
Reference in New Issue