From 53c7709d2806c74b35648ef854ebedc32a62d642 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 26 Jan 2019 22:57:28 +0000
Subject: mcmthesis (26jan19)

git-svn-id: svn://tug.org/texlive/trunk@49825 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/latex/mcmthesis/mcmthesis.cls   | 47 +++++++++++++++++++++-
 1 file changed, 45 insertions(+), 2 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 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}
-- 
cgit v1.2.3

