本博文源于latex基础学习,今天学习特殊字符的输入。
H e l l o W o r l d ! Hello World! HelloWorld!
特殊字符输入
# $ % & { } _ \# \$ \% \& \{ \} \_ #$%&{ }_
^的输入
KaTeX parse error: Can't use function '\^' in math mode at position 1: \̲^̲{}
\^{
}
我用latex编辑器可以正常编译,结果在csdn里error,烦死
latex脚本练习源码
\documentclass[a4paper]{
article}
\usepackage{
hyperref}
\begin{
document}
\#
\$
\%
\&
\{
\}
\_
\^{
} %^输入
\--{
} %-
\textless %<
\textgreater %>
\textbar %|
\textbackslash %\
\newline %强制换行在下一行继续,且在下一行不会有缩进
\par\^{
}
\end{
document}