Latex使用小心得
采用Latex 的在线版 www.cn.overleaf.com进行论文写作
公式的使用
句间插入 使用$$
行间插入自动编号
\begin{equation}
\end{equation}
latex代码使用mathtype进行转换复制即可
图片的插入
\usepackage{graphicx}
\usepackage{float}
\usepackage{subfigure}
首先导入宏包
段间插入单张图片
\begin{figure}[H]
\centering
\includegraphics[height=5.0cm,width=10cm]{000.jpg}
\caption{tupianmingcheng}
\end{figure}
并排插入两张图片 两个名称 fig1 fig2
\begin{figure}[H]
\centering
\begin{minipage}[t]{0.48\textwidth}%调节数值可以改变两图之间的距离
\centering
\includegraphics[height=4.5cm,width=7.5cm]{0001.jpg}
\caption{mingcheng1 }
\end{minipage}
\begin{minipage}[t]{0.48\textwidth}
\centering
\includegraphics[height=4.5cm,width=7.5cm]{0002.jpg}
\caption{mingcheng2}
\end{minipage}
\end{figure}
表格的制作
三线表的用法
\usepackage{booktabs}
\usepackage{multirow}
首先导入宏包
\begin{table}[H]
\centering
\caption{mingcheng}
\resizebox{\textwidth}{12mm}{
\begin{tabular}{ccccccc} //文字的位置(lcr)
\toprule
a&b&c
\midrule
a&b&c
a&b&c
a&b&c
\bottomrule
\end{tabular}}%
\label{tab:addlabel}%
\end{table}%

浙公网安备 33010602011771号