calamari.style.register_journal#

calamari.style.register_journal(spec)#

Add (or replace) a journal in the registry, with its aliases.

The extension point for a journal not shipped here: build a JournalSpec from the publisher’s author guidelines, cite them in sources, and register it; calamari.style.use(spec.name) then works like the built-ins. An alias already pointing at a different journal is refused – silently re-pointing "prl" would change the width of every figure a script makes without any visible edit.

Return type:

None