After typing underscore or hat after greek letters, space should be removed. #17

Open
opened 2021-06-26 07:53:01 +00:00 by K-gihu · 5 comments
K-gihu commented 2021-06-26 07:53:01 +00:00 (Migrated from github.com)

Expected Behaviour

Type ;a_i to get \alpha_i, or type ;a^i to get \alpha^i

Actual Behaviour

Got \alpha _i and \alpha ^i

# Expected Behaviour Type `;a_i` to get `\alpha_i`, or type `;a^i` to get `\alpha^i` # Actual Behaviour Got `\alpha _i` and `\alpha ^i`
ymarco commented 2021-06-26 14:18:44 +00:00 (Migrated from github.com)

I don't like the auto space, I disable it myself (by setting laas-enable-auto-space to nil).

Reformatting the space for all cases would mean at least making all of ^, _, , (comma), and ' snippets, which is a bit too much I think.

I'd by happy to hear @tecosaur's take on this.

I don't like the auto space, I disable it myself (by setting laas-enable-auto-space to nil). Reformatting the space for all cases would mean at least making all of ^, _, , (comma), and ' snippets, which is a bit too much I think. I'd by happy to hear @tecosaur's take on this.
tecosaur commented 2021-06-26 18:24:55 +00:00 (Migrated from github.com)

Short version: I like auto space, but I think it would benefit from being a bit cleverer.

Short version: I like auto space, but I think it would benefit from being a bit cleverer.
ymarco commented 2021-07-27 07:09:41 +00:00 (Migrated from github.com)

(Accidentally closed)

(Accidentally closed)
ymarco commented 2021-12-08 16:12:38 +00:00 (Migrated from github.com)

I'm thinking of adding an optional :class or :info key in aas to mark snippets, so we could mark greek letters as 'dont-want-space' or something. Would this be enough?

I'm thinking of adding an optional `:class` or `:info` key in `aas` to mark snippets, so we could mark greek letters as 'dont-want-space' or something. Would this be enough?
fab6 commented 2022-06-08 18:08:28 +00:00 (Migrated from github.com)

Hi, I am new year in this issue... your last suggestion sounds for me great!

Hi, I am new year in this issue... your last suggestion sounds for me great!
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tec/LaTeX-auto-activating-snippets#17
No description provided.