Skip to content

Removing class defaults to allow their setting by user #38

@romangrothausmann

Description

@romangrothausmann

After a distro update (including texlive, biber, biblatex) my proposal would not compile any more. It seems that the newer versions do not allow to overwrite defaults set for usepackages in the class, e.g. I used to set

\PassOptionsToPackage{
  backend= biber, % overwriting backend works
  style= numeric, % overwriting style does not work, although it should?
}{biblatex}
\documentclass[11pt,numericcites,gitinfo,noworkareas,RAM\classoptions]{proposal}

without the need to remove backend=bibtex, in base/proposal.sty. The new biblatex now did not complain about my \PassOptionsToPackage but did not use my overwrite either.

Similar for setting the font size. Only after removing the scaled option in the STY I was able to change it with

\PassOptionsToPackage{scaled=1.00375% relative to 11pt of documentclass option! % <=> 11 pt  postscript points: https://tex.stackexchange.com/questions/167402/how-to-set-font-size-at-exactly-11-pt#167404
}{helvet}

Also changing the TOC depth and removing the auto section "list of attachments" needed modifications to the corresponding STYs.

It would be great if these could be overwritten (or demanded to be set) by the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions