summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/memoir
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-29 01:01:32 +0000
committerKarl Berry <karl@freefriends.org>2006-12-29 01:01:32 +0000
commita58f402fb52c45badea35eed40c72af74aab6e16 (patch)
treeb666804977fccd353dc5b782cf59250287fcd9cd /Master/texmf-dist/tex/latex/memoir
parent76e439039464d8b132be4800bb4d1d0d2ccddcc0 (diff)
memoir update (27dec06)
git-svn-id: svn://tug.org/texlive/trunk@3003 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/memoir')
-rw-r--r--Master/texmf-dist/tex/latex/memoir/mempatch.sty27
1 files changed, 24 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/memoir/mempatch.sty b/Master/texmf-dist/tex/latex/memoir/mempatch.sty
index 0f8ff85a628..c00b0517f24 100644
--- a/Master/texmf-dist/tex/latex/memoir/mempatch.sty
+++ b/Master/texmf-dist/tex/latex/memoir/mempatch.sty
@@ -22,7 +22,7 @@
%%
%% This work consists of the files listed in the README file.
%%
-\ProvidesFile{mempatch.sty}[2006/12/11 v4.6 Patches for memoir class v1.618]
+\ProvidesFile{mempatch.sty}[2006/12/23 v4.7 Patches for memoir class v1.618]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Version 4.0 was released simultaneously with version 1.618 of memoir.
@@ -45,6 +45,8 @@
%%% the interlinear and interparagraph spacing, adds some minor new commands,
%%% and provides about a dozen more built-in chapterstyles.
%%% See the code (near the end) for details.
+%%%
+%%% Version 4.7 fixes tiny bugs introduced in version 4.6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2880,7 +2882,7 @@
\raggedleft {\chaptitlefont ##1}\par\nobreak}}
%% Gerardo Garcia, ctt 2002/04/12, `Fancy Headings, Chapter Headings
-\makechapterstyle{Ger}{%
+\makechapterstyle{ger}{%
\renewcommand*{\chapterheadstart}{\vspace*{\beforechapskip}
\mbox{}\\\mbox{}\rule[0pt]{\textwidth}{0.4pt}\par}
\setlength{\midchapskip}{20pt}
@@ -2907,7 +2909,7 @@
\renewcommand*{\chapnamefont}{%
\normalfont\Large\scshape\raggedleft}
\renewcommand*{\chaptitlefont}{%
- \normalfont\Huge\bfseries\sffamily}
+ \normalfont\Huge\bfseries\sffamily\raggedleft}
\renewcommand*{\chapternamenum}{}
\renewcommand*{\printchapternum}{%
\makebox[0pt][l]{\hspace{0.4em}
@@ -3020,6 +3022,25 @@
\vskip 0.5\onelineskip
\hrule}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%% Version 4.7 (2006/12/23 and later)
+
+\renewcommand*{\flushleftright}{%
+ \leftskip\z@ \rightskip\z@
+ \parfillskip\@flushglue}
+\renewcommand*{\centerlastline}{%
+ \parfillskip=\z@ plus 2fil
+ \rightskip=\z@ plus -1fil
+ \leftskip\@flushglue}
+
+\renewcommand{\@epitext}[1]{%
+ \begin{minipage}{\epigraphwidth}\begin{\textflush} #1\par
+ \ifdim\epigraphrule>\z@ \@epirule \else \vspace*{1ex}\fi
+ \end{\textflush}\end{minipage}}
+\renewcommand{\@episource}[1]{%
+ \begin{minipage}{\epigraphwidth}\begin{\sourceflush} #1\par
+ \end{\sourceflush}\end{minipage}}
+
\endinput
%%
%% End of file `mempatch.sty'.