unicode-math: how to use laas-unicode; smart-frac; and smart subscripts #40

Open
opened 2022-11-15 16:21:48 +00:00 by Sinthoras7 · 2 comments
Sinthoras7 commented 2022-11-15 16:21:48 +00:00 (Migrated from github.com)

Hey,

how can I use the laas-unicode file? I did not manage to use it. The simple use-package does not work, which makes sense, since laas-unicode is not provided as a package on elpa.

Also, I think it would be great, if the smart-frac also expands, when there is a unicode-greek-letter and then the /.
The same is also true for the smart subscripts. I think it would be the best to have a variable, where the user can add symbols to the list of symbols, for which the smart-frac and the subscripts work.

I would implement those 2 things myself, as I think this only needs a few lines of code in the right conditions (I think laas-object-on-left-condition and laas-auto-script-condition) plus the definition of the list, but I know too few emacs-lisp to achieve it. Because of this I would be grateful, if someone implements these features and I think many more users can and will benefit from them.

Lastly, I want to thank you for this great package!

Hey, how can I use the laas-unicode file? I did not manage to use it. The simple use-package does not work, which makes sense, since laas-unicode is not provided as a package on elpa. Also, I think it would be great, if the smart-frac also expands, when there is a unicode-greek-letter and then the `/`. The same is also true for the smart subscripts. I think it would be the best to have a variable, where the user can add symbols to the list of symbols, for which the smart-frac and the subscripts work. I would implement those 2 things myself, as I think this only needs a few lines of code in the right conditions (I think `laas-object-on-left-condition` and `laas-auto-script-condition`) plus the definition of the list, but I know too few emacs-lisp to achieve it. Because of this I would be grateful, if someone implements these features and I think many more users can and will benefit from them. Lastly, I want to thank you for this great package!
ymarco commented 2022-11-17 13:20:39 +00:00 (Migrated from github.com)

Sinthoras @.***> writes:

Hey,

how can I use the laas-unicode file? I did not manage to use it. The simple use-package does not work, which makes sense, since laas-unicode is
not provided as a package on elpa.

Set laas-use-unicode to t.

Also, I think it would be great, if the smart-frac also expands, when there is a unicode-greek-letter and then the /.
The same is also true for the smart subscripts. I think it would be the best to have a variable, where the user can add symbols to the list of
symbols, for which the smart-frac and the subscripts work.

I'll accept a PR. Would be best if non-unicode greek letter worked too to be consistent.

I would implement those 2 things myself, as I think this only needs a few lines of code in the right conditions (I think
laas-object-on-left-condition and laas-auto-script-condition) plus the definition of the list, but I know too few emacs-lisp to achieve it.
Because of this I would be grateful, if someone implements these features and I think many more users can and will benefit from them.

Sinthoras ***@***.***> writes: > Hey, > > how can I use the laas-unicode file? I did not manage to use it. The simple use-package does not work, which makes sense, since laas-unicode is > not provided as a package on elpa. Set laas-use-unicode to t. > Also, I think it would be great, if the smart-frac also expands, when there is a unicode-greek-letter and then the /. > The same is also true for the smart subscripts. I think it would be the best to have a variable, where the user can add symbols to the list of > symbols, for which the smart-frac and the subscripts work. I'll accept a PR. Would be best if non-unicode greek letter worked too to be consistent. > I would implement those 2 things myself, as I think this only needs a few lines of code in the right conditions (I think > laas-object-on-left-condition and laas-auto-script-condition) plus the definition of the list, but I know too few emacs-lisp to achieve it. > Because of this I would be grateful, if someone implements these features and I think many more users can and will benefit from them.
Sinthoras7 commented 2022-11-17 21:37:14 +00:00 (Migrated from github.com)

Ah, thank you!

I'll try to implement it and probably fail. Dear reader of the issue, if you have the knowledge and time/motivation to implement it, please file a pull-request :)

Ah, thank you! I'll try to implement it and probably fail. Dear reader of the issue, if you have the knowledge and time/motivation to implement it, please file a pull-request :)
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#40
No description provided.