From 0b9bafc4f15f46c47c222b08f16cb2c276358cdc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 23 Jan 2020 21:54:54 +0000 Subject: mcmthesis (23jan20) git-svn-id: svn://tug.org/texlive/trunk@53513 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/mcmthesis/mcmthesis.cls | 74 ++++++++++++++-------- 1 file changed, 46 insertions(+), 28 deletions(-) (limited to 'Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls') diff --git a/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls b/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls index 127951664fa..63683c097df 100644 --- a/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls +++ b/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls @@ -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@boolkey{MCM}[MCM@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@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@opt@tcn}}\\[1.8pc] + \begin{minipage}[t]{0.33\linewidth} + \bfseries\centering% Problem Chosen\\[0.7pc] - {\Huge\textbf{\MCM@opt@problem}} + {\Huge\textbf{\MCM@opt@problem}}\\[2.8pc] + \end{minipage}% + \begin{minipage}[t]{0.33\linewidth} + \centering% + \textbf{\headset}% \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\bfseries% + Team Control Number\\[0.7pc] + {\Huge\textbf{\MCM@opt@tcn}}\\[2.8pc] \end{minipage}\par - \rule{\linewidth}{0.5pt}\par - \textbf{\headset}% - \par + \rule{\linewidth}{0.8pt}\par \endgroup \vskip 10pt% \ifMCM@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} -- cgit v1.2.3