Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ligatures /\ and \/ for Coq #738

Closed
debilausaure opened this issue Apr 4, 2019 · 3 comments
Closed

Ligatures /\ and \/ for Coq #738

debilausaure opened this issue Apr 4, 2019 · 3 comments
Milestone

Comments

@debilausaure
Copy link

debilausaure commented Apr 4, 2019

I'm using Coq on a daily basis.
Ligatures (such as =>, ->, <->, =?, :=, !=, etc.) are really helping, they make a huge difference in proof readability.

I wish there were ligatures for 'logical and' symbol (u+2227, written /\ in Coq) and 'logical or' symbol (u+2228, written \/ in Coq). Is that something you've considered to add ?

Nevertheless, I can see cases where you would want to write /\ or \/ without triggering the ligatures though, so they could be deactivated by default, so one would have to rebuild the font to use them? Or could it be done through specific rules such as requiring spaces around the symbols ?

Once again, thank you.

@debilausaure
Copy link
Author

(Also, I'm not sure if you're aware, but CoqIDE seem to display ligatures just fine without any additional configurations).

@tonsky
Copy link
Owner

tonsky commented Apr 4, 2019

I used to have those but they indeed conflicted with regexps in particular. We could require whitespaces around, that should solve most of the issues I believe. Would that work? What other characters might surroud those? E.g. brackets, parens, newline etc?

@debilausaure
Copy link
Author

debilausaure commented Apr 5, 2019

Yes absolutely !
I'm quite sure brackets are not meant to be directly around, but parenthesis or newlines might indeed surround them.

@tonsky tonsky added this to the 1.208 milestone Aug 27, 2019
@tonsky tonsky changed the title Glyph request - Coq related ligatures Ligatures /\ and \/ for Coq Aug 27, 2019
tonsky added a commit that referenced this issue Sep 2, 2019
@tonsky tonsky closed this as completed in 375a449 Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants