Latex基本使用
2016-01-18 21:16
459 查看
论文排版,基本使用,长期更新。
1、图片转换成.eps格式。
在排版文档的目标文件夹按住shift 右击鼠标,点击在此打开命令行。
输入:
既可完成转换。注意转换后图片不改变大小等基本格式。
2、公式的编辑和引用
首先公式必须是先编写好,才能引用,编写格式如下:
eq1是公式的编号,文章要引用必须用这个编号,如:
,在中间写要编写的公式。可以按照MathType那种样式写。
3、文章中的一些短公式和字母之类的,要用一定的格式编写,如用户i和用户j:
4、图片的设置和引用。在论文中引用图片,要提前设置好图片的格式,前面已经说过了是使用eps的图片。
代码中的{fig2.eps}是引用的图片的名称,label{fig2}是以后再文章中引用的名称。可以设置基本的属性,宽度和高度以及图片标题等等。
5、表格的设置和引用。
1、图片转换成.eps格式。
在排版文档的目标文件夹按住shift 右击鼠标,点击在此打开命令行。
输入:
bmeps filename.jpg filename.eps
既可完成转换。注意转换后图片不改变大小等基本格式。
2、公式的编辑和引用
首先公式必须是先编写好,才能引用,编写格式如下:
\begin{equation}\lable{eq1} \end{equation}
eq1是公式的编号,文章要引用必须用这个编号,如:
,在中间写要编写的公式。可以按照MathType那种样式写。
3、文章中的一些短公式和字母之类的,要用一定的格式编写,如用户i和用户j:
4、图片的设置和引用。在论文中引用图片,要提前设置好图片的格式,前面已经说过了是使用eps的图片。
\begin{figure}[!h] \centering \includegraphics[width=100mm]{fig2.eps} \caption{Divide the trust relationships in trust network}\label{fig2} \end{figure}
代码中的{fig2.eps}是引用的图片的名称,label{fig2}是以后再文章中引用的名称。可以设置基本的属性,宽度和高度以及图片标题等等。
5、表格的设置和引用。
\begin{table}[t] {\footnotesize% \begin{center} \caption{Ciao data set statistics} \begin{tabular*}{8cm}{@{\extracolsep{\fill}}@{~~}ll@{~~}} \toprule Statistic & Amount \\ \midrule Amount of users & 7357 \\ Quantity of goods & 105114 \\ Number of items & 28 \\ Amount of users comment & 284086 \\ Quantity of trust relationship & 111781 \\ The maximum amount of trustor & 805 \\ The maximum amount of trustee & 101 \\ \bottomrule \end{tabular*} \label{tab1} \end{center} } \end{table}
相关文章推荐
- Android开发学习笔记之通过API接口将LaTex数学函数表达式转化为图片形式
- Ubuntu12.04 安装LaTex(TexLive+TexMaker+中文环境) 4000
- Miktex 2.9 + Texmaker 中文显示
- 有关LaTeX参考文献的一些问题
- LaTeX实用宏命令
- LaTeX使用小结
- Sublime text 3 + MacTex + Skim 中文显示问题
- 关于LATEX插入图的处理,仅供参考
- LaTeX新人教程,30分钟从完全陌生到基本入门
- LaTeX入门笔记
- 经测可用的3个网页插入Latex公式在线编辑器
- Latex初探(二): 基本用法
- latex 备忘
- (排bug)CTex+TeXstudio中文乱码问题
- 在Windows和Linux下使用LaTeX
- TeX排版记录 多行长公式 括号 对齐 问题
- Synctex无效的问题
- 将jpg/jpeg文件转换为eps格式,在latex文档中插入eps
- 使用LaTex/Ctex遇到的几个问题--内存不足、pgfplots安装等
- .cls vs. .sty