Hsmouc / UndergraduateThesisLaTeXTemplate

OUC Undergraduate Thesis LaTeX Template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

**海洋大学本科生毕业论文LaTeX模版

此模版大多数代码由Lu, B完成,Lu, B是此模版的主要作者。 @simonmysun重构了代码并提高了易用性。
此项目目前由@hsmouc维护。

你可以在Release Page下载最新稳定版本. 如果你有任何问题,请在Issues Page提交.

使用方法

首先你的计算机上应该安装LaTeX环境。我们的代码基于CTeX,所以你可以在CTeX学习如何使用。
使用中文模版请在TeX文件使用\documentclass[cn](oucart),若使用英文模版,请使用 \documentclass[en](oucart)

编辑

在开始之前,请阅读 manual。它包括了较详细的模版格式配置说明,并含有一些实用的例子,方便你快速入门。此手册由@hsmouc编写,任何问题请发邮件至:hsmouc@gmail.com

main.tex上修改并增添你的个人内容,在main.bib上管理你的参考文献。

生成

如果你可以使用 make

    make

或者你希望手动编译,那么编译顺序应该是xelatex -> bibtex -> xelatex -> xelatex

macOS用户

由于系统字体原因,请将oucart.cls文件中的:

\setCJKmainfont{SimSun}
\setCJKsansfont{SimHei}
\setCJKmonofont{FangSong}

修改为:

\setCJKmainfont[BoldFont=STHeiti,ItalicFont=STKaiti]{STSong}
\setCJKsansfont[BoldFont=STHeiti]{STXihei}
\setCJKmonofont{STFangsong}

第一次听说LaTeX吗?

你一定要试试。你可以阅读这篇文章了解为何我们要使用这种排版系统。

注意

  • main.tex是你写作的主要文件,make命令将直接生成main.pdf
  • 使用make clean命令可以清除生成时的临时文件,但不会清除PDF文件;
  • 期望更多的人参与此项目,欢迎PR!

开源许可

MIT

Undergraduate Thesis LaTeX Template of Ocean University of China

Most of the codes are from Lu, B, the main author of this template is Lu. @simonmysun refactored it and made it more easy to use. Now the project maintanced by @hsmouc.

You may download it from Releases Page. If there is any problem during using this template please submit an issue on Issues Page.

Usage

First of all you should have a LaTeX environment. Our code is based on CTeX, so you may visit CTeX to learn how to use it.

Insert \documentclass[cn](oucart) at the beginning of your TeX file to get everything included, or \documentclass[en](oucart) for an English version.

View manual please. This manual is written by @hsmouc. if you have any problem, please send an E-mail to hsmouc@gmail.com

(if you have "make")

    make demo;

Or you may use XeLaTeX and BibTeX to compile it manually. Remember the times and the order: xelatex -> bibtex -> xelatex -> xelatex.

First time knowing LaTeX?

Then you really should try this. You may read this to find out why one should prefer LATEX to a WYSIWYG word processor like M$ Word.

Visit CTeX to learn how to use it.

Attention

  • main.tex is an empty template and main is the default target of maek tex2pdf;
  • Abstracts of different languages is not necessary. Using only one or nothing are both Ok;
  • Run make clean to remove temperately generated files, but this will not delete PDFs
  • Pull requests welcome!

License

MIT

About

OUC Undergraduate Thesis LaTeX Template

License:MIT License


Languages

Language:PostScript 71.7%Language:TeX 28.3%Language:Makefile 0.1%