LaTeX符号

\documentclass{article}

\usepackage{ctex}   %中文处理

\begin{document}
    \section{空白符号}
    Are you wiser     than others ?
    
    a\quad b  %len(当前字体中M的宽度)
    
    % 2em
    a \qquad b
    
    % 约为1/6个em
    a\,b a\thinlines b
    
    % 0.5个em
    a\enspace b
    
    % 空格
    a\ b
    
    % 硬空格
    a~b
    
    % 指定宽度的空白 1pc=12pt=4.218mm
    a\kern 2pc b
    
    a\kern -1em b
    
    a\hspace{35pt}b
    
    \section{\LaTeX 控制符}
    \# \$ \% \textbackslash
    
    \section{排版符号}
    \S --- \P ---  \dag ----  \ddag ---- \copyright --- \pounds
    
    \section{控制符号}
    \section{\TeX 标志符号}
    \section{引号}
    `chhhh' 。。。。  ``双引号 ''
    
    \section{连字符}
    \section{非英文字符}
    \section{重音符号}
    
\end{document}

猜你喜欢

转载自www.cnblogs.com/douzujun/p/10192684.html
今日推荐