diff --git a/src/conf.typ b/src/conf.typ index 299035f..e369388 100644 --- a/src/conf.typ +++ b/src/conf.typ @@ -59,7 +59,7 @@ header: ( content-padding: 1.5em, underline-top-padding: 0pt, - logo-height: 3em, + logo-height: 5em, logo-image: "res/ABB.svg"), footer: ( content-padding: 1.5em), diff --git a/src/pages/titlepage.typ b/src/pages/titlepage.typ index 2177c8d..ab5ec5e 100644 --- a/src/pages/titlepage.typ +++ b/src/pages/titlepage.typ @@ -11,6 +11,25 @@ #let thesis = config.thesis + // logo of ABB and DHBW + #v(-config.style.header.content-padding) + #grid( + // set width of columns + // we need two, so make both half the page width + columns: (50%, 50%), + // left align logo of ABB + if config.style.header.logo-image == none { + // error + } else if config.style.header.logo-image.len() > 0 { + align(left, image(config.style.header.logo-image, height: config.style.header.logo-height)) + } else { + align(left, image("../res/DHBW.svg", height: config.style.header.logo-height)) + }, + // right align logo of DHBW + if config.style.header.logo-image.len() > 0 { + align(right, image("../res/DHBW.svg", height: config.style.header.logo-height)) + }) + #set align(center) // title diff --git a/src/style.typ b/src/style.typ index e5397a3..6ddd72b 100644 --- a/src/style.typ +++ b/src/style.typ @@ -294,19 +294,7 @@ let current-page = here().page() if current-page == 1 { - // logo of ABB and DHBW - grid( - // set width of columns - // we need two, so make both half the page width - columns: (50%, 50%), - // left align logo of ABB - if style.header.logo-image == none { - [] - } else if style.header.logo-image.len() > 0 { - align(left, image(style.header.logo-image, height: style.header.logo-height)) - }, - // right align logo of DHBW - align(right, image("res/DHBW.svg", height: style.header.logo-height))) + // logo moved to content } else if query() .first()