Skip to content

Proposal: allow Unicode alternatives for module delimiters #11

@ahelwer

Description

@ahelwer

Instead of:

---- MODULE Demo ----
EXTENDS Foo, Bar
---------------------
Spec == TRUE
=====================

We can allow Unicode/DOS box-drawing characters to have it resemble the generated LaTeX modules:

┌─── MODULE Demo ───┐
EXTENDS Foo, Bar
─────────────────────
Spec  TRUE
└───────────────────┘

This translation is easily performed by TLAUC, and for as-you-type translation if somebody types ---- it can be replaced with ┌──┐ and if they type ==== it can be replaced by └──┘. The user can then copy/paste these characters to get a line of the desired length, and remove the end caps if they only want an internal delimiter.

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