KOMA-Script and Friends

Information about the KOMA-Script LaTeX collection, related packages and the KOMA-Script author.

The LaTeX Package “scrhack”

Package scrhack is a KOMA-Script spin-off and was part of that collection up to version 3.41 of scrhack resp. KOMA-Script. It has been removed from KOMA-Script because it is deprecated and available only for compatibility reasons.

Originally scrhack has been made not only to improve the compatibility of third-party packages with KOMA-Script classes, but also to generally improve third-party packages. The package consisted not only in the package file scrhack.sty but also in several so called hacks as separate files with extension .hak. In the course of splitting off former KOMA-Script packages from the KOMA-Script collection, it was decided to create independent packages from the individual hacks. These new independent packages then serve as replacements for the original packages they were intended to improve. In addition, to preserve the functionality of loading the enhancements only when the corresponding original package is loaded, a new scrhack was created to do just that. The new scrhack now requires the packages floatbytocbasic, floatrowbytocbasic, lscapeenhanced, setspaceenhanced, standardsectioning. For new documents, it is recommended to load only those of the listed packages that are actually used, rather than scrhack.

The package is part of the “Third Party Enhancements” hosted on GitHub. Further information can be found in the CTAN catalog entry.

Last updated on 24 Apr 2026
Published on 24 Apr 2026