Skip to content

escaped curly brackets not correctly highlighted #178

@rammmiro

Description

@rammmiro

Steps to reproduce & Minimum working example

Crate a .tex file with the following line:

$a \in \{0,1\}^n$

Expected behaviour

Both escaped curly brackets should be highlighted.

Actual behaviour

example1

Additional information

They require additional spacing to be properly highlighted.

$a \in \{ 0,1\} ^n$

example2

I think this is not the expected behavior, particularly the space between the second bracket and the exponent seems weird to me.

Maybe I am confused and no highlighting should appear, but then it will be inconsistent, as a minus sing forces the highlighting:

$a \in \{-1,1\}^n$

example3

I hope I am not doing anything wrong and this issue to be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions