├── LICENSE ├── README.md ├── canoform.png ├── example.pdf └── main.tex /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Weihao Wang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LaTeXTemp 2 | 自己做的中文课程报告LaTeX模板,包含封面、目录、摘要、正文、参考文献。 3 | 4 | 在 https://github.com/wxflogic/latex 基础之上修改而来。 5 | 6 | 示例见pdf文件。 7 | 8 | 可以直接上传到Overleaf上使用。 9 | -------------------------------------------------------------------------------- /canoform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heygrain/LaTeXTemp/3a8f88f729a831f8999564123ff918af72f4d035/canoform.png -------------------------------------------------------------------------------- /example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heygrain/LaTeXTemp/3a8f88f729a831f8999564123ff918af72f4d035/example.pdf -------------------------------------------------------------------------------- /main.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{article} % 12pt 为字号大小 UTF8 2 | \usepackage{amssymb,amsfonts,amsmath,amsthm} 3 | %\usepackage{fontspec,xltxtra,xunicode} 4 | %\usepackage{times} 5 | 6 | %---------- 7 | % 定义中文环境 8 | %---------- 9 | 10 | \usepackage{xeCJK} 11 | 12 | % \setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi}]{SimSun} 13 | % \setCJKsansfont{SimHei} 14 | % \setCJKfamilyfont{zhsong}{SimSun} 15 | % \setCJKfamilyfont{zhhei}{SimHei} 16 | 17 | % \newcommand*{\songti}{\CJKfamily{zhsong}} % 宋体 18 | % \newcommand*{\heiti}{\CJKfamily{zhhei}} % 黑体 19 | 20 | 21 | %---------- 22 | % 版面设置 23 | %---------- 24 | %首段缩进 25 | \usepackage{indentfirst} 26 | \setlength{\parindent}{2.1em} 27 | 28 | %行距 29 | \renewcommand{\baselinestretch}{1.4} % 1.4倍行距 30 | 31 | %页边距 32 | \usepackage[a4paper]{geometry} 33 | \geometry{verbose, 34 | tmargin=3cm,% 上边距 35 | bmargin=3cm,% 下边距 36 | lmargin=3cm,% 左边距 37 | rmargin=3cm % 右边距 38 | } 39 | 40 | 41 | %---------- 42 | % 其他宏包 43 | %---------- 44 | %图形相关 45 | \usepackage[x11names]{xcolor} % must before tikz, x11names defines RoyalBlue3 46 | \usepackage{graphicx} 47 | \usepackage{pstricks,pst-plot,pst-eps} 48 | \usepackage{subfig} 49 | \def\pgfsysdriver{pgfsys-dvipdfmx.def} % put before tikz 50 | \usepackage{tikz} 51 | 52 | %原文照排 53 | \usepackage{verbatim} 54 | 55 | %网址 56 | \usepackage{url} 57 | 58 | %---------- 59 | % 习题与解答环境 60 | %---------- 61 | % %习题环境 62 | % \theoremstyle{definition} 63 | % \newtheorem{exs}{习题} 64 | 65 | % %解答环境 66 | % \ifx\proof\undefined\ 67 | % \newenvironment{proof}[1][\protect\proofname]{\par 68 | % \normalfont\topsep6\p@\@plus6\p@\relax 69 | % \trivlist 70 | % \itemindent\parindent 71 | % \item[\hskip\labelsep 72 | % \scshape 73 | % #1]\ignorespaces 74 | % }{% 75 | % \endtrivlist\@endpefalse 76 | % } 77 | % \fi 78 | 79 | % \renewcommand{\proofname}{\it{证明}} 80 | 81 | %---------- 82 | % 我的自定义 83 | %---------- 84 | 85 | \newcommand{\horrule}[1]{\rule[0.5ex]{\linewidth}{#1}} % Horizontal rule 86 | 87 | \renewcommand{\refname}{参考文献} 88 | \renewcommand{\abstractname}{\large \bf 摘\quad 要} 89 | \renewcommand{\contentsname}{目录} 90 | \renewcommand{\tablename}{表} 91 | \renewcommand{\figurename}{图} 92 | 93 | \setlength{\parskip}{0.4ex} % 段落间距 94 | 95 | \usepackage{enumitem} 96 | \setenumerate[1]{itemsep=0pt,partopsep=0pt,parsep=\parskip,topsep=5pt} 97 | \setitemize[1]{itemsep=0.4ex,partopsep=0.4ex,parsep=\parskip,topsep=0.4ex} 98 | \setdescription{itemsep=0pt,partopsep=0pt,parsep=\parskip,topsep=5pt} 99 | 100 | 101 | %========== 102 | % 正文部分 103 | %========== 104 | 105 | \begin{document} 106 | 107 | \title{ 108 | {\normalfont\normalsize\textsc{ 109 | Nanjing University of Aeronautics and Astronautics\\ 110 | Course Name, Autumn 2017 \\[25pt]}} 111 | \horrule{0.5pt}\\ 112 | \sffamily{基于图卷积神经网络的\\复杂网络嵌入方法} 113 | \horrule{1.8pt}\\[20pt] 114 | } 115 | \author{姓名\quad SX17yourID\\address@nuaa.edu.cn} 116 | \date{2017年11月} % 若不需要自动插入日期,则去掉前面的注释;{ } 中也可以自定义日期格式 117 | 118 | \begin{titlepage} 119 | \maketitle 120 | \vspace{30pt} 121 | \begin{abstract} 122 | \normalsize \ \ 这是中文摘要。大概写满这一页可以了。摘要又称概要、内容提要。摘要是以提供文献内容梗概为目的,不加评论和补充解释,简明、确切地记述文献重要内容的短文。其基本要素包括研究目的、方法、结果和结论。具体地讲就是研究工作的主要对象和范围,采用的手段和方法,得出的结果和重要的结论,有时也包括具有情报价值的其它重要的信息。\\[5pt] 123 | \indent \ \ \textbf{关键词}:图卷积神经网络,复杂网络,表示学习 124 | \end{abstract} 125 | \thispagestyle{empty} 126 | \end{titlepage} 127 | 128 | \tableofcontents 129 | \thispagestyle{empty} 130 | 131 | \newpage 132 | \setcounter{page}{1} 133 | 134 | \section{引言} 135 | 这个模板是UTF-8编码的,使用xeCJK宏包,中英文混排更美观,但编译速度稍慢。注意:该模板只能用xelatex编译。本模板支持Overleaf在线\LaTeXe 平台,网址:\url{https://www.overleaf.com}。详细的\LaTeX 使用方法这里不详细展开,仅列举一些常用的。 136 | 137 | 引言也称前言、序言或概述,作为科技论文的开端,提出文中要研究的问题,引导读者阅读和理解全文。 138 | 139 | 140 | \section{模型} 141 | 正文是指著作的本文,有规范格式和生效标志的正式文本。 142 | 143 | \subsection{段落} 144 | 正文会有大量的文字段落。假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落。 145 | 146 | 这是下一段。假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落,假设这是一个很长的段落。 147 | 148 | 这是另一段 149 | 150 | 这又是一段。 151 | 152 | 这是最后一段,它由好多好多非常多多好多非常多多好多非常多多好多非常多多好多非常多多好多非常多多好多非常多多好多非常多多好多非常多的条目组成,就像下面这个样子: 153 | 154 | \begin{itemize} 155 | \item 这里引用了一篇文献\cite{cao17}。 156 | \item 这是一个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的条目。 157 | \end{itemize} 158 | 159 | \subsection{字体} 160 | 默认字体为宋体。{\sffamily 这是黑体。} {\rmfamily 这是宋体。} {\ttfamily 这是仿宋。} {\it 这是楷体。} 161 | 或者\textsf{黑体},\textrm{宋体},\texttt{仿宋},\textit{楷体}。 162 | 163 | \subsubsection{文字强调} 164 | 加粗宋体:\textbf{粗体},加斜字体自动变成楷体:\textit{强调}。 165 | 166 | 更多中文说明(网址有点长,显示不全):\\\url{https://www.overleaf.com/latex/examples/using-the-ctex-package-on-overleaf-zai-overleafping-tai-shang-shi-yong-ctex/gndvpvsmjcqx/viewer.pdf} 167 | 168 | \subsubsection{子小节} 169 | 这是另一个子小节。 170 | 171 | \subsection{公式} 172 | \begin{equation} 173 | \label{eqn:eqn1} 174 | \mathbf{A}=\sum\limits_{i=0}^{N-1}{e^{j\frac{2\pi}{N}i}}=0 175 | \end{equation} 176 | 177 | \subsection{定理} 178 | 正文中可能有很多定理、定义、证明、引理等等。这一特性目前可以手动实现和标号,以后会添加自动方法。 179 | 180 | 181 | \section{实验} 182 | 实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。实验中存在大量图表。下面演示图表的用法。 183 | 184 | \subsection{图} 185 | \begin{figure}[ht] 186 | \centering 187 | \includegraphics[width=\textwidth]{canoform.png} 188 | \caption{这是一个图} 189 | \label{fig:fig1} 190 | \end{figure} 191 | 引用图\ref{fig:fig1} 。 192 | 193 | \subsection{表} 194 | \begin{table}[ht] 195 | \caption{这是一个表} 196 | \label{tb:filter} 197 | \centering 198 | \begin{tabular}{cccc} 199 | \hline 200 | & 卡尔曼滤波 & 神经网络滤波 & 被动无源滤波 \\ 201 | \hline 202 | 模型类型 & 线性 & 线性 & 非线性 \\ 203 | 参数调校 & 大量 & 几乎没有 & 合理 \\ 204 | 稳定性 & 满足全局稳定性 & 依赖于模型 & 满足子系统稳定性 \\ 205 | \hline 206 | \end{tabular} 207 | \end{table} 208 | 引用表格\ref{tb:filter} 。 209 | 210 | \section{总结} 211 | 这里总结全文。 212 | 213 | % \section{习题环境} 214 | 215 | % \begin{exs} 216 | % 请证明勾股定理。 217 | % \end{exs} 218 | % \begin{proof} 219 | % 这是证明。末尾后会自动添加方块以示结束。 220 | % \end{proof} 221 | 222 | % \begin{exs} 223 | % 请计算 $1+2+\ldots +100$。 224 | % \end{exs} 225 | % \begin{proof}[解答] 226 | % 这是解答。末尾后会自动添加方块以示结束。 227 | % \end{proof} 228 | 229 | \newpage 230 | 231 | \begin{thebibliography}{9} 232 | 233 | \addcontentsline{toc}{section}{参考文献} % 目录中加入参考文献 234 | 235 | \bibitem{cao17} 236 | Rongmei Cao. 237 | Matrix Theory. 238 | Nanjing University of Aeronautics and Astronautics, 2017. 239 | 240 | \bibitem{pbrs14} 241 | Perozzi, Bryan, R. Al-Rfou, and S. Skiena. "DeepWalk: online learning of social representations." (2014):701-710. 242 | 243 | \bibitem{czw17} 244 | 李彦冬, 郝宗波, and 雷航. "卷积神经网络研究综述." 计算机应用 36.9(2016):2508-2515. 245 | 246 | \end{thebibliography} 247 | 248 | \end{document} 249 | --------------------------------------------------------------------------------