Skip to content

AMS: headings of subsections are not run-in #67

@adrieng

Description

@adrieng

The LaTeX amsart document class displays section headings at depth >= 2 as run-in. As far as I understand, the unequivocal-ams template tries to reproduce this behavior.

However, this does not seem to work, either locally with typst 0.13 or using the web application. For example, the document

#import "@preview/unequivocal-ams:0.1.2": ams-article, theorem, proof
#show: ams-article
= Introduction
#lorem(45)
== Motivation
#lorem(45)
=== Details
#lorem(45)

gets rendered to the following.

Image

(This behavior might or might not be related to the fact that the code given in the tutorial to get run-in headings only works if there is no blank line after the heading (see typst/typst#5961). Anyway, as the above example demonstrates not having a blank line not enough for unequivocal-ams.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions