Skip to content

Citing multiple superscripted references breaks formatting #5852

Closed

Description

@filvuk

Description

Citing more than three references as a superscripted number in text breaks formatting for the fourth reference. See attached image.
Tested this for styles american-chemical-society, american-institute-of-physics and american-medical-association.

Image

Reproduction URL

No response

Operating system

Web app

Typst version

  • I am using the latest version of Typst

Activity

  1. added
    bug
    on Feb 11, 2025
  2. MDLC01 commented on Feb 11, 2025

    @MDLC01
    Collaborator

    Are you sure this isn't just due to the font not supporting ⁵?

  3. filvuk commented on Feb 11, 2025

    @filvuk
    Author

    @MDLC01 You are right, didn't even think about it. Atkinson Hyperlegible only supports superscripted numbers from 1 to 4, it has nothing to do with multiple reference citations. Thanks for the tip

  4. MDLC01 commented on Feb 11, 2025

    @MDLC01
    Collaborator

    The fix in this case would be to disable typographic superscripts with

    #set super(typographic: false)

    You can also similarly disable typographic subscripts if necessary:

    #set sub(typographic: false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions