krono / swathesis

An unofficial LaTeX class for writing theses at the Software Architecture Group, Hasso-Plattner-Institut, University of Potsdam, Germany.
LaTeX Project Public License v1.3c
21 stars 18 forks source link

\chapter{...} and "birds-eye view" #33

Open marceltaeumel opened 8 years ago

marceltaeumel commented 8 years ago

Is it possible to ignore the clear-page command for \chapter if we are in birds-eye mode?

krono commented 8 years ago

No, not easily.

marceltaeumel commented 8 years ago

Can I redefine "chapter" manually?

krono commented 8 years ago

You can try this:

\makeatletter
\renewcommand*{\scr@startchapter}[1]{%
   \@afterindentfalse
  \expandafter\SecDef\csname @#1\expandafter\endcsname\csname @s#1\endcsname
}
\makeatother
marceltaeumel commented 8 years ago

I got this but my koma-script version was too old: LaTeX Error: \scr@startchapter undefined.

Then I updated it and now I am getting a bunch of LaTeX Error: Float(s) lost. One for each \chapter command.

marceltaeumel commented 8 years ago

Here is a simple workaround by declaring chapters to look like sections:

\RedeclareSectionCommand[
  style=section,
  indent=0pt
]{chapter}