以下我将总结一些我在写论文的过程中遇到的一些小问题:

1. 在写时间复杂度或者定义数据集时,都要用到花体的O(),形如:

$\mathcal{O}(NQ)$ and $\mathcal{O}(N^{2}D)$

2.斜体字体:

we use the $\emph{HyperCubes}$ strategy

3.加粗字体:

\textbf{6.3396}

4.字母的向量表示,论文中经常会同时出现向量与单个变量,而大家往往会忽略,论文中必须使用将两者区分开来:

${\rm x}_i=(x_{i1},...,x_{id},...,x_{iD})$

5.居中:常常要将图片或者表格等居中,而使用\centering命令会发现经常不好使,发现\centerline{}命令更好用,在其中包含图片或表格的定义:

\begin{figure}[H]\centerline{\includegraphics[width=7in,height=3.00in]{1.png}}\caption{}
\end{figure}
\begin{table}\centerline{\begin{tabular}{c|ccccccccc}\topruleComparing & \multicolumn{8}{c}{ \emph{Hamming Loss}} & \multirow{2}{*}{Average}\\\cline{2-9}Algorithm & emotions & yeast & mediamill & scene & enron & genebase & medical & bibtex \\\hlineA & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\B & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\C & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\D & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\E & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\F & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\hdashline[1pt/2pt]\bottomrule\end{tabular}}
\end{table}

表格中,\toprule表示表格中最上方加粗的线,\bottomrule表示表格中最下方加粗的线,\hdashline为虚线,可以调节它的比例

6.公式自动标号:

\begin{equation}\begin{aligned}a+b\end{aligned}
\end{equation}

7、当公式在文字段落中超出文章界限,放不下时,可以使用\right.   \left. :

Latex写论文过程中遇到的常见问题Latex写论文过程中遇到的常见问题Latex写论文过程中遇到的常见问题$ a= \left{ b+c \right. \\

\left. +d+e  \right}$

这样就可以避免一行中放不下完整公式的问题。

7.画一个2*3的图:

(1)

\begin{figure}[H]\ffigbox{\begin{subfloatrow}[3]\capsidebox{\includegraphics[width=3cm]{irr_1.png}}{\caption{}}\capsidebox{\includegraphics[width=3cm]{irr_2.png}}{\caption{}}\capsidebox{\includegraphics[width=3cm]{irr_3.png}}{\caption{}}\end{subfloatrow}\par\nointerlineskip\vspace{5mm}%% 上下行的距离为 5mm\begin{subfloatrow}[3]\capsidebox{\includegraphics[width=3cm]{irr_4.png}}{\caption{}}\capsidebox{\includegraphics[width=3cm]{irr_5.png}}{\caption{}}\capsidebox{\includegraphics[width=3cm]{irr_6.png}}{\caption{}}\end{subfloatrow}}{\caption{xxx}}\end{figure}

需要导入包:\usepackage{caption, subcaption}

(2)

\begin{figure}[ht]%\begin{tabular}{ccc}\begin{minipage}{0.22\linewidth}\centerline{\includegraphics[width=\textwidth]{irr_1.png}}\end{minipage}\begin{minipage}{.21\linewidth}\centerline{\includegraphics[width=\textwidth]{irr_2.pdf}}\end{minipage}\begin{minipage}{.21\linewidth}\centerline{\includegraphics[width=\textwidth]{irr_3.pdf}}\end{minipage}\begin{minipage}{0.21\linewidth}\centerline{\includegraphics[width=\textwidth]{irr_4.pdf}}\end{minipage}\begin{minipage}{0.21\linewidth}\centerline{\includegraphics[width=\textwidth]{irr_5.pdf}}\end{minipage}\begin{minipage}{0.21\linewidth}\centerline{\includegraphics[width=\textwidth]{irr_6.pdf}}\end{minipage}%\end{tabular}\caption{}
\end{figure}

8.多行注释:

\begin{comment}
......text......
\end{comment}

9. 可以跨页的算法排版:

\begin{breakablealgorithm}\caption{Algorithm}\label{alg:Algorithm}\begin{algorithmic}[1]\Require $\mathcal{D}=\{{\rm x}_{i},{\rm y}_{i}\}_{i=1}^{N}$, $\sigma$, $\lambda$,  $\beta$, $k$.\Ensure  ${\rm w}$.\State Initialize ${\rm v}$;\For{ i=1 to N}\State %算法语句;\State ;\State ;\State ;\State ;\State ;\State ;\State .\EndFor\State ;\State ;\State ;\end{algorithmic}
\end{breakablealgorithm}

需要导入的包:

\usepackage{algpseudocode}

\usepackage{algorithm}

\usepackage{algorithmicx}

其中breakablealgorithm能够当算法过长时进行分页

\renewcommand*\lstlistingname{Algorithm}
\renewcommand{\algorithmicrequire}{\textbf{Input:}}

\renewcommand{\algorithmicensure}{\textbf{Output:}}

在begin{document}之前定义,可以输入你想要替换Require和Ensure的内容,在这里Input替换Require,Output替换Ensure。

10. 调整表格,算法的大小

\begin{table}[H]\centering\caption{Benchmark Data Sets}\scalebox{0.8}[0.8]{\begin{tabular}{ccccc}\hline\hline...
\end{table}

\scablebox{0.8}[0.8],长和宽都缩放0.8倍。

未完结,

Latex写论文过程中遇到的常见问题相关推荐

  1. 2019-2-13-Latex-论文elsevier,手把手如何用Latex写论文

    title author date CreateTime categories Latex 论文elsevier,手把手如何用Latex写论文 lindexi 2019-02-13 10:38:20 ...

  2. Latex 论文elsevier,手把手如何用Latex写论文

    这几天在开始写论文,准备发的是elsevier,这个网站的instruction有问题,下载的东西基本上好多的错误,所以我就写博客记录. 关于使用 Latex 的好处请看使用LaTeX写论文 - CS ...

  3. 关于latex写论文参考文献前有空格的问题

    问题描述: 在latex写论文时,前九个参考文献可以对其,到第十个之后每个参考文献和序号之间有一个空格 解决方法: Latex中thebibliography后面的数字代表的是\bibitem标签的最 ...

  4. ​她回顾过去的学习生活,印象最深刻的并非是收获荣耀的高光时刻, 而是在“看文献、做科研、写论文”循环中推进的每一步...

    一不留神又到期末了,热搜上都在数着哪个学校的寒假更长,而我只想问,科研人的论文都写完了吗? 反正我是恨不得克隆十个自己,一个泡在实验室盯实验结果,一个去盯基金申请,一个去写月底要送审的稿子..... ...

  5. 初级使用Latex写论文经验总结

    最近忙着写论文,但由于种种原因,初稿草写完成百分之八十,转英语的各程序也已熟悉,目前暂时搁置.暂作记录,便于后续熟悉流程. 首先强调一点,国内的知乎真的很好用,质量很高.本人在这就跟写日记,记流水账一 ...

  6. latex写论文(TeXstudio工具)

    目录 前言 IEEE模板 模板免费分享 参考文献写作方法 我的.tex文件代码 前言 学校老师要求我们以IEEE顶级会议格式与标准写报告,于是过程虽然麻烦点,但是效果还是不错了,下面先展示一下自己写完 ...

  7. texlive写论文源代码_使用Latex写论文

    我是去年年底才开始接触latex的,当时写开题报告,导师说可以学下latex,可以自动生成文献,然后我就学了下,现在写论文我也是在用latex.毕竟使用时间不长,到现在还是在探索阶段,简单总结下lat ...

  8. 如何使用LaTex写论文?

    什么是LaTex? LaTeX - A document preparation system​www.latex-project.org/ LaTeX is a high-quality types ...

  9. Android应用之——微信微博第三方sdk登录分享使用过程中的一些常见问题

    前言 最近在使用第三方登录和分享的过程中遇到了很多问题,一方面可以归结为自己经验的不足,另一方面其实也说明了官方文档的含糊不清.这篇博文不会写关于如何使用第三方登录分享,因为官方文档已经写明了步骤,这 ...

最新文章

  1. Linux Find 命令精通指南
  2. Linux环境ddd安装与使用
  3. javascript高级程序设计之BOM
  4. OPPO A59s手机系统时间停止运行
  5. java6_64.tar配置_centos6.5_64 java 环境变量配置
  6. MySQL常用存储引擎之MyISAM
  7. Rest风格---ElasticSearch
  8. JS_理解函数参数按值传递
  9. selectByExample和selectByExampleWithBLOBs的区别
  10. js之事件冒泡和事件捕获详细介绍
  11. linux下安装EJBCA 搭建私有CA服务器
  12. js 改变change方法_JS获取和设置元素的属性以及属性值
  13. 成功女性处世十大秘诀
  14. 保山一中2021高考成绩查询,云南省保山第一中学
  15. AWS亚马逊ssh登录失败 Permissions 0644 for .pem are too open
  16. spring源码-自动注入
  17. Object-c学习笔记十八-----NSPredicate
  18. 批量获取中国所有行政区域经边界纬度坐标(到县区级别)
  19. 计算机桌面通过网络在拼接屏上显示,一种多个拼接屏实时同步显示方法与流程...
  20. 雷电模拟器无法桥接网络解决办法

热门文章

  1. 【解决方案】-- 解决笔记本电脑外接键盘Window键失效的问题
  2. matlab txt 换行,matlab的fprintf 函数写数据时换行的问题
  3. ros update 失败解决方法
  4. MySQL主从之外,你又多了一项选择,Galera
  5. 微信PC扫码支付保证订单状态最终一致性
  6. Python:爬取数据出现response.status_code为403解决方法
  7. 操作无法完成,因为文件已在 中打开。
  8. CountDownLatch的使用
  9. 微信小程序-MAP API组件 合集
  10. 02区块链誓言DAPP项目开发实战学习笔记