Giter Site home page Giter Site logo

ructhesis's Introduction

RUCThesis

##**人民大学LaTeX论文模板

目前支持本科、硕士(学硕+专硕)和博士

如果已经有ructhesis.cls文件的可以直接使用。
目前的版本使用了2015国标的参考文献样式。
在main.tex文件下使用如下命令:

这里我们使用xelatex作为排版引擎,第一步编译main.tex文件,第二步处理参考文献,然后再编译两遍生成pdf文件。

$ xelatex main.tex
$ bibtex main.tex
$ xelatex main.tex
$ xelatex main.tex

##重要信息
1、编辑器要用UTF-8的编码要不然你打开是乱码。
2、排版引擎使用XeLaTeX,要不然会报错。

###必要的字体文件

字体 PostScript名称
Times New Roman TimesNewRomanPSMT
Arial ArialMT
Courier New CourierNewPSMT
宋体 SimSun
黑体 SimHei
仿宋 FangSong

需要生成封皮的还需要自行下载安装

  • 方正小标宋 PostScript名称:FZXBSJW–GB1-0

###必要的宏包

全部都是TeX Live自带的

  • ctexbook
  • geometry
  • hyperref
  • graphicx
  • titletoc
  • ifxetex
  • ifthen
  • calc
  • lscape
  • multicol
  • color
  • pstricks

###想编译模板文件和生成手册的可以执行下述代码 生成模板文件ructhesis.cls
$ latex ructhesis.ins
生成手册ructhesis.pdf
$ xelatex ructhesis.dtx
$ makeindex -s gind.ist -o ructhesis.ind ructhesis.idx
$ makeindex -s gglo.ist -o ructhesis.gls ructhesis.glo
$ xelatex ructhesis.dtx
$ xelatex ructhesis.dtx

###联系
如果模板本身的问题可以上GitHub上发篇issue。

如果想贡献代码的请email我: [email protected]

ructhesis's People

Contributors

zebinwang 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  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  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  avatar  avatar  avatar  avatar

ructhesis's Issues

论文正文页边距问题。

论文正文要求
要求:

版心:145×212(不含篇眉、页码)
左边距:35mm
右边距:30mm
上边距:45mm
下边距:40mm
    页码位置:博士学位论文页面底端外侧,硕士学位论文页面底端右侧。
正文段落和标题一律采用固定行间距20pt

但是模板中第79行,用的有个headsep=20mm,这样就会使正文有一个2cm空白额头。

我按照别人的说法,改成下面这样,就没有那个大额头了,我不知道对不对。

% \RequirePackage[top=45mm,left=35mm,bottom=40mm,right=30mm,headsep=20mm]{geometry}
\RequirePackage[top=45mm,left=35mm,bottom=40mm,right=30mm,textheight=212mm,textwidth=145mm]{geometry}

参考文献

1.参考文献无法更改

重写了ref/test.bib,xelatex-bibtex-xelatex编译后pdf没有更新出新的参考文献。
发现解决办法: 把main.tex中"\bibliographystyle{ref/rucbib}"移到\begin{document}前。

2. 被引用参考文献显示方式不正确

使用\cite{},在pdf中对应位置,显示的格式为“[作者]”,但是希望格式为"[标号]"。
临时解决办法:在ructhesis.cls中将"\RequirePackage{natbib}%参考文献"替换为"\RequirePackage[square,comma,super,sort&compress]{natbib}%参考文献"
参数见wikibooks

3. 参考文献的格式

在参考文献列表里,显示的内容过多。url和doi不需要显示,url的超链接希望可以加到文章标题。目前没有发现解决办法。

具体参考文献形式希望可以借鉴revtex4-1模板

关于摘要行间重叠的问题

Hi,您好!非常感谢您的贡献,该Latex模版非常好用,帮助了我很多,再次对您表示感谢~

另外,我这里目前有个小问题向请教一下您,即中文和英文摘要部分均出现了行间重叠的问题,具体如下图,还想请教下是哪里出了问题,再次对您表示感谢!

截屏2024-06-26 下午3 14 44 截屏2024-06-26 下午3 14 49

图片问题

为什么图片加载不了呀,已经放在figures文件夹下方了

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.