admin管理员组文章数量:1404923
According to this source, we have a neat way to show parallel, not parallel and perpendicular symbols. What I'm looking for though, would be crossed perpendicular symbol, or 'not perpendicular' symbol. I know it's very rare, but usage can be easily justified from math point of view, hence my question.
But it seems like it's not within Unicode character list.
How can I add the symbol and render it with HTML and JavaScript.
According to this source, we have a neat way to show parallel, not parallel and perpendicular symbols. What I'm looking for though, would be crossed perpendicular symbol, or 'not perpendicular' symbol. I know it's very rare, but usage can be easily justified from math point of view, hence my question.
But it seems like it's not within Unicode character list.
How can I add the symbol and render it with HTML and JavaScript.
Share Improve this question asked Aug 28, 2014 at 0:50 KarolKarol 8,07312 gold badges51 silver badges68 bronze badges 7- 4 not a programming question. – Mitch Wheat Commented Aug 28, 2014 at 0:52
- Are you familiar with Tex? If so, you could try some tools to convert Tex to HTML. – wookie919 Commented Aug 28, 2014 at 2:28
- 1 How about U+27C2 (PERPENDICULAR) followed by U+0338 (COMBINING LONG SOLIDUS OVERLAY): ⟂̸ Or U+0337 (COMBINING SHORT SOLIDUS OVERLAY): ⟂̷ – Biffen Commented Aug 28, 2014 at 6:43
- How is drawing something using Javascript not a programming question?! – MSalters Commented Aug 28, 2014 at 8:04
- @Biffen: Do you want to make that an answer? The Arial on my OS X does a poor job of displaying your bined glyphs, but with other fonts this works nicely, and it's exactly what I myself would have suggested. – MvG Commented Aug 28, 2014 at 8:57
1 Answer
Reset to default 7(Turning my ment into an answer.)
You can use Unicode's bining characters, e.g:
U+27C2 (PERPENDICULAR) followed by either
U+0338 (COMBINING LONG SOLIDUS OVERLAY):
⟂̸
or U+0337 (COMBINING SHORT SOLIDUS OVERLAY):
⟂̷
Or some other character that you find fitting.
Naturally this will only work with supportive fonts and proper renderers (i.e. browsers in this case), but then again font limitations can always cause problems, with or without bining characters.
本文标签: javascriptUnicode 39not perpendicular39 symbolStack Overflow
版权声明:本文标题:javascript - Unicode 'not perpendicular' symbol - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744874625a2629841.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论