文章目录

  • latex使用记录
    • table
      • 调整表格宽度
      • 调整表格高度
      • 表格之间的间距调整
    • Graph
    • 参考文献
    • 参考文献(跳转)
    • latex 设置超链接跳转对应章节

latex使用记录

table

调整表格宽度

\setlength{\tabcolsep}{7mm}{XXXX}

例子:

\begin{center}
\textbf{Table 2}~~Improved table.\\
\setlength{\tabcolsep}{7mm}
{\begin{tabular}{cccccc} \topruleModels  &  $\hat c$  &  $\hat\alpha$  &  $\hat\beta_0$  &  $\hat\beta_1$  &  $\hat\beta_2$  \\ \hlinemodel  & 30.6302  & 0.4127  & 9.4257  & - & - \\model  & 12.4089  & 0.5169  & 18.6986  & -6.6157  & - \\\bottomrule\end{tabular}
}
\end{center}

调整表格高度

\renewcommand{\arraystretch}{0.5}

\renewcommand{\arraystretch}{0.5}\begin{table}\centering\caption{The 6 relationships between the two interval numbers}%\vspace{.2cm}\label{tab:The 6 relationships between the two interval numbers}% l表示left, r表示right, c表示center ; 对齐方式\setlength{\tabcolsep}{1mm}{\begin{tabular}{| c | c | c | }\hlineSituations & Interval value size relation & Graphic \\Situation 1 & 1&2 \\\hline\end{tabular}}
\end{table}

表格之间的间距调整

\vspace{-0.8cm}  %调整图片与上文的垂直距离\setlength{\abovecaptionskip}{-0.2cm}   %调整图片标题与图距离\setlength{\belowcaptionskip}{-1cm}   %调整图片标题与下文距离

Graph

% eps 转 pdf
\usepackage{graphicx} %use graph format
\DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\usepackage{epstopdf}
\usepackage{epsfig}\begin{figure*}[ht]\sidecaption \centering\includegraphics[width=18cm]{epsfilename.eps}\caption{title} \label{label of graph}
\end{figure*}

遇到的问题:Package pdftex.def Error: File converted-to.pdf not found: using draft setting

  1. latex版本问题
  2. 文件夹问题
  3. eps文件名之间不能有空格!

参考文献

\begin{thebibliography}{}\bibitem{test}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test2}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.
\end{thebibliography}

\begin{thebibliography}{}
换为:
\begin{thebibliography}{1}
\begin{thebibliography}{1}\bibitem{test}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test2}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test3}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test4}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test5}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test6}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test7}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test8}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test9}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test10}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.\bibitem{test11}
Information  inference lligent systems: inference  networks of plausible. ormation  inference lligent systems: inference  networks of plausible.% etc
\end{thebibliography}

\begin{thebibliography}{1}
// 换为
\begin{thebibliography}{99}

参考文献(跳转)

1、LaTeX的头文件中添加

\usepackage[colorlinks,linkcolor=blue,  % link 颜色 修改此处为你想要的颜色urlcolor=blue,  % url 颜色 修改此处为你想要的颜色anchorcolor=blue,    % anchor 颜色 修改此处为你想要的颜色citecolor=blue]{hyperref} %cite 颜色 修改此处为你想要的颜色

linkcolor,anchorcolor,citecolor等颜色可以自己调。

然后直接引用,就可以有跳转的效果了。

~\cite{paperID}

latex 设置超链接跳转对应章节

首先需要导入 hyperref 包,如下所示:

\usepackage[colorlinks,linkcolor=blue,  % link 颜色 修改此处为你想要的颜色urlcolor=blue,  % url 颜色 修改此处为你想要的颜色anchorcolor=blue,    % anchor 颜色 修改此处为你想要的颜色citecolor=blue]{hyperref} %cite 颜色 修改此处为你想要的颜色

cmd 命令窗口中输入: texdoc hyperref 可以查看对应包的文档。其他tex包同理。

\nameref{sec:Experiments}
// 显示的是\label{sec:Experiments}对应的名称

显示的是\label{sec:Experiments}对应的名称

//=========================================================
放在
\hyperlink{Anchor:sec:Experiments}{``Experiments''}放在需要跳转到的位置
\hypertarget{Anchor:sec:Experiments}{}

后者可自定义显示的名称,如图中我加了引号

latex使用记录3相关推荐

  1. Latex学习记录2

    文章目录 Latex学习记录2 框架 命令和环境 公式 列表 代码 算法 表格 画图 浮动 目录 BIB texdoc 参考 Latex学习记录2 框架 \include \input 自己写的文件 ...

  2. markdown 和 latex 使用记录

    这里记录一些 markdown 和 Latex 语法,以防止长期摆烂忘掉,语法并不全,仅列举了我常用的. markdown 编辑器使用的是 Typora,所见即所得,有语法的自动填充. 此外,列举几个 ...

  3. 【Latex】记录写毕业论文时用到的操作

    操作总结 a.公式算法类 1.公式字体 2.公式编号 3.将公式组合成块 4.算法表示 b.图片表格类 1. 图片引用 2.表格制作 c.参考文献类 参考 a.公式算法类 1.公式字体 正常来讲,论文 ...

  4. latex自己记录需要的

    参考:LaTeX 公式篇 推荐网站:LaTeX公式编辑器,有模板 换行(居中对齐) \begin{array}{c} 1wer\\ 2qwer\\ 3qewrasdf\\ \end{array} 1 ...

  5. mac latex使用记录

    https://zhuanlan.zhihu.com/p/35498361 推荐了两个神器,准备先试试 https://tex.stackexchange.com/questions/307483/s ...

  6. overleaf 写论文Latex语法记录

    1 Latex十字,双数字标记 -- 标注官方结果或论文作者时使用 单十字:  † \dag 双十字: ‡ \ddag 2 引用文献 官网链接:Bibtex bibliography styles - ...

  7. latex 排版记录 从期刊投稿模版开始学latex

    1,一些基础资源 安装参考的这里:最简单傻瓜式的 Latex+Texstudio 安装教学.前期基本练习也可使用在线latex编辑器:www.overleaf.com.资源如图片通过左侧上传,右侧 R ...

  8. latex 引号记录

    latex 双引号问题: latex 的第一个双引号应该是按tab键上方的那个键两次,第二个双引号才是回车旁边的那个引号键 具体 http://blog.sina.com.cn/s/blog_5e16 ...

  9. latex学习记录2:上下标及字体的斜体加粗

    下标: ($ED_2$) 上标: ($ED^2$) 上下标一起: ($_2^2x^2_2$) 斜体: \emph {内容} (\emph {$X_2$})%公式必须加$$且位置要对 加粗: \pmb{ ...

最新文章

  1. 简简单单用OpenCV让一只小猫咪变成奶凶奶凶的科技猫
  2. 人脸识别必读的N篇文章
  3. 【BLE MIDI】MIDI 文件格式分析 ( FF 03 轨道名称 | FF 51 03 四分音符时长 )
  4. boost::hana::always用法的测试程序
  5. SCOI 2014 new :未来展望
  6. 浅谈文本的相似度问题
  7. Django远端访问
  8. 【机器学习】SVM线性可分
  9. JS面向对象(二)——构造函数的继承
  10. Sentinel降级_异常比例_分布式系统集群限流_线程数隔离_削峰填谷_流量控制_速率控制_服务熔断_服务降级---微服务升级_SpringCloud Alibaba工作笔记0040
  11. 你身边有创业失败导致负债累累的案例吗
  12. JS如何判断浏览器类型和详细区分IE各版本浏览器
  13. Javascript屏蔽IE和Firefox浏览器默认按键响应(快捷键功能)
  14. Codeforces上通过数超过5W人的题
  15. 【2021最新】4篇图神经网络综述论文,建议收藏!
  16. 如何让计算机查找不到无线网络,笔记本电脑搜索不到无线网络怎么办?
  17. filter(matlab2C)
  18. 前端基础——URL详解
  19. 没有域名备案可以安装ssl证书吗?应用IP申请ssl证书的注意事项
  20. 分布式--CAP定理

热门文章

  1. Fiddler 详尽教程与抓取移动端数据包
  2. python为什么import不了_解决python有时候import不了当前的包问题
  3. 十六、在屏幕上显示时间
  4. 反射生成 INSERT 多个对象的 SQL 语句(批量插入)
  5. Django day17 博客项目(一)
  6. MSsql server里日期不能直接存入date字段,要转换一下
  7. 函数式编程 读书笔记
  8. WPF学习之路(十一)布局
  9. Android开发者指南24难点各个击破—来自androi中文翻译组
  10. 浙江新增python课程_今年9月起 浙江八年級新增Python編程課程