Coder Social home page Coder Social logo

tju-thesis-template's Introduction

天津大学本科生毕业论文模版

来源

原始版本tjuthesis 修改自xnth97/TJUThesisLatexTemplate

更新日志

  • 调整了封面校徽的大小使其与Word模版接近
  • 引入了任务书和开题报告
  • 减小目录章节中的空格为两个汉字的宽度
  • 减小了目录中dots的间距
  • 将结论一章改为带编号的普通章节
  • 去掉目录中致谢两字间的空格
  • 汉字使用思源字体
  • 调整了公式、图表与文字的间距
  • 参考文献部分全部使用半角符号
  • 将整体代码模块化

预览

天津大学本科生毕业论文

环境

macOS

MacTeX + Atom + latex

Windows

MiKTeX + VS Code + LaTeX Workshop

编译

xelatex + bibtex

字体

思源宋体

思源黑体

基本用法

章节

\chapter{}
\section{}
\subsection{小节}
\subsubsection{子小节}

引用

BibTeX

@article{***1989能源发展趋势及主要节能措施,
  title={能源发展趋势及主要节能措施},
  author={***},
  journal={上海交通大学学报},
  volume={23},
  number={3},
  pages={1--16},
  year={1989},
  language={Chinese}
}

上标

\citeup{***1989能源发展趋势及主要节能措施}

行内

\cite{***2008对**能源问题的思考}

图片

\begin{figure}[htbp!]
	\centering
	\includegraphics[width=0.5\textwidth]{figures/picture.png}
	\caption{图片说明}\label{图片标签}
	\vspace{-1em}
\end{figure}

表格

\begin{table}[htbp]
	\caption{表格说明}\label{表格标签}
	\vspace{0.5em}\centering\wuhao
	\begin{tabular}{ccccc}
		\toprule[1.5pt]
		第1列 & 第2列 & 第3列 \\
		\midrule[1pt]
		1.1 & 1.2 & 1.3 \\
		2.1 & 2.2 & 2.3 \\
		3.1 & 3.2 & 3.3 \\
		\bottomrule[1.5pt]
	\end{tabular}
	\vspace{\baselineskip}
\end{table}

公式

行内公式

\(G=(V, E)\)

行间公式

$$p_1(v_i, v_j)=\frac{1}{1+\exp(-\overrightarrow{u_i}^T\cdot\overrightarrow{u_j})}$$

标号公式

\begin{align}
	p_2(v_j\mid v_i)=\frac{\exp({\overrightarrow{u_j}'}^T\cdot\overrightarrow{u_i})}{\sum_{k=1}^{|V|}\exp({\overrightarrow{u_k}'^T\cdot\overrightarrow{u_i})}}\label{p2}
\end{align}

伪代码

\begin{algorithm}[]
	\SetKwInOut{Input}{输入}
	\SetKwInOut{Output}{输出}
	\caption{\sc DeepWalk\((G, w, d, \gamma, t)\)}\label{DeepWalk}
	\Input{图\(G(V,E)\) \\
		窗大小\(w\) \\
		嵌入维度\(d\) \\
		每个节点游走数\(\gamma\) \\
		游走距离\(t\)
	}
	\Output{节点表征矩阵\(\Phi\in\mathbb{R}^{|V|\times d}\)
	}
	初始化:从\(\mathcal{U}^{|V|\times d}\)采样\(\Phi\) \\\(V\)建立二叉树\(T\) \\
	\For{\(i=0\) to \(\gamma\)}{
		\(\mathcal{O}\) = Shuffle(\(V\)) \\
		\ForEach{\(v_i\in\mathcal{O}\)}{
			\(\mathcal{W}_{v_i}=RandomWalk(G, v_i, t)\) \\
			\(\textsc{SkipGram}(\Phi, \mathcal{W}_{v_i}, w)\)
		}
	}
\end{algorithm}

tju-thesis-template's People

Contributors

liangzhenduo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tju-thesis-template's Issues

目录文字上显示一个红框

我编译代码后,在目录标题上会有个红色的框框住文字,如下面的截图,不知道怎么去掉。

编译通过xelatex。另外以前目录用hyperref宏包直接\tableofcontents,生成的目录是正常的。

截屏2020-06-20 下午10 27 46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.