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

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. [歌曲]心愿(by 四个女生)
  2. h3c交换机限制端口访问_H3C交换机端口限速和流量监管典型配置指导
  3. 2019年宁夏文化科技卫生“三下乡”集中示范活动启动
  4. (Hook)SetWindowsHookEx和UnhookWindowsHookEx
  5. StackExchange.Redis 访问封装类
  6. django配置mysql,并解决NameError: name ‘_mysql‘ is not defined报错
  7. 【数据库系统设计】关系数据库标准语言SQL(2)
  8. 自定义RPC通讯框架,实现dubbo远程RPC服务治理功能
  9. phonegap2.9.1 android 环境搭建,PhoneGap 开发环境搭建
  10. 修改mysql字段长度
  11. android 加载ae动画,Bodymovin:Bodymovin和Lottie:把AE动画转换成HTML5/Android/iOS原生动画...
  12. 计算机组装与维护毕业论文范文,计算机应用毕业论文 计算机组装与维护
  13. 研报精选 | 2022中国消费零售行业趋势报告解读
  14. iPhone iPad分辨率
  15. OSPF报文与LSA
  16. vcenter server安装到第二阶段无法“下一步“问题解决
  17. Jave虚拟机划分的三个代: 年轻代、年老代和持久代
  18. 数学建模(1)-matlab之fprintf函数用法
  19. (windows)如何删除删不掉的文件
  20. 如何设计出别具一格的全息投影餐厅

热门文章

  1. 优化工具包—无约束非线性优化求解器(fminsearch)
  2. then 微信小程序_微信小程序异步处理详解
  3. Java中的poi是什么_java中的POI
  4. Kotlin 基础学习 (一) 关键字
  5. 监督,自监督,半监督
  6. SVN历史版本删除 瘦身svn库
  7. css 常见的美观样式
  8. 寒假博客日记——第十天
  9. 数字电路与逻辑设计——模型机时序部件的实现
  10. PHP之phar反序列化