Lightning symbol
See original GitHub issueHello,
people tend to use the lightning symbol ↯ (LaTex: \unicode{x21af}) for contradictions. I switched over from Mathjax, where the latter was possible. Here in KaTeX I tried to use \text{↯}, which works fine but I get the following warning on the console:
katex.min.js:1 LaTeX-incompatible input and strict mode is set to 'warn': Unrecognized Unicode character "↯" (8623) [unknownSymbol]
No character metrics for '↯' in style 'Main-Regular'
Is there something we can do about it?
Thanks Robert
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top Results From Across the Web
The Lightning Bolt: A History of the Iconic Symbol
For most of its history as a graphic symbol, the bolt has represented power and electricity for bands, brands, and comic book heroes...
Read more >Lightning Bolt Symbol (🗲) - Copy and Paste Text Symbols
⌨️ Lightning Bolt Symbol Alt Codes ... Press the key or keys on the numpad while holding ALT. ALT Code, Symbol. ALT +...
Read more >Thunderbolt
A thunderbolt or lightning bolt is a symbolic representation of lightning when accompanied by a loud thunderclap. In Indo-European mythology, ...
Read more >“⚡︎” meaning: high voltage, lightning bolt Emoji
This is a tooth-shaped yellow lightning, which represents high voltage, thunder and lightning, electricity or flash, and can also be extended to mean...
Read more >Lightning Bolt Symbol Vector Images (over 27000)
The best selection of Royalty Free Lightning Bolt Symbol Vector Art, Graphics and Stock Illustrations. Download 27000+ Royalty Free Lightning Bolt Symbol ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The warning means that the symbol is not in the KaTeX font, so it is falling back to your document font (I believe), which can look inconsistent. KaTeX also doesn’t know the size of the character, which can lead to incorrect vertical spacing in particular. If neither of these are issues, you can ignore the warnings, or remove them via the
strictsetting.@kevinbarabash I embed KaTex into my site where I use a Google Font. But I think that does not matter. The important thing is that unicode is used on the site. I tested KaTex with html entities which fails with a parse error. But using
\textsimply addsto the DOM - which is all fine. I also have no problem using
\textor add a macro for\lightning. My concerns are regarding the warnings. Are they save to ignore or it just luck that it works with the tex snippet I parsed?