texlive[69509] Master/texmf-dist: mcmthesis (20jan24)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 20 22:08:17 CET 2024


Revision: 69509
          https://tug.org/svn/texlive?view=revision&revision=69509
Author:   karl
Date:     2024-01-20 22:08:16 +0100 (Sat, 20 Jan 2024)
Log Message:
-----------
mcmthesis (20jan24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/mcmthesis/LICENSE
    trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md
    trunk/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-sudoku.cpp
    trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.pdf
    trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex
    trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis.pdf
    trunk/Master/texmf-dist/source/latex/mcmthesis/mcmthesis.dtx
    trunk/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls

Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/LICENSE
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/LICENSE	2024-01-20 21:08:05 UTC (rev 69508)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/LICENSE	2024-01-20 21:08:16 UTC (rev 69509)
@@ -2,4 +2,4 @@
 (http://www.latex-project.org/lppl.txt), v1.3c or later.
 
 The package has status 'maintained': the current maintainer is
-[Liam Huang](liamhuang0205+mcmthesis at gmail.com).
+[latexstudi](latexstudio at qq.com).

Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md	2024-01-20 21:08:05 UTC (rev 69508)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md	2024-01-20 21:08:16 UTC (rev 69509)
@@ -1,19 +1,5 @@
-# 美国数学建模 LaTeX 模板
-
-不少用户直接 clone 或者下载我们的库文件, 使用之前请认真阅读说明文档 mcmthesis.pdf 内容. 
-
-一, 如果你要获取示例代码, 请执行 `xetex mcmthesis.dtx` 自动解包出来代码.
-
-二, 如果你想直接获取例子代码. 可以到 [release页面](https://github.com/latexstudio-org/mcmthesis/releases) 获取 mcmthesis-demo.zip 文件即可.
-
-
-针对美国建模, 这里做了视频说明: [2020 美国数学建模 LaTeX 模板更新说明](https://www.bilibili.com/video/av85259525)
-
-
-我们整理了学习资料包, 关注如下公众号回复: **建模2020**  即可获取. 
-
-<img src="https://pics.latexstudio.net/wp-content/themes/dux/img/gongzhonghao5.jpg" alt="" width="350px">
-
+# The `mcmthesis` Class
+ 
 This class is designed for the MCM/ICM.
 
 This work is released under the [LaTeX Project Public
@@ -45,7 +31,7 @@
 
 ## Authors
 
-* [latexstudio][latexstudio]: 343083553 at qq.com
+* [latexstudio][latexstudio]: latexstudio at qq.com
 * [Liam Huang][liam-ctan]: liamhuang0205+mcmthesis at gmail.com
 
 ## Project Page

Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-sudoku.cpp
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-sudoku.cpp	2024-01-20 21:08:05 UTC (rev 69508)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-sudoku.cpp	2024-01-20 21:08:16 UTC (rev 69509)
@@ -1,6 +1,6 @@
 //============================================================================
 // Name        : Sudoku.cpp
-// Author      : wzlf11
+// Author      : lst
 // Version     : a.0
 // Copyright   : Your copyright notice
 // Description : Sudoku in C++.

Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex	2024-01-20 21:08:05 UTC (rev 69508)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex	2024-01-20 21:08:16 UTC (rev 69509)
@@ -11,7 +11,7 @@
 %% This is a generated file.
 %% 
 %% Copyright (C)
-%%       2010 -- 2015 by Zhaoli Wang
+%%       2010 -- 2015 by latexstudio
 %%       2014 -- 2019 by Liam Huang
 %%       2019 -- present by latexstudio.net
 %% 
@@ -40,7 +40,7 @@
 %% This is a generated file.
 %%
 %% Copyright (C)
-%%       2010 -- 2015 by Zhaoli Wang
+%%       2010 -- 2015 by latexstudio
 %%       2014 -- 2019 by Liam Huang
 %%       2019 -- present by latexstudio.net
 %%
@@ -54,14 +54,20 @@
 %%
 %% This work has the LPPL maintenance status `maintained'.
 %%
-%% The Current Maintainer of this work is Liam Huang.
+%% The Current Maintainer of this work is latexstudio.net.
 %%
 \documentclass{mcmthesis}
-\mcmsetup{CTeX = false,   % ^^e4^^bd^^bf^^e7^^94^^a8 CTeX ^^e5^^a5^^97^^e8^^a3^^85^^e6^^97^^b6^^ef^^bc^^8c^^e8^^ae^^be^^e7^^bd^^ae^^e4^^b8^^ba true
+ %\documentclass[CTeX = true]{mcmthesis}  % ^^e5^^bd^^93^^e4^^bd^^bf^^e7^^94^^a8 CTeX ^^e5^^a5^^97^^e8^^a3^^85^^e6^^97^^b6^^e8^^af^^b7^^e6^^b3^^a8^^e9^^87^^8a^^e4^^b8^^8a^^e4^^b8^^80^^e8^^a1^^8c^^e4^^bd^^bf^^e7^^94^^a8^^e8^^af^^a5^^e8^^a1^^8c^^e7^^9a^^84^^e8^^ae^^be^^e7^^bd^^ae
+\mcmsetup{
         tcn = 0000, problem = A,
         sheet = true, titleinsheet = true, keywordsinsheet = true,
-        titlepage = true, abstract = true}
-\usepackage{newtxtext}%\usepackage{palatino}
+        titlepage = false, abstract = true}
+
+ %^^e4^^b8^^89^^e6^^ac^^be^^e5^^ad^^97^^e4^^bd^^93^^e5^^8f^^af^^e4^^bb^^a5^^e9^^80^^89^^e6^^8b^^a9
+\usepackage{times}
+ %\usepackage{newtxtext}
+ %\usepackage{palatino}
+
 \usepackage{lipsum}
 \title{The \LaTeX{} Template for MCM Version \MCMversion}
 \author{\small \href{https://www.latexstudio.net/}

Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/mcmthesis/mcmthesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/mcmthesis/mcmthesis.dtx	2024-01-20 21:08:05 UTC (rev 69508)
+++ trunk/Master/texmf-dist/source/latex/mcmthesis/mcmthesis.dtx	2024-01-20 21:08:16 UTC (rev 69509)
@@ -3,7 +3,7 @@
 % This is file `mcmthesis.dtx'.
 %
 % Copyright (C)
-%     2010 -- 2015 by Zhaoli Wang
+%     2010 -- 2015 by latexstudio
 %     2014 -- 2019 by Liam Huang
 %     2019 -- present by latexstudio.net
 % -----------------------------------
@@ -36,7 +36,7 @@
 This is a generated file.
 
 Copyright (C)
-      2010 -- 2015 by Zhaoli Wang
+      2010 -- 2015 by latexstudio
       2014 -- 2019 by Liam Huang
       2019 -- present by latexstudio.net
 
@@ -104,15 +104,14 @@
 %</internal>
 %<*driver>
 \ProvidesFile{mcmthesis.dtx}
-  [2021/01/05 v6.3.1 The Thesis Template Designed For MCM/ICM]
+  [2024/01/15 v6.3.2 The Thesis Template Designed For MCM/ICM]
 \documentclass{ltxdoc}
 \EnableCrossrefs
 \CodelineIndex
 \RecordChanges
-\usepackage[UTF8, fntef, hyperref]{ctexcap}
+\usepackage[UTF8, fntef]{ctexcap}
 \usepackage{hologo}
-\usepackage{xcolor}
-\usepackage{tabu}
+\usepackage{xcolor} 
 \usepackage{longtable}
 \usepackage{booktabs}
 \usepackage{listings}
@@ -140,6 +139,7 @@
 \newcommand{\file}[1]{\textsf{#1}}
 \newcommand{\path}[1]{\textsf{#1}}
 \newcommand{\mopt}{\textsf}
+\usepackage{hyperref}
 \begin{document}
   \DocInput{\jobname.dtx}
 \end{document}
@@ -164,7 +164,7 @@
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
-% \changes{v6.3.1}{2021/01/05}{更新版面尺寸,细节格式。}
+% \changes{v6.3.2}{2024/01/19}{更新版面尺寸,细节格式。}
 %
 % \GetFileInfo{\jobname.dtx}
 %
@@ -189,7 +189,7 @@
 %
 % \section{模板介绍}
 %
-% 这份模板最早由王昭礼设计,并在往年参赛者的建议下不断改进。2014 年年初,黄晨成接手模板,
+% 这份模板最早由 latexstudio 设计,并在往年参赛者的建议下不断改进。2014 年年初,黄晨成接手模板,
 % 用 key-value 语法重构了文档选项,并修复了一些 bug。2015 年年初,黄晨成将模板使用
 % \pkg{DocStrip} 的语法重构,并上传至 CTAN。
 %
@@ -242,7 +242,7 @@
 % \subsection{依赖}
 % \pkg{mcmthesis} 依赖于以下宏包,这些宏包在常见的 \TeX{} 发行版中都已包含,
 % 在安装使用之前,请确认你的 \TeX{} 发行版中正确安装了这些宏包。
-% \begin{longtabu}{cccc}
+% \begin{longtable}{cccc}
 %   \toprule
 %   \pkg{xkeyval} & \pkg{etoolbox} & \pkg{fancyhdr} & \pkg{fancybox} \\
 %   \pkg{ifthen} & \pkg{lastpage} & \pkg{listings} & \pkg{appendix} \\
@@ -257,7 +257,7 @@
 %   \pkg{graphicx} & \pkg{epstopdf} & \pkg{bmpsize} & \pkg{xcolor}\\
 %   \pkg{longtable} & \pkg{tabu} & \pkg{hologo} & \pkg{palatino}\\
 %   \bottomrule
-% \end{longtabu}
+% \end{longtable}
 % 如果你尚未安装这些宏包,可以启动你的 \TeX{} 发行版的宏包管理器
 % 来安装;或者到 \url{http://www.ctan.org} 上搜索下载并安装。
 %
@@ -280,6 +280,7 @@
 % \fi
 \begin{lstlisting}[language={[LaTeX]TeX}]
 \documentclass{mcmthesis}
+%\documentclass[CTeX = true]{mcmthesis}  % 当使用 CTeX 套装时使用该行设置
 \mcmsetup{tcn = 12345, problem = B, titlepage = false}
 \end{lstlisting}
 % \iffalse
@@ -399,6 +400,7 @@
 %   \item [6.2.1] 将默认字号由 |11pt| 修改为 |12pt|。
 %   \item [6.3] 修改summary的版面样式。
 %   \item [6.3.1] 将默认的版面尺寸由 |a4paper| 修改为 |letterpaper|。
+%   \item [6.3.2] 修复了一些版式异常和兼容性问题。
 % \end{description}
 %
 % \title{\hypertarget{English}{%
@@ -420,7 +422,7 @@
 %
 % \section{Introduction}
 %
-% This template was designed by Zhaoli Wang first, and was improved by him
+% This template was designed by latexstudio first, and was improved by him
 % following the suggestions from contest takers. In the beginning of the year
 % 2014, Liam Huang redesigned it, by using key-value syntax, and fixed known
 % bugs. Liam reimplemented it at the begining of the year 2015,
@@ -481,7 +483,7 @@
 % These packages has been installed in common \TeX{} distribution.
 % Before installation, please make sure that you have installed these
 % packages correctly.
-% \begin{longtabu}{cccc}
+% \begin{longtable}{cccc}
 %   \toprule
 %   \pkg{xkeyval} & \pkg{etoolbox} & \pkg{fancyhdr} & \pkg{fancybox} \\
 %   \pkg{ifthen} & \pkg{lastpage} & \pkg{listings} & \pkg{appendix} \\
@@ -496,7 +498,7 @@
 %   \pkg{graphicx} & \pkg{epstopdf} & \pkg{bmpsize} & \pkg{xcolor}\\
 %   \pkg{longtable} & \pkg{tabu} & \pkg{hologo} & \pkg{palatino}\\
 %   \bottomrule
-% \end{longtabu}
+% \end{longtable}
 % If you haven't install these packages, you could execute the package
 % manager of your distribution and install them; you could also download
 % them from \url{http://www.ctan.org}.
@@ -519,7 +521,7 @@
 %<*internal>
 % \fi
 \begin{lstlisting}[language={[LaTeX]TeX}]
-\documentclass{mcmthesis}
+\documentclass{mcmthesis} 
 \mcmsetup{tcn = 12345, problem = B, titlepage = false}
 \end{lstlisting}
 % \iffalse
@@ -635,6 +637,7 @@
 %   \item [6.2.1] Change default fontsize, from |11pt| to |12pt|.
 %   \item [6.3] Change summary sheet layout and demo code.
 %   \item [6.3.1] Change the default papersize, frome |a4paper| to |letterpaper|.
+%   \item [6.3.2] fixed some bugs and ctex compatibility.
 % \end{description}
 %
 % \StopEventually{}
@@ -644,9 +647,9 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{mcmthesis}
-  [2021/01/05 v6.3.1 The Thesis Template Designed For MCM/ICM]
+  [2024/01/19 v6.3.2 The Thesis Template Designed For MCM/ICM]
 \typeout{The Thesis Template Designed For MCM/ICM}
-\def\MCMversion{v6.3.1}
+\def\MCMversion{v6.3.2}
 %    \end{macrocode}
 % \subsection{Options}
 %
@@ -823,19 +826,18 @@
 % sheet and titlepage should be printed.
 %    \begin{macrocode}
 \def\maketitle{%
-  \let\saved at thepage\thepage
-  \let\thepage\relax
+  %\let\saved at thepage\thepage
+  %\let\thepage\relax
   \ifMCM at opt@sheet
   \makesheet
   \fi
   \newpage
+  \setcounter{page}{1}
+  \pagestyle{fancy}
   \ifMCM at opt@titlepage
     \MCM at maketitle
   \fi
   \newpage
-  \let\thepage\saved at thepage
-  \setcounter{page}{1}
-  \pagestyle{fancy}
 }
 %    \end{macrocode}
 %
@@ -903,7 +905,7 @@
 %    \begin{macrocode}
 \newcommand{\problem}[1]{\mcmsetup{problem = #1}}
 \def\makesheet{%
-  \pagestyle{empty}%
+  \thispagestyle{empty}%
   \null%
   \vspace*{-5pc}%
   \begin{center}
@@ -912,7 +914,7 @@
      \begin{minipage}[t]{0.33\linewidth}
       \centering%
       \textbf{Problem Chosen}\\[0.7pc]
-      {\fontsize{20pt}{\baselineskip}\selectfont{\MCM at opt@problem}}\\[2.8pc]
+      {\Large\textcolor{red}{\MCM at opt@problem}}\\[2.8pc]
      \end{minipage}%
      \begin{minipage}[t]{0.33\linewidth}
       \centering%
@@ -921,7 +923,7 @@
      \begin{minipage}[t]{0.33\linewidth}
       \centering%
       \textbf{Team Control Number}\\[0.7pc]
-      {\fontsize{20pt}{\baselineskip}\selectfont{\MCM at opt@tcn}}\\[2.8pc]
+      {\Large\textcolor{red}{\MCM at opt@tcn}}\\[2.8pc]
      \end{minipage}\par
   \rule{\linewidth}{1.5pt} 
   \endgroup
@@ -941,8 +943,11 @@
 % Defining the \cs{MCM at maketitle}
 %    \begin{macrocode}
 \newcommand{\MCM at maketitle}{%
+  %\let\thepage\saved at thepage
+  %\setcounter{page}{1}
   \begin{center}%
-  \let \footnote \thanks
+  \let \footnote \thanks%
+  \pagestyle{fancy}%
     {\LARGE \@title \par}%
     \vskip 1.5em%
     {\large
@@ -983,7 +988,7 @@
 % Now, we could define the |memo| environment.
 %    \begin{macrocode}
 \newenvironment{memo}[1][Memorandum]{%
-  \pagestyle{plain}%
+  \pagestyle{fancy}%
   \ifthenelse{\equal{\MCM at memologo}{\relax}}{%
     % without logo specified.
   }{%
@@ -1097,7 +1102,7 @@
 %% This is a generated file.
 %%
 %% Copyright (C)
-%%       2010 -- 2015 by Zhaoli Wang
+%%       2010 -- 2015 by latexstudio
 %%       2014 -- 2019 by Liam Huang
 %%       2019 -- present by latexstudio.net
 %%
@@ -1111,14 +1116,20 @@
 %%
 %% This work has the LPPL maintenance status `maintained'.
 %%
-%% The Current Maintainer of this work is Liam Huang.
+%% The Current Maintainer of this work is latexstudio.net.
 %%
 \documentclass{mcmthesis}
-\mcmsetup{CTeX = false,   % 使用 CTeX 套装时,设置为 true
+ %\documentclass[CTeX = true]{mcmthesis}  % 当使用 CTeX 套装时请注释上一行使用该行的设置
+\mcmsetup{
         tcn = 0000, problem = A,
         sheet = true, titleinsheet = true, keywordsinsheet = true,
-        titlepage = true, abstract = true}
-\usepackage{newtxtext}%\usepackage{palatino}
+        titlepage = false, abstract = true}
+
+ %三款字体可以选择
+\usepackage{times}
+ %\usepackage{newtxtext}
+ %\usepackage{palatino}
+
 \usepackage{lipsum}
 \title{The \LaTeX{} Template for MCM Version \MCMversion}
 \author{\small \href{https://www.latexstudio.net/}

Modified: trunk/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls	2024-01-20 21:08:05 UTC (rev 69508)
+++ trunk/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls	2024-01-20 21:08:16 UTC (rev 69509)
@@ -11,7 +11,7 @@
 %% This is a generated file.
 %% 
 %% Copyright (C)
-%%       2010 -- 2015 by Zhaoli Wang
+%%       2010 -- 2015 by latexstudio
 %%       2014 -- 2019 by Liam Huang
 %%       2019 -- present by latexstudio.net
 %% 
@@ -29,9 +29,9 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{mcmthesis}
-  [2021/01/05 v6.3.1 The Thesis Template Designed For MCM/ICM]
+  [2024/01/19 v6.3.2 The Thesis Template Designed For MCM/ICM]
 \typeout{The Thesis Template Designed For MCM/ICM}
-\def\MCMversion{v6.3.1}
+\def\MCMversion{v6.3.2}
 \RequirePackage{xkeyval}
 \RequirePackage{etoolbox}
 \define at boolkey{MCM}[MCM at opt@]{CTeX}[false]{}
@@ -130,19 +130,18 @@
 \graphicspath{{./}{./img/}{./fig/}{./image/}{./figure/}{./picture/}
             {./imgs/}{./figs/}{./images/}{./figures/}{./pictures/}}
 \def\maketitle{%
-  \let\saved at thepage\thepage
-  \let\thepage\relax
+  %\let\saved at thepage\thepage
+  %\let\thepage\relax
   \ifMCM at opt@sheet
   \makesheet
   \fi
   \newpage
+  \setcounter{page}{1}
+  \pagestyle{fancy}
   \ifMCM at opt@titlepage
     \MCM at maketitle
   \fi
   \newpage
-  \let\thepage\saved at thepage
-  \setcounter{page}{1}
-  \pagestyle{fancy}
 }
 \def\abstractname{Summary}
 \ifMCM at opt@CTeX
@@ -192,7 +191,7 @@
 \newcommand{\headset}{{\the\year}\\MCM/ICM\\Summary Sheet}
 \newcommand{\problem}[1]{\mcmsetup{problem = #1}}
 \def\makesheet{%
-  \pagestyle{empty}%
+  \thispagestyle{empty}%
   \null%
   \vspace*{-5pc}%
   \begin{center}
@@ -201,7 +200,7 @@
      \begin{minipage}[t]{0.33\linewidth}
       \centering%
       \textbf{Problem Chosen}\\[0.7pc]
-      {\fontsize{20pt}{\baselineskip}\selectfont{\MCM at opt@problem}}\\[2.8pc]
+      {\Large\textcolor{red}{\MCM at opt@problem}}\\[2.8pc]
      \end{minipage}%
      \begin{minipage}[t]{0.33\linewidth}
       \centering%
@@ -210,7 +209,7 @@
      \begin{minipage}[t]{0.33\linewidth}
       \centering%
       \textbf{Team Control Number}\\[0.7pc]
-      {\fontsize{20pt}{\baselineskip}\selectfont{\MCM at opt@tcn}}\\[2.8pc]
+      {\Large\textcolor{red}{\MCM at opt@tcn}}\\[2.8pc]
      \end{minipage}\par
   \rule{\linewidth}{1.5pt}
   \endgroup
@@ -226,8 +225,11 @@
   \make at abstract
 \fi}
 \newcommand{\MCM at maketitle}{%
+  %\let\thepage\saved at thepage
+  %\setcounter{page}{1}
   \begin{center}%
-  \let \footnote \thanks
+  \let \footnote \thanks%
+  \pagestyle{fancy}%
     {\LARGE \@title \par}%
     \vskip 1.5em%
     {\large
@@ -258,7 +260,7 @@
 \def\@letterheadaddress{\relax}
 \newcommand{\lhaddress}[1]{\gdef\@letterheadaddress{#1}}
 \newenvironment{memo}[1][Memorandum]{%
-  \pagestyle{plain}%
+  \pagestyle{fancy}%
   \ifthenelse{\equal{\MCM at memologo}{\relax}}{%
     % without logo specified.
   }{%



More information about the tex-live-commits mailing list.