Skip to content

Sentencecase not capitalising after full stop #39

@eltos

Description

@eltos

I originally thought it was the same as #36, but it's not. So this issue is to request capitalising the first word after punctuation ending a sentence. For English this would be ., ! and ?. For : and ; it is not generally possible to decide that, here the feature request #40 would be very helpful.

Typst example:

Image

Desired outcome:

This is the first sentence. And here the second.
The third on a new line. The fourth and last.

#import "@preview/decasify:0.9.0": sentencecase, titlecase

#set page(margin: 1em, width: auto, height: auto)
#set text(lang: "en")

#sentencecase[
  this is the first sentence.
  and here the second.

  the third on a new line. the fourth and last.
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions