summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-26 22:57:28 +0000
committerKarl Berry <karl@freefriends.org>2019-01-26 22:57:28 +0000
commit53c7709d2806c74b35648ef854ebedc32a62d642 (patch)
treec8f015ac0f0a86b1860c1cda9dd97675641e6804 /Master/texmf-dist/tex
parentd4802db53ea2e712cd0acfb472b73891de14e27c (diff)
mcmthesis (26jan19)
git-svn-id: svn://tug.org/texlive/trunk@49825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls47
1 files changed, 45 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls b/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls
index 6f40cde5170..127951664fa 100644
--- a/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls
+++ b/Master/texmf-dist/tex/latex/mcmthesis/mcmthesis.cls
@@ -28,9 +28,9 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{mcmthesis}
- [2019/01/24 v6.2.1 The Thesis Template Designed For MCM/ICM]
+ [2019/01/26 v6.2.2 The Thesis Template Designed For MCM/ICM]
\typeout{The Thesis Template Designed For MCM/ICM}
-\def\MCMversion{v6.2.1}
+\def\MCMversion{v6.2.2}
\RequirePackage{xkeyval}
\RequirePackage{etoolbox}
\define@boolkey{MCM}[MCM@opt@]{CTeX}[false]{}
@@ -245,6 +245,49 @@
\make@keywords
\fi%
}
+\def\MCM@memoto{\relax}
+\newcommand{\memoto}[1]{\gdef\MCM@memoto{#1}}
+\def\MCM@memofrom{\relax}
+\newcommand{\memofrom}[1]{\gdef\MCM@memofrom{#1}}
+\def\MCM@memosubject{\relax}
+\newcommand{\memosubject}[1]{\gdef\MCM@memosubject{#1}}
+\def\MCM@memodate{\relax}
+\newcommand{\memodate}[1]{\gdef\MCM@memodate{#1}}
+\def\MCM@memologo{\relax}
+\newcommand{\memologo}[1]{\gdef\MCM@memologo{\protect #1}}
+\def\@letterheadaddress{\relax}
+\newcommand{\lhaddress}[1]{\gdef\@letterheadaddress{#1}}
+\newenvironment{memo}[1][Memorandum]{%
+ \pagestyle{plain}%
+ \ifthenelse{\equal{\MCM@memologo}{\relax}}{%
+ % without logo specified.
+ }{%
+ % with logo specified
+ \begin{minipage}[t]{\columnwidth}%
+ \begin{flushright}
+ \vspace{-0.6in}
+ \MCM@memologo
+ \vspace{0.5in}
+ \par\end{flushright}%
+ \end{minipage}%
+ }
+ \begin{center}
+ \LARGE\bfseries\scshape
+ #1
+ \end{center}
+ \begin{description}
+ \ifthenelse{\equal{\MCM@memoto}{\relax}}{}{\item [{To:}] \MCM@memoto}
+ \ifthenelse{\equal{\MCM@memofrom}{\relax}}{}{\item [{From:}] \MCM@memofrom}
+ \ifthenelse{\equal{\MCM@memosubject}{\relax}}{}{\item [{Subject:}] \MCM@memosubject}
+ \ifthenelse{\equal{\MCM@memodate}{\relax}}{}{\item [{Date:}] \MCM@memodate}
+ \end{description}
+ \par\noindent
+ \rule[0.5ex]{\linewidth}{0.1pt}\par
+ \bigskip{}
+}{%
+ \clearpage
+ \pagestyle{fancy}%
+}
\newtheorem{Theorem}{Theorem}[section]
\newtheorem{Lemma}[Theorem]{Lemma}
\newtheorem{Corollary}[Theorem]{Corollary}