note/tech/markdown如何使用角标.md
2025-11-19 10:16:05 +08:00

16 lines
412 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

markdown如何使用角标呢上角标下角标。
# 非正规表示法
网上更多的表示方法:
C<sub>2</sub>H<sub>5</sub>OH
引用鲁迅<sup>1</sup>的话
注册商标<sup>TM</sup>
# 正规表示法
C$_{2}$H$_{5}$OH
引用鲁迅$^{1}$的话
注册商标$^{TM}$
花括号中可以放所有需要的上下标的内容
“_” 下划线表示下角标,“^”表示上角标
用${}$框住就ok。