LaTeX(IEEE-TVCG)各种使用工具及要点

math:各种符号:LaTeX 各种命令,符号

公式编辑器:https://private.codecogs.com/latex/eqneditor.php (该网址已经不能用了)使用该网页下面输出的公式直接用到LaTeX中,输出的公式在PDF会直接换行居中,但不会编号。为了有编号,可以使用如下格式:

\usepackage{amsmath}
\begin{equation}\label{1}
%\[{a}'=5\times a\]%如果只有这一行,输出没有编号
{a}'=5\times a\
\end{equation}

文中的公式符号要使用$\chi^2 (2)=11.651,p=0.003<0.05$包围

float figure:

% *** FLOAT PACKAGES ***
%
\usepackage{fixltx2e}

\begin{figure}[]   %float graphic
  \centering\includegraphics[width=0.45\textwidth]{fig6}
  \caption{The change scores of VFS in each group}\label{fig6}
\end{figure}

文中引用:

\ref{fig6}

输出为PDF时,最好将图片另存为PDF格式,我用的是Visio输出的PDF格式,但是一般输出都有边框,去掉输出的边框和四周留白。

float subfigure:

%SUBFIGURE PACKAGES ***
\ifCLASSOPTIONcompsoc
  \usepackage[caption=false,font=footnotesize,labelfont=sf,textfont=sf]{subfig}
\else
  \usepackage[caption=false,font=footnotesize]{subfig}
\fi
\begin{figure}[]   %float graphic
  \centering
  \subfloat[]{\includegraphics[totalheight=3in]{fig3(a)}}
  \label{fig3(a)}
  \subfloat[]{\includegraphics[width=0.45\textwidth]{fig3(b)}}
  \label{fig3(b)}
  \caption{Virtual room layout. (a) The location of virtual scene components (b) The virtual screen observed in HMD.}\label{fig3}
\end{figure}

在文中要引用fig 3(a)时,使用\ref方法显示会错,网上查找使用\subref还是什么的方法,显示也是不对的。最后只好在论文里手写使用3(a)。

在计算机协会的会议中,文中引用figure时要用全写的Figure 3.但是一般情况下使用Fig. 3.于是在IEEE的论文中,有代码

\figurename{ fig3)

来自动挑选如何显示

Table:

\usepackage{threeparttable}

\usepackage{booktabs}

\usepackage{multirow}

\begin{table}[!t]
\centering
\renewcommand{\arraystretch}{1.3}
\begin{threeparttable}
\caption{The Number of People Who Perceived the Screen Moving}
\label{movement screen}
\centering
\begin{tabular}{ccccc}%c表示居中,l/r分别表示居左右
\hline
&\bfseries  NM\tnote{a} &\bfseries BF\tnote{b} &\bfseries BF+LR\tnote{c} &\bfseries NM/all\\
\hline
\bfseries SP Group&19&0&1&95\%\\
\bfseries JP Group &17&3&0&85\%\\
\bfseries UP Group&19&1&0&95\%\\
\hline
\end{tabular}
\begin{tablenotes}
\item[a] no move%表下注释
\item[b] move back and force
\item[c] move left and right
\end{tablenotes}
\end{threeparttable}
\end{table}

输出为:

\begin{table}[!t]
\centering
\renewcommand{\arraystretch}{1.3}
\begin{threeparttable}
\caption{The Mean and SD of Visual Acuity Changes}
\label{VA}
\centering
\begin{tabular}{ccccccc}
\hline
& \multicolumn{2}{c}{\bfseries Left} & \multicolumn{2}{c}{\bfseries Right} & \multicolumn{2}{c}{\bfseries Double}\\
\cline{2-7}
&Mean&SD&Mean&SD&Mean&SD\\
\hline
\bfseries SP Group &$-0.061$&$0.200$&$-0.005$&$0.082$&$0.006$&$0.055$\\
\bfseries JP Group &$-0.040$&$0.140$&$-0.026$&$0.079$&$-0.015$&$0.074$\\
\bfseries UP Group&$-0.007$&$0.077$&$0.015$&$0.095$&$0.001$&$0.153$\\
\hline
\end{tabular}
\end{threeparttable}
\end{table}

复杂表格:

cite:

正文中:

% *** CITATION PACKAGES ***
%
\ifCLASSOPTIONcompsoc
  \usepackage[nocompress]{cite}
\else
  \usepackage{cite}
\fi

在.tex文件中的end document前和bbl文件的开头写上

\bibliographystyle{./IEEEtran}
\bibliography{./IEEEabrv,./IEEEexample}

在.bib文件中: 

@article{Carnegie2015Reducing,
  title={Reducing  Discomfort with .... Field.},
  author={Carnegie, .... T},
  journal={IEEE .....},
  volume={35},
  number={5},
  pages={34-41},
  year={20..},
}

@article{Stanney2003What,
  title={What to expect....x, and past experience},
  author={Stanney, ... R. S.},
  journal={Human ..},
  volume={45},
  number={3},
  pages={504},
  year={20..},
}

正文中引用:

\cite{Carnegie2015Reducing,Stanney2003What}

bbl文件中,journal,web,conference的引文写法稍有不同,一般可以使用百度学术生成的biblatex版本的引文格式。还需要拷贝几个文件。可见使用LaTeX按IEEE模板写论文时的参考文献管理方法(BibTeX使用小结) - zhaoyang10 - 博客园

引文每次修改都需要重新编译,编译顺序是XeLaTex,BibTeX,XeLaTex, XeLaTex.然后输出PDFLaTeX即可。

图片在插入后,编译XeLaTex,BibTeX就会报错,无法成功编译,因此只能先输入完成正文,再插入图片。

段落:

\hyphenation{op-tical net-works semi-conduc-tor}%自动换行的连字符

使用双回车来换段落

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值