tud-cd / tudscr

TUD-Script
Other
105 stars 22 forks source link

Unrecognized command \RedeclareSectionCommand #79

Closed sebk26 closed 2 years ago

sebk26 commented 2 years ago

What I want to do: Reduce space above chapter title What works with scrbook and scrreprt and not with tudscrbook and tudscrreprt:

\RedeclareSectionCommand[
afterindent=false,
beforeskip=0pt,
afterskip=2\baselineskip]{chapter}

I read that the above command works for KOMA 3.17a and greater.

Is there a dependency to an older KOMA version or do I need to load some additional packages?

sebk26 commented 2 years ago

Updated texlive 2021 to texlive 2022 and now stuck at error reported in #78 Will update this issue after Hotfix.

mrpiggi commented 2 years ago

As the intention of this bundle is to provide an uniform layout, there is no purpose to provide a versatile interface for customization. Nevertheless, have a look at options headingsvskip and maybe pageheadingsvskip

sebk26 commented 2 years ago

Thank's @mrpiggi ,

i will go with

\TUDoptions{headingsvskip=-100pt}
\TUDoptions{pageheadingsvskip=30pt}

for now. Apparently headingsvskip affects titlepage and chapterpage and i need pageheadingsvskip to correct the titlepage as I only want the chapter to move further to the pagetop.

I'm happy for other suggestions as this feels like it's not intentional.

mrpiggi commented 2 years ago

Setting headingsvskip effects pageheadingsvskip as well if the latter is unset. So pageheadingsvskip=0pt should let title, parts and chapterpages in the same place as the default settings.