-
Notifications
You must be signed in to change notification settings - Fork 390
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
Conceal support for more math text style commands #2034
Comments
I've pushed an update that should solve at least your issue here. I did not consider |
Sorry for the latency. I certainly never used the let g:vimtex_syntax_custom_cmds = [
\ {'name': 'ones', 'mathmode': 1, 'concealchar': '𝟙'},
\] |
Ah, yes, I've only added the double struck for alphabetic characters. I could add this also for the numbers - it is a trivial change. Will do it later today. |
Double struck should work with all letters (a-zA-Z) and numbers (0-9) now. |
As mentioned after resolution of #1972 I use
\mathds
to produce (e.g.) the double-struck 1, and would like to see it concealed. Seeing as this is a fairly common use case, I would say adding it to vimtex is reasonable. @lervag agrees that concealment for some more font style commands may be added. However, which ones to add? It's beyond me to firmly judge which ones are pertinent or frivolous, but the following lists those not already in vimtex that appear at the top of this popular stackexchange answer.To be rendered in bold:
To be rendered as double-struck
To be rendered as Goth/Frak:
@lervag also mentioned that this might be activated upon availability of the corresponding package.
The text was updated successfully, but these errors were encountered: