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

Could you add the bracket symbols: ⟨ and ⟩? #763

Closed
Photonico opened this issue May 18, 2019 · 7 comments
Closed

Could you add the bracket symbols: ⟨ and ⟩? #763

Photonico opened this issue May 18, 2019 · 7 comments
Labels
Milestone

Comments

@Photonico
Copy link

I have two requests.

One is that ⟨ and ⟩ are frequently used in Quantum Mechanics.
I hope that you can support it.

And, could you release another vision that Symbol: 0 with dot symbol: · , not /?

Sincerely,
Lu

@tonsky
Copy link
Owner

tonsky commented May 20, 2019

I’ll add ⟨ and ⟩.

could you release another vision that Symbol: 0 with dot symbol: · , not /?

Fira Code does not support customization at the moment, and I don’t want to maintain multiple versions. But if you are using web-based editor (Atom, VS Code) dotted zero can be enabled via CSS font-feature-settings: 'zero' 1;

@j-f1
Copy link
Contributor

j-f1 commented May 20, 2019

Similarly, some other programs will allow you to set OpenType features, and enabling the “slashed zero” option will (counter-intuitively) enable the dotted zero.

@tonsky tonsky closed this as completed in 4db4baf May 21, 2019
@Photonico
Copy link
Author

I’ll add ⟨ and ⟩.

could you release another vision that Symbol: 0 with dot symbol: · , not /?

Fira Code does not support customization at the moment, and I don’t want to maintain multiple versions. But if you are using web-based editor (Atom, VS Code) dotted zero can be enabled via CSS font-feature-settings: 'zero' 1;

Thank you very very much for your support on "⟨" and "⟩".
But I don't know how to change slashed zero to dotted zero in VS Code.
I only focus on computational physics with Python and Julia. I have no experience with CSS.

@j-f1
Copy link
Contributor

j-f1 commented May 23, 2019

Unfortunately it looks like VS Code doesn’t support custom CSS to change this at the moment.

There’s an extension that looks like it would do the trick, but it seems like it might be a little difficult to install. If you end up using that, you’ll need to create a CSS file with the following content and enable it by adding "vscode_custom_css.imports": ["the full path to the CSS file"], to your settings.json.

/* Enable Fira Code dotted zero */
.monaco-editor {
  font-feature-settings: "zero";
}

@tonsky
Copy link
Owner

tonsky commented May 23, 2019 via email

@Photonico
Copy link
Author

Photonico commented May 25, 2019

Unfortunately it looks like VS Code doesn’t support custom CSS to change this at the moment.

There’s an extension that looks like it would do the trick, but it seems like it might be a little difficult to install. If you end up using that, you’ll need to create a CSS file with the following content and enable it by adding "vscode_custom_css.imports": ["_the full path to the CSS file_"], to your settings.json.

/* Enable Fira Code dotted zero */
.monaco-editor {
  font-feature-settings: "zero";
}

Thanks a lot for your response. I think it is not convenient for me. I have to give up to change slashed zero. But I sincerely hope that you can release the version with dotted zero.

@Photonico
Copy link
Author

Photonico commented Jun 12, 2019

Could you add "‖"?
‖A‖ means the norm of Matrix A in Linear Algebra.

@tonsky tonsky added Unicode and removed suggestion labels Aug 15, 2019
@tonsky tonsky added this to the 1.208 milestone Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants