mathlive icon indicating copy to clipboard operation
mathlive copied to clipboard

Typing single pipe vs typing double pipe

Open truebluepl opened this issue 1 year ago • 2 comments

Actual Behavior

Typing single pipe generates Latex value: \left|\right| Which is visually and syntactically different from: || - this one can be generated when second pipe sign is typed.

Expected Behavior

Typing single pipe should generate Latex: ||

truebluepl avatar Jun 18 '24 09:06 truebluepl

To clarify: the issue is that there is a \left...\right command?

Can you explain why not having the \left...\right command is preferable?

Also, you pressing option+| will produce a | without \left...\right

arnog avatar Jun 18 '24 13:06 arnog

To clarify: the issue is that there is a \left...\right command?

Yes.

Can you explain why not having the \left...\right command is preferable?

There are two reasons:

  • I can't compare Latex values and check syntax equality,
  • they are different visually.

truebluepl avatar Jun 19 '24 07:06 truebluepl