Permalink
Browse files

turn off membook

  • Loading branch information...
kjhealy committed Dec 4, 2011
1 parent 0c1b20d commit 2629b548e8ee7299f8ce7e567159c7814cad9760
Showing with 89 additions and 89 deletions.
  1. +89 −89 needs-memoir/memoir-article-styles.sty
@@ -304,99 +304,99 @@
%%% --------------------------------------------------
%% Make the style for Chapters and sections
- \makechapterstyle{membook}{
- \setsecheadstyle{\Large\scshape\MakeLowercase}
- \setsubsecheadstyle{\normalsize\itshape}
- \setaftersubsubsecskip{-1em}
- \setsubsubsecheadstyle{\small\bfseries}
- \renewcommand{\printchaptername}{}
- \renewcommand{\chapternamenum}{}
- \renewcommand{\chapnumfont}{\chaptitlefont}
- \renewcommand{\printchapternum}{\chapnumfont \thechapter\space}
- \renewcommand{\afterchapternum}{}
- \renewcommand{\printchaptername}{\secheadstyle}
- \renewcommand{\cftchapterfont}{\normalfont}
- \renewcommand{\cftchapterpagefont}{\normalfont\scshape}
- \renewcommand{\cftchapterpresnum}{\scshape}
- \renewcommand{\cftchapterleader}{}
- \renewcommand{\cftchapterafterpnum}{\cftparfillskip}
- \captiontitlefont{\small}
- %\settocdepth{chapter}
- \maxsecnumdepth{chapter}
- \setsecnumdepth{chapter}
-
- % reduce skip after section heading
- \setaftersecskip{1.7ex}
+ % \makechapterstyle{membook}{
+ % \setsecheadstyle{\Large\sffamily\bfseries}
+ % \setsubsecheadstyle{\normalsize\sffamily\itshape}
+ % \setaftersubsubsecskip{-1em}
+ % \setsubsubsecheadstyle{\small\sffamily\bfseries}
+ % \renewcommand{\printchaptername}{\sffamily}
+ % \renewcommand{\chapternamenum}{\sffamily}
+ % \renewcommand{\chapnumfont}{\chaptitlefont\sffamily}
+ % \renewcommand{\printchapternum}{\chapnumfont \thechapter\space}
+ % \renewcommand{\afterchapternum}{}
+ % \renewcommand{\printchaptername}{\secheadstyle}
+ % \renewcommand{\cftchapterfont}{\normalfont}
+ % \renewcommand{\cftchapterpagefont}{\normalfont\sffamily}
+ % \renewcommand{\cftchapterpresnum}{\sffamily}
+ % \renewcommand{\cftchapterleader}{\sffamily}
+ % \renewcommand{\cftchapterafterpnum}{\cftparfillskip}
+ % \captiontitlefont{\small}
+ % %\settocdepth{chapter}
+ % \maxsecnumdepth{chapter}
+ % \setsecnumdepth{chapter}
+
+ % % reduce skip after section heading
+ % \setaftersecskip{1.7ex}
- % set name of bibliography to 'references'
- %\renewcommand{\bibname}{\mdseries\Large\scshape\MakeLowercase References}
-
- % % Title flush left
- \pretitle{\par\vskip 3em
- \begin{flushleft}\LARGE\bfseries}
- \posttitle{\end{flushleft}\par\vskip 0.5em}
- \preauthor{\begin{flushleft}\normalsize\bigskip}
- \postauthor{\end{flushleft}}
- \predate{\begin{flushleft}\normalsize}
- \postdate{\end{flushleft}}
-
- % 'abstract' bigger skip from title
- \addto\captionsamerican{\renewcommand{\abstractname}{}}
- \renewcommand{\abstractname}{}
- \renewcommand{\abstracttextfont}{\normalfont\scriptsize}
- \abstractrunin
- }
-
-
-\RequirePackage[usenames,dvipsnames]{color}
-\RequirePackage{calc}
+ % % set name of bibliography to 'references'
+ % %\renewcommand{\bibname}{\mdseries\Large\scshape\MakeLowercase References}
+
+ % % % Title flush left
+ % \pretitle{\par\vskip 3em
+ % \begin{flushleft}\LARGE\sffamily\bfseries}
+ % \posttitle{\end{flushleft}\par\vskip 0.5em}
+ % \preauthor{\begin{flushleft}\normalsize\sffamily\bigskip}
+ % \postauthor{\end{flushleft}}
+ % \predate{\begin{flushleft}\normalsize\sffamily}
+ % \postdate{\end{flushleft}}
+
+ % % 'abstract' bigger skip from title
+ % \addto\captionsamerican{\renewcommand{\abstractname}{}}
+ % \renewcommand{\abstractname}{}
+ % \renewcommand{\abstracttextfont}{\normalfont\scriptsize}
+ % \abstractrunin
+ % }
+
+
+%\RequirePackage[usenames,dvipsnames]{color}
+%\RequirePackage{calc}
%\RequirePackage{color,calc}
-\newsavebox{\ChpNumBox}
+%\newsavebox{\ChpNumBox}
%\definecolor{ChapBlue}{rgb}{0.00,0.65,0.65}
-\makeatletter
-\newcommand*{\thickhrulefill}{%
- \leavevmode\leaders\hrule height 1\p@ \hfill \kern \z@}
-\newcommand*\BuildChpNum[2]{%
- \begin{tabular}[t]{@{}c@{}}
- \makebox[0pt][c]{#1\strut} \\[.5ex]
- \colorbox{BlueViolet}{%
- \rule[-10em]{0pt}{0pt}%
- \rule{1ex}{0pt}\color{black}#2\strut
- \rule{1ex}{0pt}}%
- \end{tabular}}
-\makechapterstyle{BlueBox}{%
- \renewcommand{\chapnamefont}{\large\scshape}
- \renewcommand{\chapnumfont}{\Huge}
- \renewcommand{\chaptitlefont}{\raggedright\Huge}
- \setlength{\beforechapskip}{20pt}
- \setlength{\midchapskip}{26pt}
- \setlength{\afterchapskip}{40pt}
- \renewcommand{\printchaptername}{}
- \renewcommand{\chapternamenum}{}
- \renewcommand{\printchapternum}{%
- \sbox{\ChpNumBox}{%
- \BuildChpNum{\chapnamefont\@chapapp}%
- {\chapnumfont\thechapter}}}
- \renewcommand{\printchapternonum}{%
- \sbox{\ChpNumBox}{%
- \BuildChpNum{\chapnamefont\vphantom{\@chapapp}}%
- {\chapnumfont\hphantom{\thechapter}}}}
-\renewcommand{\afterchapternum}{}
-\renewcommand{\printchaptertitle}[1]{%
- \usebox{\ChpNumBox}\hfill
- \parbox[t]{\hsize-\wd\ChpNumBox-1em}{%
- \vspace{\midchapskip}%
- \thickhrulefill\par
- \chaptitlefont ##1\par}}%
- \pretitle{\par\vskip 3em
- \begin{flushleft}\LARGE\bfseries}
- \posttitle{\end{flushleft}\par\vskip 0.5em}
- \preauthor{\begin{flushleft}\normalsize\bigskip}
- \postauthor{\end{flushleft}}
- \predate{\begin{flushleft}\normalsize}
- \postdate{\end{flushleft}}
+%\makeatletter
+% \newcommand*{\thickhrulefill}{%
+% \leavevmode\leaders\hrule height 1\p@ \hfill \kern \z@}
+% \newcommand*\BuildChpNum[2]{%
+% \begin{tabular}[t]{@{}c@{}}
+% \makebox[0pt][c]{#1\strut} \\[.5ex]
+% \colorbox{BrickRed}{%
+% \rule[-10em]{0pt}{0pt}%
+% \rule{1ex}{0pt}\color{black}#2\strut
+% \rule{1ex}{0pt}}%
+% \end{tabular}}
+% \makechapterstyle{BlueBox}{%
+% \renewcommand{\chapnamefont}{\large\sffamily}
+% \renewcommand{\chapnumfont}{\Huge\sffamily}
+% \renewcommand{\chaptitlefont}{\raggedright\Huge\sffamily}
+% \setlength{\beforechapskip}{20pt}
+% \setlength{\midchapskip}{26pt}
+% \setlength{\afterchapskip}{40pt}
+% \renewcommand{\printchaptername}{\sffamily}
+% \renewcommand{\chapternamenum}{\sffamily}
+% \renewcommand{\printchapternum}{%
+% \sbox{\ChpNumBox}{%
+% \BuildChpNum{\chapnamefont\@chapapp}%
+% {\chapnumfont\thechapter}}}
+% \renewcommand{\printchapternonum}{%
+% \sbox{\ChpNumBox}{%
+% \BuildChpNum{\chapnamefont\vphantom{\@chapapp}}%
+% {\chapnumfont\hphantom{\thechapter}}}}
+% \renewcommand{\afterchapternum}{}
+% \renewcommand{\printchaptertitle}[1]{%
+% \usebox{\ChpNumBox}\hfill
+% \parbox[t]{\hsize-\wd\ChpNumBox-1em}{%
+% \vspace{\midchapskip}%
+% \thickhrulefill\par
+% \chaptitlefont ##1\par}}%
+% \pretitle{\par\vskip 3em
+% \begin{flushleft}\LARGE\sffamily\bfseries}
+% \posttitle{\end{flushleft}\par\vskip 0.5em}
+% \preauthor{\begin{flushleft}\normalsize\sffamily\bigskip}
+% \postauthor{\end{flushleft}}
+% \predate{\begin{flushleft}\normalsize}
+% \postdate{\end{flushleft}}
-}
+% }
%%% --------------------------------------------------

0 comments on commit 2629b54

Please sign in to comment.