Windows中Latex应用排版、常用引用、公式、表格等

\documentclass[journal]{IEEEtran}%引用cls文件,定义排版得内容;
\usepackage{amsmath}%宏包引用
\usepackage{amsthm}%宏包引用
\usepackage{amssymb}%宏包引用
\usepackage{graphicx}%宏包引用
\usepackage{subfig}
\usepackage{multirow}
\usepackage[ruled]{algorithm2e}
\usepackage{setspace}
\usepackage{mathrsfs}
\usepackage{color}
\renewcommand{\algorithmcfname}{ALGORITHM}

%宏包引用

一、插入公式

在线编辑公式得工具进行编辑,然后进行粘贴到latex里面:http://www.codecogs.com/latex/eqneditor.php

(1)普通公式:

\begin{equation}
C = TR \xrightarrow[transformation]{inverse} C^{-1}=T^{-1}R ^{-1}
\end{equation}

(2)插入矩阵:

\begin{equation}
 R_{x}(\beta  )=\left[ \begin{array}{cccc}
 cos\beta &0 & -sin\beta &0\\
0& 1   & 0 & 0\\
sin\beta  & 0 & cos\beta& 0\\
0 & 0 & 0& 1
\end{array}
\right ]
\end{equation}

(3)文章中插入公式

$p_{1}$($x_{1}$,$y_{1}$, 0), $p_{2}$($x_{2}$,$y_{2}$, 0), $p_{3}$($x_{3}$ ,$y_{3}$, 0)

使用$$中间写公式内容;

(4)论文中显示符号例如%,采用:\%;

二、插入单张图片

\begin{figure}[ht]
\centering
\includegraphics[width=5.7cm]{fig11.png}
\caption{ Net ***** area calculation.}
\label{fig:label}
\end{figure}
三、插入多张图片并行

\begin{figure}[htbp]
\centering
\begin{minipage}[t]{3cm}%并排放两张图片,每张占页面的0.5,下同。
\includegraphics[width=3cm]{fig10a.png}
%\caption*{a.The shooting direction is nearly parallel to the road direction}
\label{fig:label}
\end{minipage}
\begin{minipage}[t]{3cm}%并排放两张图片,每张占页面的0.5,下同。
\includegraphics[width=3cm]{fig10b.png}
%\caption*{b.The shooting direction is nearly vertical to the road direction.}
\label{fig:label}
\end{minipage}

\caption{The inclination angle and rotation angle of smartphone when taking photos.}
\end{figure}

四、一些引用

1、参考文献在论文内引用:\cite{1},或者\cite{3, 4, 5, 6, 7}

参考文献形式:

\bibitem{8}
Rana, R. K., Chou, C. T., Kanhere, S. S., Bulusu, N., & Hu, W. (2010, April). Ear-phone: an end-to-end participatory urban noise mapping system. In Proceedings of the 9th ACM/IEEE International Conference on Information Processing in Sensor Networks (pp. 105-116). ACM.

参考文献形式查询:就是利用谷歌学术,在谷歌学术搜索论文,然后选择合适得国标或者英文得格式

搜索结果:

Windows中Latex应用排版、常用引用、公式、表格等

Windows中Latex应用排版、常用引用、公式、表格等

上面有三种形式可以选择,如果有特殊要求,需要稍微做调整;

五、论文内容标识

(1)黑点标识

\begin{itemize}
\item 黑点标识得部分

\end{itemize}

(2)粗体文字

\textbf{需要粗体得文字}

(3)斜体得变量标识

\emph{需要斜体得部分}

六、如果需要重新引入cls文件得操作步骤

1、下载.sty文件/.cls文件

2、找到Ctex安装路径中存放.sty文件/.cls文件的地方
一般是在CTEX\MiKTeX\tex\latex文件夹中,每一个.sty文件/.cls文件都存放在与其同名的文件夹中。所以我们要先新建同名文件夹,然后将第一步存放的.sty文件/.cls文件置于该同名文件夹下。

3、在Ctex中更新数据包
选择miktex options,如下图所示

Windows中Latex应用排版、常用引用、公式、表格等

然后选择refresh,如下图所示

Windows中Latex应用排版、常用引用、公式、表格等