LaTeX符号和图片
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}
\documentclass{ctexart}
\usepackage{graphicx}
\graphicspath{{figures/}, {pics/}} % 图片在当前目录下的figures下
% 导言区: \usepackage{graphicx}
% 语法: \includegraphics[<选项>]{(文件名)}
% 格式: JPG, BMP, PDF等
\begin{document}
\LaTeX{}中的插图
\includegraphics[scale=0.3]{me.jpg}
\includegraphics[scale=0.3]{dog} \includegraphics[height=3cm]{dog}
\end{document}