latex使用记录3
文章目录
- 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
- latex版本问题
- 文件夹问题
- 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相关推荐
- Latex学习记录2
文章目录 Latex学习记录2 框架 命令和环境 公式 列表 代码 算法 表格 画图 浮动 目录 BIB texdoc 参考 Latex学习记录2 框架 \include \input 自己写的文件 ...
- markdown 和 latex 使用记录
这里记录一些 markdown 和 Latex 语法,以防止长期摆烂忘掉,语法并不全,仅列举了我常用的. markdown 编辑器使用的是 Typora,所见即所得,有语法的自动填充. 此外,列举几个 ...
- 【Latex】记录写毕业论文时用到的操作
操作总结 a.公式算法类 1.公式字体 2.公式编号 3.将公式组合成块 4.算法表示 b.图片表格类 1. 图片引用 2.表格制作 c.参考文献类 参考 a.公式算法类 1.公式字体 正常来讲,论文 ...
- latex自己记录需要的
参考:LaTeX 公式篇 推荐网站:LaTeX公式编辑器,有模板 换行(居中对齐) \begin{array}{c} 1wer\\ 2qwer\\ 3qewrasdf\\ \end{array} 1 ...
- mac latex使用记录
https://zhuanlan.zhihu.com/p/35498361 推荐了两个神器,准备先试试 https://tex.stackexchange.com/questions/307483/s ...
- overleaf 写论文Latex语法记录
1 Latex十字,双数字标记 -- 标注官方结果或论文作者时使用 单十字: † \dag 双十字: ‡ \ddag 2 引用文献 官网链接:Bibtex bibliography styles - ...
- latex 排版记录 从期刊投稿模版开始学latex
1,一些基础资源 安装参考的这里:最简单傻瓜式的 Latex+Texstudio 安装教学.前期基本练习也可使用在线latex编辑器:www.overleaf.com.资源如图片通过左侧上传,右侧 R ...
- latex 引号记录
latex 双引号问题: latex 的第一个双引号应该是按tab键上方的那个键两次,第二个双引号才是回车旁边的那个引号键 具体 http://blog.sina.com.cn/s/blog_5e16 ...
- latex学习记录2:上下标及字体的斜体加粗
下标: ($ED_2$) 上标: ($ED^2$) 上下标一起: ($_2^2x^2_2$) 斜体: \emph {内容} (\emph {$X_2$})%公式必须加$$且位置要对 加粗: \pmb{ ...
最新文章
- 简简单单用OpenCV让一只小猫咪变成奶凶奶凶的科技猫
- 人脸识别必读的N篇文章
- 【BLE MIDI】MIDI 文件格式分析 ( FF 03 轨道名称 | FF 51 03 四分音符时长 )
- boost::hana::always用法的测试程序
- SCOI 2014 new :未来展望
- 浅谈文本的相似度问题
- Django远端访问
- 【机器学习】SVM线性可分
- JS面向对象(二)——构造函数的继承
- Sentinel降级_异常比例_分布式系统集群限流_线程数隔离_削峰填谷_流量控制_速率控制_服务熔断_服务降级---微服务升级_SpringCloud Alibaba工作笔记0040
- 你身边有创业失败导致负债累累的案例吗
- JS如何判断浏览器类型和详细区分IE各版本浏览器
- Javascript屏蔽IE和Firefox浏览器默认按键响应(快捷键功能)
- Codeforces上通过数超过5W人的题
- 【2021最新】4篇图神经网络综述论文,建议收藏!
- 如何让计算机查找不到无线网络,笔记本电脑搜索不到无线网络怎么办?
- filter(matlab2C)
- 前端基础——URL详解
- 没有域名备案可以安装ssl证书吗?应用IP申请ssl证书的注意事项
- 分布式--CAP定理