好文档就是一把金锄头!
欢迎来到金锄头文库![会员中心]
电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

latex,实验报告模板.docx

17页
  • 卖家[上传人]:F****n
  • 文档编号:90890413
  • 上传时间:2019-06-19
  • 文档格式:DOCX
  • 文档大小:27.87KB
  • / 17 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • latex,实验报告模板  篇一:latex代码模版  \documentclass[10pt,a4paper]{article}  \usepackage{amsmath}  \usepackage{latexsym}  \usepackage{amssymb}  \usepackage{amstext}  \usepackage{fancyhdr}  \usepackage{indentfirst}  \usepackage{graphicx,picinpar,emlines2,epsf}  \usepackage{array}  \usepackage{listings}  \usepackage{graphicx}  \usepackage{epsfig}  \usepackage{PGF}  \usepackage{listings}  \usepackage{cases}  \usepackage{epstopdf}  \usepackage{graphicx}  \setlength{\textheight}{20true cm}  \setlength{\textwidth}{16true cm}  \oddsidemargin -1pt  \evensidemargin -1pt  \topmargin -  \begin{document}  \title{题目}  \author{作者名}  \frenchspacing  \date{February 7, 20XX} %月日年  \maketitle  \fancyhead{} \pagestyle{fancy} \fancyhead[OC]{\ \ \ \ \  \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \  \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Page \arabic{page} of 21}  \fancyhead[EC]{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \  \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \  \ \ \ \ \ \ \ Page \arabic{page} of 21} % 页眉页数,用的时候只要改数字就行  \begin{abstract}  摘要部分  \textbf{关键词:货币转移转移规则元胞自动机}  \end{abstract}  \newpage %摘要单独一页,换页  \tableofcontents: %目录  \newpage  \begin{figure}[!htb]  \centering  \includegraphics[width=7cm\textwidth]{}  \caption{The fitting curve by Eq.}  \end{figure}%插入图片  \input{./section/problem}%导入片段  \section{Introduction}%一级标题  \subsection{The Problem}% 二级标题  \subsubsection{The Problem}% 三级标题  \[ D=a_{1}+a_{2}\cos+a_{5}\exp .\]  \begin{equation} %有编号的公式  x^{2}+y^{2}=1  \end{equation}  \begin{itemize}  \item ...  \item ...  \end{itemize} %点形项目编号  \begin{enumerate}  \item the first sentence%数字  \item the second sentence  \end{enumerate}  \begin{tabular}  \end{tabular}%表格  %无编号的公式  \section{References}  \begin{thebibliography}{1}  \bibitem{1}/ArtAXS/Painting1T/2TBurnettJ/, Accessed Feb. 6th, 20XX.  \bibitem{2}  \bibitem{3}  \bibitem{4}  \bibitem{5}  \bibitem{6}  \bibitem{7}  \bibitem{8} %参考文献  \  %附录  \begin{lstlisting}  function Advance  global Aisle pas;  [x,y] = size;  for i = x*y-1:-1:1  if >0)&&==0)&&...  ).speed>rand)&&...  ).tdelay==-1)  Aisle=Aisle;  Aisle=0;  end  end  \end{lstlisting}  篇二:Latex排版格式  10月18日  用Latex为论文排版  用 Latex 为论文排版 目录  语法规范  文档结构  中文格式相关问题  段落缩进  中文字体  章节和段落组织  图片  表格  杂项格式  参考文献  脚注  页眉和页脚  常用命令  语法规范  latex 中,用“%”做为注释行的开始,用“\”作为命令或者变量的开始。

      用一对大括号“{}”作为一个区块的起始和结束,在这一个区块中,命令和变量具有局部意义用一对方括号“[]”作为某个命令参数的起始和结束,参数之间用“,”隔开  文档结构  文档的开始必须使用类似如下命令:  \documentclass[a4paper, 12pt, onecolumn]{article}  这条命令指定文档的类型是 article,可以根据需要换为 slides,book 等;字体为 12pt;纸张类型是 A4;单栏  然后使用 \usepackge 命令指定需要使用的宏包,如:  \usepackage{CJK} % CJK 中文支持  \usepackage{graphicx} % EPS 图形支持  \usepackage{indentfirst} % 中文段落首行缩进  \usepackage{fancyhdr} % 梦幻页眉  正文部分开始时,需要使用如下命令:  \begin{document}  \begin{CJK}{GBK}{song}\CJKcaption{GB} % 如果需要使用中文,必须加上这一句  相应的,正文结束后,需要使用:  \end{CJK}  \end{document}  中文格式相关问题  段落缩进  要使中文段落每段起始时空两个汉字的位置,除了需要使用宏包“indentfirst”外,还需要使用如下命令: \setlength{\parindent}{24pt}  此命令加在导言区(导言区即在第一条命令和正文开始之间的部分)即可,参数应该根据正文字体的大小来设定,因为这里正文字体是 12pt,两个字的位置就是 24pt。

        中文字体  设定中文字体很简单,只需要用类似如下的命令:  \CJKfamily{hei}这是黑体  我们也可以针对某个段落设定字体大小和行间距:  \fontsize{22pt}{26pt}后面的这一段文字,字体大小是 22pt,段落的行间距是 26pt  当需要将行间距恢复到默认值时,只要用  \linespread{}\selectfont  即可,因为行间距只有当字体大小发生变化时才会重新计算,所以在 \linespread 后面必须跟上字体尺寸变换的命令,如 \small 之类,或者直接写上 \selectfont  章节和段落组织  可以用  \section{第一层章节}  \subsection{第二层章节}  \subsubsection{第三层章节}  这样的命令来分层次定义文章的章节,可以用  \begin{itemize}  \item 第一条  \item 第二条  \item 第三条  \end{itemize}  这样的命令来定义多个条目,可以用  \paragraph{第一段}  \paragraph{第二段}  \paragraph{第三段}  这样的命令来定义段落。

        图片  用如下命令来插入图片(只支持 eps 图片):  \begin{figure}  \begin{center}  \includegraphics[]{kingofcats}\\  \small{图1 猫王的图片}  \end{center}  \end{figure}  其中 \begin{center} 和 \end{center} 的含义是将其中的内容居页面中间排放,“\\”符号用来换行 表格  用如下命令来定义表格:  \begin{tabular}{c|c}  \hline  第一列标题 & 第二列标题 \\  \hline  第一行第一列 & 第一行第二列 \\  \hline  第二行第一列 & 第二行第二列 \\  \hline  \end{tabular}  杂项格式  参考文献  用如下命令定义参考文献:  \begin{thebibliography}{99}  \bibitem{}  stid.  论灌水与写论文的关系.  北京:新水木出版社,20XX  \bibitem{}  kingofcats.  我是猫王我怕谁.  北京:灌水出版社,1999  \end{thebibliography}  脚注  用如下命令来定义脚注:  猫王\footnote{即 King of Cats,猫中之王,也称 stid}  页眉和页脚  用如下命令来定义页眉和页脚:  \pagestyle{fancy}% 使用梦幻页眉  \lhead{}  \chead{}  \rhead{\small{北京理工大学工程硕士学位论文(设计)开题报告}} \lfoot{}  \cfoot{}  \rfoot{\thepage}  \renewxxmand{\headrulewidth}{}  常用命令      令 \date{} 去掉标题中的默认日期 \newxxmand{\supercite}[1]{\textsuperscript{\cite{#1}}} 带一个参数的自定义命                  \thispagestyle{empty} 此页不使用页眉和页脚 \vspace{20mm} 在垂直方向空出 20mm 的距离 \hspace{12pt} 在水平方向空出 12pt 的距离 \underline{} 加下划线 \setcounter{page}{1} 从 1 开始计算页码 \newpage 强制换页 \cle。

      点击阅读更多内容
      关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
      手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
      ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.