Coder Social home page Coder Social logo

nanmu42 / cquthesis Goto Github PK

View Code? Open in Web Editor NEW
247.0 14.0 64.0 12.85 MB

:pencil: 重庆大学毕业论文LaTeX模板---LaTeX Thesis Template for Chongqing University

Home Page: https://www.ctan.org/pkg/cquthesis

License: Other

TeX 93.94% Perl 0.23% Makefile 1.29% Batchfile 3.60% Common Workflow Language 0.95%
latex thesis ctex ctan latex-formulas chongqing-university cqutug

cquthesis's People

Contributors

eigensolver avatar hagb avatar ilcpm avatar ioriens avatar nanmu42 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cquthesis's Issues

Writing in English only?

Is there a way to make the figures and tables captions in English while using "bilinguallist=off", also the titles of :

  • Table of Contents
  • List of Equations
  • List of Figures
  • List of Tables
  • References

in other words can the template has a configuration for writing in English only.

“makewin.bat” 安装报错

image

如图所示,在 Win10 专业版 + TeX Live 2018(各软件包已更新为最新版)环境下运行 “makewin.bat” 会报错。已确定路径无中文,且已是管理员模式启动。

在 Mac OS 上使用是可以成功编译的,所以猜测可能是 Windows 环境的问题,但是具体问题在哪暂时没啥头绪,烦请开发组帮助,谢谢!

Make failed on Ubuntu 16.04 and Texlive 2016

(/usr/local/texlive/2016/texmf-dist/tex/latex/was/upgreek.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/listings/listings.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/listings/listings.cfg)))
(./cquthesis.cfg

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "kernel/key-unknown"
! 
! The key 'ctex/subsection/fixskip' is unknown and is being ignored.
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.114 }

请问使用时是直接对main.tex 进行编写吗?我在WinEdt中,采用LuaLatex编译没有错误,但是不能生成PDF。

使用手册里面写的 makewin doc,也有挺多错误,目前修改到如下情况:
`Package thumbpdf Warning: Missing driver name.

)) (C:\Users\TJG\Desktop\CQUThesis-master\ctex.sty
(d:\CTEX\MiKTeX\tex\latex\l3kernel\expl3.sty
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3names.sty
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3bootstrap.sty))
(d:\CTEX\MiKTeX\tex\latex\misc\etex.sty)
(d:\CTEX\MiKTeX\tex\latex\graphics\color.sty
(d:\CTEX\MiKTeX\tex\latex\00miktex\color.cfg)
(d:\CTEX\MiKTeX\tex\xelatex\xetex-def\xetex.def))
(d:\CTEX\MiKTeX\tex\latex\graphics\graphics.sty
(d:\CTEX\MiKTeX\tex\latex\graphics\trig.sty)
(d:\CTEX\MiKTeX\tex\latex\00miktex\graphics.cfg))
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3basics.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3expan.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3tl.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3seq.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3int.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3quark.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3prg.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3clist.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3token.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3prop.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3msg.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3file.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3skip.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3keys.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3fp.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3box.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3coffins.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3color.sty)
(d:\CTEX\MiKTeX\tex\latex\l3kernel\l3luatex.sty)))
Runaway argument?
01:15:24\relax \ProvidesExplPackage {\ExplFileName } {\ExplFileDate \ETC.
! File ended while scanning use of \GetIdInfoAuxSVN.

\par
l.26 \RequirePackage
[
?`
不知道应该怎么使用模板,抱歉,是否可以详细说明一下?感谢

cquthesis.cls样式文件编译出错(line 339,340)

xelatex和latexmk编译都出现fatal error:
Package caption: bi-first' undefined in families cap
tion'.
Package caption: bi-second' undefined in families ca
ption'.

cquthesis.cls: line 339-348

\captionsetup[bi-first]{bi-first}
\captionsetup[bi-second]{bi-second}
\DeclareCaptionOption{bi-first}[]{%
\def\tablename{\shorttablename}
\def\figurename{\shortfigurename}
}%bi-first
\DeclareCaptionOption{bi-second}[]{%
\def\tablename{\shorttablenameEN}
\def\figurename{\shortfigurenameEN}
}%bi-second

尝试交换DeclareCaptionOption和captionsetup语块位置,error解决。

cquthesis.cls 260行报错

Win下Miktex环境,报
!Undefined control sequence.
1.260 \ctexset
{%
?
请问如何解决??我同学Mac下编译无错。

模板编译不成功

Sorry, but xelatex did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:\Users\quanc\AppData\Local\MiKTeX\2.9\miktex\log\xelatex.log
Latexmk: fls file doesn't appear to have been made.
=== TeX engine is 'XeTeX'
Latexmk: References changed.
Latexmk: List of undefined refs and citations:
Reference fig:filetree' on page 2 undefined on input line 40 Reference tab:parallel1' on page 7 undefined on input line 128
Reference tab:parallel2' on page 7 undefined on input line 128 Reference tab:tabexamp1' on page 7 undefined on input line 52
Reference tab:tabexamp1' on page 7 undefined on input line 71 Reference tab:template-files' on page 6 undefined on input line 46
Reference `txt:FreqCmd' on page 1 undefined on input line 14
Latexmk: Summary of warnings from last run of (pdf)latex:
Latex failed to resolve 11 reference(s)
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
xelatex: Command for 'xelatex' gave return code 1
Refer to 'main.log' for details
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs, or warnings treated as errors.

siunitx 宏包配置的几个问题

参考了一下贵校的 siunitx 宏包配置,顺便反馈两个问题:

  1. list-final-separator = {和}, 应该在“和”的前后加空格,这样更符合中西文混排的习惯;list-pair-separator 同样。

  2. range-phrase = {$ \sim $}, 这里的 \sim 的用法是错误的,应该使用 “~”(Unicode FF5E)。

本科毕业论文格式页眉不同

页眉要求是这样的:

页眉内容:单面印制的,左对齐为“重庆大学本科学生毕业设计(论文)”,右对齐为各章章名;双面印制的,左页居中为“重庆大学本科学生毕业设计(论文)”,右页居中为各章章名。打印字号为小5号宋体,页眉之下有一条下划线。

但1.3开发版里面似乎是反过来的,即右面显示的是“重庆大学本科。。。”

Support for physics symbols and algorithmic diagram

Suggest add more CTAN packages in template, for complex physics symbols, like \partial derivative or Dirac symbol.

And some packages for computer science diagrams...maybe algrithm2e or something like that

文献引用的格式

现在的参考文献的格式是根据数字[1] [2]...的排列格式,想问以下如果想按照首字母的顺序来进行排列,应该怎么弄呢?

图和表的中英双语题注

能不能加入图标的双语标题?
当前,用\ccaptain,报错
用\bicaptain,中文标题:“图xx”,但是英文标题也是“图xx”。

CQUThesis的意义是什么(后续)

非常的多的格式对不上!一旦使用了这个模板,意味着你将花费超过Word数倍的时间来将格式改到同官方模板统一的标准。不要使用这个模板!!不要使用这个模板!!不要使用这个模板!!说三遍。
另外,我在此献上我的BS,跟模板不匹配的东西不要放出来推广好吗。奉劝维护人员负责任一点把模板改到同官方一致再发布,不然被坑的人如我是不会尊重你们的劳动成果的。

目录可切换为学校样例格式的提议

The CQU-provided .doc template gives an example of ToC with section styled in \zihao{5}\heiti and subsection styled in \zihao{5}\songti.

It is expected that some users may want to stick to this instruction.

A feasible alteration can be achieved by adding the following lines as an alternative to cquthesis.sty.

\renewcommand{\cftsecfont}{\heiti\zihao{5}}
\renewcommand{\cftsubsecfont}{\zihao{5}}

Ubuntu18.04.3 TexLive 2019 编译失败

latex cquthesis.ins
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
(./cquthesis.ins
LaTeX2e <2019-10-01> patch level 1
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' 2.5g <2018/05/03>
English documentation    <2018/05/03>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)

Generating file(s) ./cquthesis.cls ./cquthesis.cfg ./dtx-style.sty 

Processing file cquthesis.dtx (cls) -> cquthesis.cls
                              (cfg) -> cquthesis.cfg
                              (dtx-style) -> dtx-style.sty
File cquthesis.dtx ended by \endinput.
Lines  processed: 2517
Comments removed: 1288
Comments  passed: 0
Codelines passed: 1188

********************CQUThesis INFO******************
*
* To finish the installation you have to move the following
* files into a directory searched by TeX:
*
* The recommended directory is TEXMF/tex/latex/cquthesis
*
*   cquthesis.cls
*   cquthesis.cfg
*   cqunumerical.sty
*   cqunumerical.bst
*
* To produce the documentation please run these command:
*  xelatex cquthesis.dtx
*  makeindex -s gind.ist -o cquthesis.ind cquthesis.idx
*  makeindex -s gglo.ist -o cquthesis.gls cquthesis.glo
*  xelatex cquthesis.dtx
*  xelatex cquthesis.dtx
*
* Run these command will get you a typeseting example:
*  xelatex main.tex
*  bibtex main.tex
*  xelatex main.tex
*  xelatex main.tex
*
* ============== Tips =================
* Check makewin.bat and/or .Makefile for a *smoother* way to compile. :) 
*
* For further info, please go to:
*   https://github.com/nanmu42/CQUThesis
*
* Happy TeXing!
***********************************************************
 )
No pages of output.
Transcript written on cquthesis.log.
latexmk -xelatex -quiet -halt-on-error -interaction=nonstopmode main
Latexmk: Run number 1 of rule 'xelatex'
This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
Latexmk: Log file says no output from latex
Latexmk: For rule 'xelatex', no output was made
Collected error summary (may duplicate other messages):
  xelatex: Command for 'xelatex' gave return code 1
      Refer to 'main.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.
Makefile:61: recipe for target 'main.pdf' failed
make: *** [main.pdf] Error 12

支持《重庆大学博士、硕士学位论文撰写格式标准及要求(2019年修订)》

作者您好,非常感谢您和您的团队提供的这个开源项目,现在学校出台的新的毕业设计模板规定。重庆大学博士、硕士学位论文撰写格式标准及要求(2019年修订)发布以后,原《重庆大学博士、硕士学位论文撰写格式标准(2007修订)》(重大校〔2007〕468号)废止。您和您的团队能不能针对新的要求对版本进行更新呀。

提供LyX支持

首先感谢提供如此规范强大的重大毕业论文LaTeX模板。

LyX可以理解为一个基于LaTeX的前端“所见即所想”的GUI,使用起来特别方便。目前LyX支持CTeX里的所有documentclass,由R语言大神谢益辉完成。

想请问,目前团队是否有提供LyX的重大模板的计划?感谢!

用户反馈:排版中的细节问题

重庆大学TeX用户组中的FIVE同学反馈了以下问题:

  1. 英文封面的指导教师应该用“Supervised by”表达;
  2. 图的英文题注用“Fig”表达;
  3. 题注编号不加粗;
  4. 三级标题前后没有额外垂直距离,和正文同级。

感谢FIVE同学的反馈。

在WSL下使用Windows平台的字体输出PDF的方法

开个贴记录一下

WSL下ctex默认使用fandol字体编译,得到的PDF为fandol字体,和Windows平台的编译结果有肉眼可见的差异
上:Windows平台下得到的PDF文件,下:WSL默认情况下得到的PDF文件 (WSL下的字体更粗,正文的逗号看起来很奇怪)
image
image

具体操作步骤为:

  1. 百度“WSL Windows字体”相关内容,把Windows的字体映射到WSL
  2. 修改cquthesis.dtx第899行和901行,添加参数fontset=none,屏蔽掉ctex自动的系统平台检测
    image
  3. 运行命令latex cquthesis.ins刷新模板
  4. 在main.tex的导言区新增设定\ctexset{fontset=windows}
    image

而后即可正常编译得到以Windows字体输出的PDF文件;如需继续使用fandol字体,修改上述fontset=后的参数即可

使用WSL+Windows字体的编译时间:
image

使用WSL+默认字体的编译时间:
image

使用Windows平台的编译时间:
image

也就是说,在Windows平台下使用WSL虚拟机的编译时间仅为直接使用Windows的编译时间的一半

某些中文字体无法显示

在使用过程中,发现某些中文字体无法显示,例如“鳾”,“鹀”,“鹟”。有没有什么解决办法?能不能把模板中的中文字体换为“思源黑体”?

dtx-style 没有,无法编译使用手册

按照您 README-EN.md 文件的说明,用下面的命令,想编译出使用手册:

xelatex cquthesis.dtx
makeindex -s gind.ist -o cquthesis.ind cquthesis.idx
makeindex -s gglo.ist -o cquthesis.gls cquthesis.glo
xelatex cquthesis.dtx
xelatex cquthesis.dtx

但一上来就报没有 dtx-style.sty 的错误:

! LaTeX Error: File `dtx-style.sty' not found.

请问这是您写 ltxdoc 文档时,自己写的一个文件吗?把你写手册用到的宏包和命令都写到那里面去了?

顺便说一句,您的海报做得实在是太牛了!那个细节, The TeX Book 的封面(狮子手里拿的)上有您的模板,超赞!

LaTeX生成的pdf查重问题

你好,利用LaTeX生成的pdf文档在查重时仅能识别公式和英文字符,请问有什么解决方法吗?

A Chinese Character 堃

Dear LI,

I am trying to write the Chinese character '堃' but unfortunately it does not appear correctly. Instead, I get a different symbol � it looks like a square with the character F inside.

【本科】封面需新增“助理指导教师”“校外指导教师”的字段

需求描述

本科毕业设计中,有的同学会有助理指导老师或者在重庆大学之外进行毕业设计(常见于保研的同学),这时需要在论文封面上指定自己的“助理指导教师”和/或“校外指导教师”。

依照标准

重庆大学本科毕业设计Word样例(2007)

需求样例

example-cover-bachelor-cquthesis

详细说明

按照样例,“助理指导教师”和/或“校外指导教师”的垂直位置在学号和专业之间,但是样例本身不是很清晰,目前还有以下疑问:

  1. 当存在校外指导教师时,“校外指导教师”字段是排在”指导教师“之后,或是直接取代”指导教师“?
  2. 在校外指导教师和助理指导教师同时存在时,”指导教师“、“助理指导教师”和“校外指导教师”的出现与否和先后关系是怎样的?

以上两个问题需要进一步确认,其中问题1最为关键,最好能够找到由校外教师指导的,已经成功毕业的本科生的毕设封面。

**另议:**我校的毕设规范还不够细致,粒度不够,歧义旁生。

Issue来源

重庆大学TeX用户组 “落尘”同学,在此表示谢意。

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.