Git Product home page Git Product logo

cumcmthesis's Introduction

全国大学生数学建模竞赛 LaTeX 论文模板

cumcmthesis 是为全国大学生数学建模竞赛编写的 LaTeX 模板, 旨在让大家专注于 论文的内容写作, 而不用花费过多精力在格式的定制和调整上. 本手册是相应的参考, 其 中提供了一些环境和命令可以让模板的使用更为方便. 同时需要注意, 使用者需要有一 定的 LaTeX 的使用经验, 至少要会使用 ctex 宏包的一些功能, 比如调节字距或修改字体 大小等等. 例子文件参看 example.pdf.

另外, 本模板制作了视频使用教程, 参看这里.

2019年建模模板的免费视频教程:

第一部分: https://www.bilibili.com/video/av64191560

第二部分: https://www.bilibili.com/video/av64221508

更新记录

2023 年 9 月: 1, 更新了前面承诺书版式。

2021 年 7 月: 1, 更新 uline 与 hspace 的兼容问题。

2020 年 8 月:

1,适配官网新格式的封面和编号页。格式在这里

2,调整了部分的内容和说明。

2019年9月更新:

1,适配官网格式:http://mcm.edu.cn/html_cn/node/8e7b0262daa56b8953d1b6ccaada9ed4.html

2,增加了更新说明,格式的说明,视频依然可以使用!

2019年8月更新:

1,更新说明文件和样例。

2,增加了免费视频教程和基础知识介绍。

2018年9月14日更新:

1,修改前面的承诺书内容。

2,修改附录链接问题,目录格式。

2017年8月14日更新说明:

  1. 请大家使用较新的 LaTeX 发行版本进行编译,下载地址:http://www.latexstudio.net/page/texsoftware 首页焦点图。不要使用 CTeX 套装。

  2. 遇到问题可以到91940767群进行交流或478023327群交流

2017年7月28日更新:

  1. 适配2016年的格式要求,调整了承诺和编号页的内容。

  2. 修改了附录的代码输入样式。

如果需要去掉封面并把论文标题保留在摘要上面,在加载类的使用如下语句:

    \documentclass[withoutpreface,bwprint]{cumcmthesis}

如果需要封面页,则是与原来一致:

    \documentclass[bwprint]{cumcmthesis}

cumcmthesis's People

Contributors

abreto avatar camusecao avatar chenboshuo avatar latexstudio avatar osbertwang avatar syvshc 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cumcmthesis's Issues

Undefined control sequence.

编译出现以下错误怎么办吖
! Undefined control sequence.
l.124 \newCJKfontfamily
[song]\song{SimSun}[AutoFakeBold]
?

Package fontspec Error: The font "SimSun" cannot be found.

I am using Overleaf for my Chinese thesis work and while using " \setCJKmainfont[AutoFakeBold = {2.25},ItalicFont={[simkai.ttf]}]{SimSun} " having this issue "Package fontspec Error: The font "SimSun" cannot be found." How I can solve this..

关于文档字体的疑问

作者你好:
本人了解LaTeX基本用法比较熟悉,可以熟练编写文书。但是对宏包、版本兼容性之类了解甚少。
最近下载了您的模板,我的TexStudio版本是4.0.1 (git 4.0.1),MiKTeX Console版本是4.8。
文档编译成功,结果如下。
image
我想请教的是相关字体显示的和标准样板不一样的问题,是因为以下宏包中有一些没有被下载的问题吗?
image
祝好,期待回复。
liskelleo

能否根据TeXLive2020对贵模板进行修正

最近在为今年建模竞赛准备时,使用贵模板时发现无法成功编译(编译文档是模板自带的example.tex),主要的报错是类似如下的报错:

{
"resource": CUMCMThesis-master/example.tex",
"owner": "LaTeX",
"severity": 4,
"message": "Token not allowed in a PDF string (Unicode):\n(hyperref)\tremoving `\leavevmode@ifvmode'.\n",
"source": "LaTeX",
"startLineNumber": 370,
"startColumn": 1,
"endLineNumber": 370,
"endColumn": 65536
}

是关于\section,\subsection报错,对于模板我学习的不是很多,请问这样的报错是不是因为texlive2020更新而模板是基于2019导致的嘛,可以先更新一下模板吗?

(Overleaf) Use dev branch but also dumped

使用了 dev 分支上的文件,但是在 overleaf 上还是转化不成功 🆘 ,存在这两个问题:

  1. 有不支持的字体
Critical Package ctex Error: CTeX fontset `fandol' is unavailable in current

(ctex)                         mode.

Type <return> to continue.
 ...                                              
                                                  
l.103   }
  1. 检测不出来 \RequireXeTex
<read *> 
         
l.37 \RequireXeTeX
                  
*** (cannot \read from terminal in nonstop modes)

License

Is there any restriction on redistribution? What's the license?

放到overleaf编译Timeout

  1. 啥都不管,放到overleaf编译timeout
  2. 设置Xelatex编译后,报错不能使用snakes包,改用decorations包,改好了之后仍然报错
    Package hyperref Warning: Rerun to get /PageLabels entry
    不知道怎么解决

使用longtable时,自动编号会有问题

连续使用两个longtable,编号会从表1直接变成表3.
下面代码节选自example.tex,只将tabular环境改为了longtable环境。

\section{绘制普通三线表格}
表格应具有三线表格式,因此常用 booktabs宏包,其标准格式如\cref{tab:001}~所示。
\begin{table}[!htbp]
    \caption{标准三线表格}\label{tab:001} \centering
    \begin{longtable}{ccccc}
        \toprule[1.5pt]
        $D$(in) & $P_u$(lbs) & $u_u$(in) & $\beta$ & $G_f$(psi.in)\\
        \midrule[1pt]
        5 & 269.8 & 0.000674 & 1.79 & 0.04089\\
        10 & 421.0 & 0.001035 & 3.59 & 0.04089\\
        20 & 640.2 & 0.001565 & 7.18 & 0.04089\\
        \bottomrule[1.5pt]
    \end{longtable}
\end{table}
\section{模板所用的宏包}
\begin{table}[htbp]
    \centering
    \caption{宏包罗列}
    \begin{longtable}{ccccc}
        \toprule
        \multicolumn{5}{c}{模板中已经加载的宏包} \\
        \midrule
        amsbsy & amsfonts & {amsgen} & {amsmath} & {amsopn} \\
        amssymb & amstext & {appendix} & {array} & {atbegshi} \\
        atveryend & auxhook & {bigdelim} & {bigintcalc} & {bigstrut} \\
        bitset & bm    & {booktabs} & {calc} & {caption} \\
        caption3 & CJKfntef & {cprotect} & {ctex} & {ctexhook} \\
        ctexpatch & enumitem & {etexcmds} & {etoolbox} & {everysel} \\
        expl3 & fix-cm & {fontenc} & {fontspec} & {fontspec-xetex} \\
        geometry & gettitlestring & {graphics} & {graphicx} & {hobsub} \\
        hobsub-generic & hobsub-hyperref & {hopatch} & {hxetex} & {hycolor} \\
        hyperref & ifluatex & {ifpdf} & {ifthen} & {ifvtex} \\
        ifxetex & indentfirst & {infwarerr} & {intcalc} & {keyval} \\
        kvdefinekeys & kvoptions & {kvsetkeys} & {l3keys2e} & {letltxmacro} \\
        listings & longtable & {lstmisc} & {ltcaption} & {ltxcmds} \\
        multirow & nameref & {pdfescape} & {pdftexcmds} & {refcount} \\
        rerunfilecheck & stringenc & {suffix} & {titletoc} & {tocloft} \\
        trig  & ulem  & {uniquecounter} & {url} & {xcolor} \\
        xcolor-patch & xeCJK & {xeCJKfntef} & {xeCJK-listings} & {xparse} \\
        xtemplate & zhnumber &       &       &  \\
        \bottomrule
    \end{longtable}%
    \label{tab:addlabel}%
\end{table}%

关键字改为关键词

根据建模官网的 ”全国大学生数学建模竞赛论文格式规范" ,是否可以将本模版中的”关键字“改为”关键词"。

与ltablex冲突

在使用ltablex之后模板显示异常
image

不同的代码片段如下

%% booktabs 提供了\toprule 等命令.
\RequirePackage{booktabs}
% 表格自动换行
\RequirePackage{tabularx}
\RequirePackage{ltablex}

请问是发生什么问题了

\subsubsection 不显示章节号的数字

正常情况下\subsubsection{新的一章}在文章里的结果应该是:

1.1.1 新的一章

`但是现在的模板中,'\subsubsection'的结果并没有前面的数字,就是:

新的一章

也就是说下面的这个代码没起到作用:
\renewcommand\thesubsubsection{\thesubsection\thinspace.\thinspace\arabic{subsubsection}}
这个问题在去年的模板里就已经存在了。

另外我现在的环境是TeXLive 2016,去年的环境是TeXLive 2015,我不知道CTEX下有没有问题,希望您有时间能够检查一下这个问题,感激不尽。

用overleaf来写数模论文的请看这里😁

我也是为了方便不想本地下载latex的相关编译文档就直接把项目塞进overleaf中,发现好像overleaf没准备中文的字体库,我先是遇到了Package fontspec Error: The font "SimSun" cannot be found.这个报错,然后又出现了OC34VSHBS{ 3Q3PS~1NEJ

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.