texlive[53513] Master/texmf-dist: mcmthesis (23jan20)
commits+karl at tug.org
commits+karl at tug.org
Thu Jan 23 22:54:55 CET 2020
Revision: 53513
http://tug.org/svn/texlive?view=revision&revision=53513
Author: karl
Date: 2020-01-23 22:54:54 +0100 (Thu, 23 Jan 2020)
Log Message:
-----------
mcmthesis (23jan20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/mcmthesis/LICENSE.tex
trunk/Master/texmf-dist/doc/latex/mcmthesis/README.tex
trunk/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m
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
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md
trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-a.pdf
trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-b.pdf
trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-c.pdf
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/mcmthesis/README
trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/mcmthesis-aaa.eps
Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/LICENSE.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/LICENSE.tex 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/LICENSE.tex 2020-01-23 21:54:54 UTC (rev 53513)
@@ -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).
+[latexstudio](latexstudio at qq.com).
Deleted: trunk/Master/texmf-dist/doc/latex/mcmthesis/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/README 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/README 2020-01-23 21:54:54 UTC (rev 53513)
@@ -1,44 +0,0 @@
-# The `mcmthesis` Class
-
-This class is designed for the MCM/ICM.
-
-This work is released under the [LaTeX Project Public
-License](http://www.latex-project.org/lppl.txt), v1.3c or later.
-
-## Installation
-
-```plain
-This work consists of the file mcmthesis.dtx,
- figures/, and
- code/,
-and the derived files mcmthesis.cls,
- mcmthesis-demo.tex,
- README,
- LICENSE,
- mcmthesis.pdf and
- mcmthesis-demo.pdf.
-
-To install this class, you should
- compile mcmthesis.dtx with xetex mcmthesis.dtx,
- compile mcmthesis.dtx with xelatex mcmthesis.dtx twice,
- compile mcmthesis-demo.tex with xelatex mcmthesis-demo.tex twice,
- rename README.tex and LICENSE.tex respectively to README and LICENSE,
- move mcmthesis.cls to TEXMF/tex/latex/mcmthesis/,
- move mcmthesis.dtx to TEXMF/source/latex/mcmthesis/,
- move other files to TEXMF/doc/latex/mcmthesis/ and then
- run texhash.
-```
-
-## Authors
-
-* [Zhaoli Wang][zhaoli]: 343083553 at qq.com
-* [Liam Huang][liam-ctan]: liamhuang0205+mcmthesis at gmail.com
-
-## Project Page
-
-If you are interested in the process of development you may observe
-
-<https://github.com/Liam0205/mcmthesis>
-
-[zhaoli]: http://www.latexstudio.net/
-[liam-ctan]: http://www.ctan.org/author/huang-l
Added: trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md 2020-01-23 21:54:54 UTC (rev 53513)
@@ -0,0 +1,44 @@
+# The `mcmthesis` Class
+
+This class is designed for the MCM/ICM.
+
+This work is released under the [LaTeX Project Public
+License](http://www.latex-project.org/lppl.txt), v1.3c or later.
+
+## Installation
+
+```plain
+This work consists of the file mcmthesis.dtx,
+ figures/, and
+ code/,
+and the derived files mcmthesis.cls,
+ mcmthesis-demo.tex,
+ README,
+ LICENSE,
+ mcmthesis.pdf and
+ mcmthesis-demo.pdf.
+
+To install this class, you should
+ compile mcmthesis.dtx with xetex mcmthesis.dtx,
+ compile mcmthesis.dtx with xelatex mcmthesis.dtx twice,
+ compile mcmthesis-demo.tex with xelatex mcmthesis-demo.tex twice,
+ rename README.tex and LICENSE.tex respectively to README and LICENSE,
+ move mcmthesis.cls to TEXMF/tex/latex/mcmthesis/,
+ move mcmthesis.dtx to TEXMF/source/latex/mcmthesis/,
+ move other files to TEXMF/doc/latex/mcmthesis/ and then
+ run texhash.
+```
+
+## Authors
+
+* [Zhaoli Wang][zhaoli]: 343083553 at qq.com
+* [Liam Huang][liam-ctan]: liamhuang0205+mcmthesis at gmail.com
+
+## Project Page
+
+If you are interested in the process of development you may observe
+
+<https://github.com/Liam0205/mcmthesis>
+
+[zhaoli]: http://www.latexstudio.net/
+[liam-ctan]: http://www.ctan.org/author/huang-l
Property changes on: trunk/Master/texmf-dist/doc/latex/mcmthesis/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/README.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/README.tex 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/README.tex 2020-01-23 21:54:54 UTC (rev 53513)
@@ -31,7 +31,7 @@
## Authors
-* [Zhaoli Wang][zhaoli]: 343083553 at qq.com
+* [latexstudio][latexstudio]: latexstudio at qq.com
* [Liam Huang][liam-ctan]: liamhuang0205+mcmthesis at gmail.com
## Project Page
@@ -38,7 +38,7 @@
If you are interested in the process of development you may observe
-<https://github.com/Liam0205/mcmthesis>
+<https://github.com/latexstudio-org/mcmthesis>
-[zhaoli]: http://www.latexstudio.net/
+[latexstudio]: http://www.latexstudio.net/
[liam-ctan]: http://www.ctan.org/author/huang-l
Modified: trunk/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m 2020-01-23 21:54:54 UTC (rev 53513)
@@ -12,4 +12,4 @@
-
\ No newline at end of file
+
Added: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-a.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-a.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-a.pdf 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-a.pdf 2020-01-23 21:54:54 UTC (rev 53513)
Property changes on: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-a.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-b.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-b.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-b.pdf 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-b.pdf 2020-01-23 21:54:54 UTC (rev 53513)
Property changes on: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-b.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-c.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-c.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-c.pdf 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-c.pdf 2020-01-23 21:54:54 UTC (rev 53513)
Property changes on: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/example-image-c.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/mcmthesis/figures/mcmthesis-aaa.eps
===================================================================
(Binary files differ)
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 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex 2020-01-23 21:54:54 UTC (rev 53513)
@@ -11,8 +11,9 @@
%% This is a generated file.
%%
%% Copyright (C)
-%% 2010 -- 2015 by Zhaoli Wang
-%% 2014 -- present by Liam Huang
+%% 2010 -- 2015 by Zhaoli Wang
+%% 2014 -- 2019 by Liam Huang
+%% 2019 -- present by latexstudio.net
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -26,12 +27,41 @@
%%
%% The Current Maintainer of this work is Liam Huang.
%%
+%%
+%% This is file `mcmthesis-demo.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mcmthesis.dtx (with options: `demo')
+%%
+%% -----------------------------------
+%%
+%% This is a generated file.
+%%
+%% Copyright (C)
+%% 2010 -- 2015 by Zhaoli Wang
+%% 2014 -- 2019 by Liam Huang
+%% 2019 -- present by latexstudio.net
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Liam Huang.
+%%
\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
tcn = 0000, problem = A,
sheet = true, titleinsheet = true, keywordsinsheet = true,
titlepage = true, abstract = true}
-\usepackage{palatino}
+\usepackage{newtxtext}%\usepackage{palatino}
\usepackage{lipsum}
\title{The \LaTeX{} Template for MCM Version \MCMversion}
\author{\small \href{http://www.latexstudio.net/}
@@ -60,20 +90,23 @@
%% \end{memo}
%%
\section{Introduction}
+\subsection{What's this all about? What's \LaTeX?}
+\LaTeX\ is a document preparation system which uses the \TeX\
+typesetting program. It enables you to produce
+publication-quality documents with great accuracy and
+consistency. \LaTeX\ works on any computer and produces
+industry-standard PDF. It is available both in free (open-source)
+and commercial implementations. \LaTeX\ can be used for any kind
+of document, but it is especially suited to those with complex
+structures, repetitive formatting, or notations like
+mathematics. Install the software from
+\url{www.tug.org/texlive/} or \url{https://www.latexstudio.net/archives/texsoftware}
+.
+\subsection{Creating and typesetting your document}
-\lipsum[2]
-\begin{itemize}
-\item minimizes the discomfort to the hands, or
-\item maximizes the outgoing velocity of the ball.
-\end{itemize}
-We focus exclusively on the second definition.
+\subsection{Syntax (how to type \LaTeX\ commands --- these
+ are the rules)}
-\begin{itemize}
-\item the initial velocity and rotation of the ball,
-\item the initial velocity and rotation of the bat,
-\item the relative position and orientation of the bat and ball, and
-\item the force over time that the hitter hands applies on the handle.
-\end{itemize}
\lipsum[3]
\begin{itemize}
\item the angular velocity of the bat,
@@ -108,8 +141,8 @@
\begin{figure}[h]
\small
\centering
-\includegraphics[width=12cm]{mcmthesis-aaa.eps}
-\caption{aa} \label{fig:aa}
+\includegraphics[width=8cm]{example-image-a}
+\caption{The name of figure} \label{fig:aa}
\end{figure}
\lipsum[8] \eqref{aa}
@@ -190,8 +223,19 @@
\section{First appendix}
-\lipsum[13]
+In addition, your report must include a letter to the Chief Financial Officer (CFO) of the Goodgrant Foundation, Mr. Alpha Chiang, that describes the optimal investment strategy, your modeling approach and major results, and a brief discussion of your proposed concept of a return-on-investment (ROI). This letter should be no more than two pages in length.
+\begin{letter}{Dear, Mr. Alpha Chiang}
+
+\lipsum[1-2]
+
+\vspace{\parskip}
+
+Sincerely yours,
+
+Your friends
+
+\end{letter}
Here are simulation programmes we used in our model as follow.\\
\textbf{\textcolor[rgb]{0.98,0.00,0.00}{Input matlab source:}}
@@ -204,7 +248,6 @@
\end{appendices}
\end{document}
-
%%
%% This work consists of these files mcmthesis.dtx,
%% figures/ and
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 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/source/latex/mcmthesis/mcmthesis.dtx 2020-01-23 21:54:54 UTC (rev 53513)
@@ -3,8 +3,9 @@
% This is file `mcmthesis.dtx'.
%
% Copyright (C)
-% 2010 -- 2015 by Zhaoli Wang
-% 2014 -- present by Liam Huang
+% 2010 -- 2015 by Zhaoli Wang
+% 2014 -- 2019 by Liam Huang
+% 2019 -- present by latexstudio.net
% -----------------------------------
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -35,8 +36,9 @@
This is a generated file.
Copyright (C)
- 2010 -- 2015 by Zhaoli Wang
- 2014 -- present by Liam Huang
+ 2010 -- 2015 by Zhaoli Wang
+ 2014 -- 2019 by Liam Huang
+ 2019 -- present by latexstudio.net
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
@@ -102,7 +104,7 @@
%</internal>
%<*driver>
\ProvidesFile{mcmthesis.dtx}
- [2019/01/26 v6.2.2 The Thesis Template Designed For MCM/ICM]
+ [2020/01/22 v6.3 The Thesis Template Designed For MCM/ICM]
\documentclass{ltxdoc}
\EnableCrossrefs
\CodelineIndex
@@ -175,7 +177,7 @@
% \makebox[0pt][l]{\hspace{1.5cm}\hyperlink{English}%
% {\large$ \to $ English Version}}
% }
-% \author{王昭礼 \\ \texttt{343083553 at qq.com}\and 黄晨成 \\ \texttt{liamhuang0205+\jobname at gmail.com}}
+% \author{\LaTeX Studio \\ \texttt{latexstudio.net}\and 黄晨成 \\ \texttt{liamhuang0205+\jobname at gmail.com}}
% \date{\filedate}
%
% \maketitle
@@ -191,7 +193,8 @@
% 用 key-value 语法重构了文档选项,并修复了一些 bug。2015 年年初,黄晨成将模板使用
% \pkg{DocStrip} 的语法重构,并上传至 CTAN。
%
-% 详细的使用说明,可以参考\href{https://liam.page/2016/01/27/how-to-use-mcmthesis/}{这里}。
+% 详细的使用说明,可以参考\href{https://liam.page/2016/01/27/how-to-use-mcmthesis/}{这里}。我们也会持续维护更新在这里,
+% 大家可以到这里下载 \url{https://www.latexstudio.net}。
%
% \section{手工安装说明}
%
@@ -201,7 +204,8 @@
%
% \begin{description}
% \item [CTAN] \url{http://www.ctan.org/pkg/mcmthesis}
-% \item [GitHub] \url{https://github.com/Liam0205/mcmthesis}
+% \item [GitHub] \url{https://github.com/latexstudio-org/mcmthesis}
+% \item [\LaTeX Studio] \url{https://www.latexstudio.net}
% \end{description}
%
% 此外,文档类也已上传至 CTAN,你可以在 \TeX{} Live 等发行版的宏包管理器中下载。
@@ -393,6 +397,7 @@
% \item [6.1] 修复问题。
% \item [6.2] 可定制的 headset。
% \item [6.2.1] 将默认字号由 |11pt| 修改为 |12pt|。
+% \item [6.3] 修改summary的版面样式。
% \end{description}
%
% \title{\hypertarget{English}{%
@@ -400,7 +405,7 @@
% corresponds to \textsf{\jobname}~\fileversion, dated \filedate.}}%
% \makebox[0pt][l]{\hspace{1.5cm}\hyperlink{Chinese}{\large$ \to $ 中文版}}
% }
-% \author{Zhaoli Wang \\ \texttt{\texttt{343083553 at qq.com}}\and Liam Huang \\ \texttt{liamhuang0205+\jobname at gmail.com}}
+% \author{\LaTeX{}Studio\\ \texttt{\texttt{latexstudio at qq.com}}\and Liam Huang \\ \texttt{liamhuang0205+\jobname at gmail.com}}
% \date{\filedate}
%
% \maketitle
@@ -430,7 +435,8 @@
%
% \begin{description}
% \item [CTAN] \url{http://www.ctan.org/pkg/mcmthesis}
-% \item [GitHub] \url{https://github.com/Liam0205/mcmthesis}
+% \item [GitHub] \url{https://github.com/latexstudio-org/mcmthesis}
+% \item [\LaTeX Studio] \url{https://www.latexstudio.net}
% \end{description}
%
% Moreover, this template had been uploaded to CTAN, so that it could
@@ -626,6 +632,7 @@
% \item [6.1] Bugfix.
% \item [6.2] Making headset of the Summary Sheet modifible.
% \item [6.2.1] Change default fontsize, from |11pt| to |12pt|.
+% \item [6.3] Change summary sheet layout and demo code.
% \end{description}
%
% \StopEventually{}
@@ -635,9 +642,9 @@
%<*class>
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{mcmthesis}
- [2019/01/26 v6.2.2 The Thesis Template Designed For MCM/ICM]
+ [2020/01/18 v6.3 The Thesis Template Designed For MCM/ICM]
\typeout{The Thesis Template Designed For MCM/ICM}
-\def\MCMversion{v6.2.2}
+\def\MCMversion{v6.3}
% \end{macrocode}
% \subsection{Options}
%
@@ -735,7 +742,7 @@
\RequirePackage{bmpsize}
\fi
\fi
-\RequirePackage{xcolor}
+\RequirePackage[svgnames]{xcolor}
% \end{macrocode}
% \subsection{\pkg{hyperref} Settings}
% \begin{macrocode}
@@ -752,7 +759,7 @@
% \subsection{Page Layout}
% Setting paper size and margin sep.
% \begin{macrocode}
-\geometry{a4paper, margin = 1.2in}
+\geometry{a4paper, margin = 1in}
% \end{macrocode}
%
% Making the footer and header.
@@ -853,6 +860,14 @@
\@abstract\par
}
\fi
+\newenvironment{letter}[1]{%
+ \par%
+ \bgroup\parindent0pt%
+ \begin{minipage}{5cm}
+ \flushleft #1%
+ \end{minipage}}
+ {\egroup\smallskip}
+
% \end{macrocode}
%
% Making the \env{keywords} environment.
@@ -878,7 +893,7 @@
% \begin{macro}{\headset}
%
% \begin{macrocode}
-\newcommand{\headset}{{\Large\the\year}\\MCM/ICM\\Summary Sheet}
+\newcommand{\headset}{{\the\year}\\MCM/ICM\\Summary Sheet}
% \end{macrocode}
% \end{macro}
%
@@ -892,30 +907,21 @@
\begin{center}
\begingroup
\setlength{\parindent}{0pt}
- \begin{minipage}{0.28\linewidth}
- For office use only\\[4pt]
- \makebox[0.15\linewidth][l]{T1}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{T2}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{T3}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{T4}\rule[-2pt]{0.85\linewidth}{0.5pt}
- \end{minipage}%
- \begin{minipage}{0.44\linewidth}
- \centering
- Team Control Number\\[0.7pc]
- {\Huge\textbf{\MCM at opt@tcn}}\\[1.8pc]
+ \begin{minipage}[t]{0.33\linewidth}
+ \bfseries\centering%
Problem Chosen\\[0.7pc]
- {\Huge\textbf{\MCM at opt@problem}}
+ {\Huge\textbf{\MCM at opt@problem}}\\[2.8pc]
\end{minipage}%
- \begin{minipage}{0.28\linewidth}
- For office use only\\[4pt]
- \makebox[0.15\linewidth][l]{F1}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{F2}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{F3}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{F4}\rule[-2pt]{0.85\linewidth}{0.5pt}
+ \begin{minipage}[t]{0.33\linewidth}
+ \centering%
+ \textbf{\headset}%
+ \end{minipage}%
+ \begin{minipage}[t]{0.33\linewidth}
+ \centering\bfseries%
+ Team Control Number\\[0.7pc]
+ {\Huge\textbf{\MCM at opt@tcn}}\\[2.8pc]
\end{minipage}\par
- \rule{\linewidth}{0.5pt}\par
- \textbf{\headset}%
- \par
+ \rule{\linewidth}{0.8pt}\par
\endgroup
\vskip 10pt%
\ifMCM at opt@titleinsheet
@@ -1017,6 +1023,26 @@
\newtheorem{Example}[Theorem]{Example}
% \end{macrocode}
%
+% define the section fonts and spaces.
+% \begin{macrocode}
+\renewcommand\section{\@startsection{section}{1}{\z@}%
+ {-0pt\@plus -.2ex \@minus -.2ex}%
+ {1pt \@plus .2ex}%
+ {\rmfamily\Large\bfseries}}
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
+ {-0pt\@plus -.2ex \@minus -.2ex}%
+ {1pt \@plus .2ex}%
+ {\rmfamily\large\bfseries}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-.5ex\@plus -1ex \@minus -.2ex}%
+ {.25ex \@plus .2ex}%
+ {\rmfamily\normalsize\bfseries}}
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {1ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\rmfamily\normalsize}}
+% \end{macrocode}
+
% Other definitions.
% \begin{macrocode}
\providecommand{\dif}{\mathop{}\!\mathrm{d}}
@@ -1025,6 +1051,8 @@
% \end{macrocode}
% \subsection{Listing Settings}
% \begin{macrocode}
+
+
\definecolor{grey}{rgb}{0.8,0.8,0.8}
\definecolor{darkgreen}{rgb}{0,0.3,0}
\definecolor{darkblue}{rgb}{0,0,0.3}
@@ -1053,13 +1081,42 @@
% \end{macrocode}
% \iffalse
%<*demo>
-%!TEX program = xelatex
+%!TEX program = pdflatex|xelatex
+%%
+%% This is file `mcmthesis-demo.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mcmthesis.dtx (with options: `demo')
+%%
+%% -----------------------------------
+%%
+%% This is a generated file.
+%%
+%% Copyright (C)
+%% 2010 -- 2015 by Zhaoli Wang
+%% 2014 -- 2019 by Liam Huang
+%% 2019 -- present by latexstudio.net
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Liam Huang.
+%%
\documentclass{mcmthesis}
\mcmsetup{CTeX = false, % 使用 CTeX 套装时,设置为 true
tcn = 0000, problem = A,
sheet = true, titleinsheet = true, keywordsinsheet = true,
titlepage = true, abstract = true}
-\usepackage{palatino}
+\usepackage{newtxtext}%\usepackage{palatino}
\usepackage{lipsum}
\title{The \LaTeX{} Template for MCM Version \MCMversion}
\author{\small \href{http://www.latexstudio.net/}
@@ -1088,20 +1145,23 @@
%% \end{memo}
%%
\section{Introduction}
+\subsection{What's this all about? What's \LaTeX?}
+\LaTeX\ is a document preparation system which uses the \TeX\
+typesetting program. It enables you to produce
+publication-quality documents with great accuracy and
+consistency. \LaTeX\ works on any computer and produces
+industry-standard PDF. It is available both in free (open-source)
+and commercial implementations. \LaTeX\ can be used for any kind
+of document, but it is especially suited to those with complex
+structures, repetitive formatting, or notations like
+mathematics. Install the software from
+\url{www.tug.org/texlive/} or \url{https://www.latexstudio.net/archives/texsoftware}
+.
+\subsection{Creating and typesetting your document}
-\lipsum[2]
-\begin{itemize}
-\item minimizes the discomfort to the hands, or
-\item maximizes the outgoing velocity of the ball.
-\end{itemize}
-We focus exclusively on the second definition.
+\subsection{Syntax (how to type \LaTeX\ commands --- these
+ are the rules)}
-\begin{itemize}
-\item the initial velocity and rotation of the ball,
-\item the initial velocity and rotation of the bat,
-\item the relative position and orientation of the bat and ball, and
-\item the force over time that the hitter hands applies on the handle.
-\end{itemize}
\lipsum[3]
\begin{itemize}
\item the angular velocity of the bat,
@@ -1136,8 +1196,8 @@
\begin{figure}[h]
\small
\centering
-\includegraphics[width=12cm]{mcmthesis-aaa.eps}
-\caption{aa} \label{fig:aa}
+\includegraphics[width=8cm]{example-image-a}
+\caption{The name of figure} \label{fig:aa}
\end{figure}
\lipsum[8] \eqref{aa}
@@ -1145,7 +1205,6 @@
a^2 \label{aa}
\end{equation}
-
\[
\begin{pmatrix}{*{20}c}
{a_{11} } & {a_{12} } & {a_{13} } \\
@@ -1206,7 +1265,6 @@
\end{itemize}
\begin{thebibliography}{99}
-%\addcontentsline{toc}{section}{References}
\bibitem{1} D.~E. KNUTH The \TeX{}book the American
Mathematical Society and Addison-Wesley
Publishing Company , 1984-1986.
@@ -1220,8 +1278,21 @@
\section{First appendix}
-\lipsum[13]
+In addition, your report must include a letter to the Chief Financial Officer (CFO) of the Goodgrant Foundation, Mr. Alpha Chiang, that describes the optimal investment strategy, your modeling approach and major results, and a brief discussion of your proposed concept of a return-on-investment (ROI). This letter should be no more than two pages in length.
+
+\begin{letter}{Dear, Mr. Alpha Chiang}
+
+\lipsum[1-2]
+
+
+\vspace{\parskip}
+
+Sincerely yours,
+
+Your friends
+
+\end{letter}
Here are simulation programmes we used in our model as follow.\\
\textbf{\textcolor[rgb]{0.98,0.00,0.00}{Input matlab source:}}
@@ -1234,7 +1305,6 @@
\end{appendices}
\end{document}
-
%</demo>
%<*readme>
# The `mcmthesis` Class
@@ -1270,7 +1340,7 @@
## Authors
-* [Zhaoli Wang][zhaoli]: 343083553 at qq.com
+* [latexstudio][latexstudio]: latexstudio at qq.com
* [Liam Huang][liam-ctan]: liamhuang0205+mcmthesis at gmail.com
## Project Page
@@ -1277,9 +1347,9 @@
If you are interested in the process of development you may observe
-<https://github.com/Liam0205/mcmthesis>
+<https://github.com/latexstudio-org/mcmthesis>
-[zhaoli]: http://www.latexstudio.net/
+[latexstudio]: http://www.latexstudio.net/
[liam-ctan]: http://www.ctan.org/author/huang-l
%</readme>
%<*license>
@@ -1287,7 +1357,7 @@
(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).
+[latexstudio](latexstudio at qq.com).
%</license>
% \fi
% \Finale
Modified: trunk/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls 2020-01-23 21:54:34 UTC (rev 53512)
+++ trunk/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls 2020-01-23 21:54:54 UTC (rev 53513)
@@ -11,8 +11,9 @@
%% This is a generated file.
%%
%% Copyright (C)
-%% 2010 -- 2015 by Zhaoli Wang
-%% 2014 -- present by Liam Huang
+%% 2010 -- 2015 by Zhaoli Wang
+%% 2014 -- 2019 by Liam Huang
+%% 2019 -- present by latexstudio.net
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -28,9 +29,9 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{mcmthesis}
- [2019/01/26 v6.2.2 The Thesis Template Designed For MCM/ICM]
+ [2020/01/18 v6.3 The Thesis Template Designed For MCM/ICM]
\typeout{The Thesis Template Designed For MCM/ICM}
-\def\MCMversion{v6.2.2}
+\def\MCMversion{v6.3}
\RequirePackage{xkeyval}
\RequirePackage{etoolbox}
\define at boolkey{MCM}[MCM at opt@]{CTeX}[false]{}
@@ -94,7 +95,7 @@
\RequirePackage{bmpsize}
\fi
\fi
-\RequirePackage{xcolor}
+\RequirePackage[svgnames]{xcolor}
\ifpdf
\hypersetup{hidelinks}
\else
@@ -104,7 +105,7 @@
\hypersetup{dvipdfm, hidelinks}
\fi
\fi
-\geometry{a4paper, margin = 1.2in}
+\geometry{a4paper, margin = 1in}
\pagestyle{fancy}
\fancyhf{}
\lhead{\small\sffamily \team}
@@ -164,6 +165,14 @@
\@abstract\par
}
\fi
+\newenvironment{letter}[1]{%
+ \par%
+ \bgroup\parindent0pt%
+ \begin{minipage}{5cm}
+ \flushleft #1%
+ \end{minipage}}
+ {\egroup\smallskip}
+
\def\keywordsname{Keywords}
\ifMCM at opt@CTeX
\newbox\@keywords
@@ -180,7 +189,7 @@
\@keywords\par
}
\fi
-\newcommand{\headset}{{\Large\the\year}\\MCM/ICM\\Summary Sheet}
+\newcommand{\headset}{{\the\year}\\MCM/ICM\\Summary Sheet}
\newcommand{\problem}[1]{\mcmsetup{problem = #1}}
\def\makesheet{%
\pagestyle{empty}%
@@ -189,30 +198,21 @@
\begin{center}
\begingroup
\setlength{\parindent}{0pt}
- \begin{minipage}{0.28\linewidth}
- For office use only\\[4pt]
- \makebox[0.15\linewidth][l]{T1}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{T2}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{T3}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{T4}\rule[-2pt]{0.85\linewidth}{0.5pt}
- \end{minipage}%
- \begin{minipage}{0.44\linewidth}
- \centering
- Team Control Number\\[0.7pc]
- {\Huge\textbf{\MCM at opt@tcn}}\\[1.8pc]
+ \begin{minipage}[t]{0.33\linewidth}
+ \bfseries\centering%
Problem Chosen\\[0.7pc]
- {\Huge\textbf{\MCM at opt@problem}}
+ {\Huge\textbf{\MCM at opt@problem}}\\[2.8pc]
\end{minipage}%
- \begin{minipage}{0.28\linewidth}
- For office use only\\[4pt]
- \makebox[0.15\linewidth][l]{F1}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{F2}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{F3}\rule[-2pt]{0.85\linewidth}{0.5pt}\\[4pt]
- \makebox[0.15\linewidth][l]{F4}\rule[-2pt]{0.85\linewidth}{0.5pt}
+ \begin{minipage}[t]{0.33\linewidth}
+ \centering%
+ \textbf{\headset}%
+ \end{minipage}%
+ \begin{minipage}[t]{0.33\linewidth}
+ \centering\bfseries%
+ Team Control Number\\[0.7pc]
+ {\Huge\textbf{\MCM at opt@tcn}}\\[2.8pc]
\end{minipage}\par
- \rule{\linewidth}{0.5pt}\par
- \textbf{\headset}%
- \par
+ \rule{\linewidth}{0.8pt}\par
\endgroup
\vskip 10pt%
\ifMCM at opt@titleinsheet
@@ -294,9 +294,27 @@
\newtheorem{Proposition}[Theorem]{Proposition}
\newtheorem{Definition}[Theorem]{Definition}
\newtheorem{Example}[Theorem]{Example}
+\renewcommand\section{\@startsection{section}{1}{\z@}%
+ {-0pt\@plus -.2ex \@minus -.2ex}%
+ {1pt \@plus .2ex}%
+ {\rmfamily\Large\bfseries}}
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
+ {-0pt\@plus -.2ex \@minus -.2ex}%
+ {1pt \@plus .2ex}%
+ {\rmfamily\large\bfseries}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-.5ex\@plus -1ex \@minus -.2ex}%
+ {.25ex \@plus .2ex}%
+ {\rmfamily\normalsize\bfseries}}
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {1ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\rmfamily\normalsize}}
+
\providecommand{\dif}{\mathop{}\!\mathrm{d}}
\providecommand{\me}{\mathrm{e}}
\providecommand{\mi}{\mathrm{i}}
+
\definecolor{grey}{rgb}{0.8,0.8,0.8}
\definecolor{darkgreen}{rgb}{0,0.3,0}
\definecolor{darkblue}{rgb}{0,0,0.3}
More information about the tex-live-commits
mailing list