summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/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/source/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/source/latex/memoir')
-rwxr-xr-xMaster/texmf-dist/source/latex/memoir/mempatch.dtx71
1 files changed, 66 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/memoir/mempatch.dtx b/Master/texmf-dist/source/latex/memoir/mempatch.dtx
index 6f2eeb6f762..6301f8f8495 100755
--- a/Master/texmf-dist/source/latex/memoir/mempatch.dtx
+++ b/Master/texmf-dist/source/latex/memoir/mempatch.dtx
@@ -19,7 +19,7 @@
%
%
% \fi
-% \CheckSum{6168}
+% \CheckSum{6212}
%
% \def\dtxfile{\texttt{mempatch.dtx}}
% \def\fileversion{v1.0} \def\filedate{2003/10/04}
@@ -54,6 +54,7 @@
% \def\fileversion{v4.4a} \def\filedate{2006/01/23}
% \def\fileversion{v4.5} \def\filedate{2006/08/08}
% \def\fileversion{v4.6} \def\filedate{2006/12/11}
+% \def\fileversion{v4.7} \def\filedate{2006/12/23}
%
% \title{The LaTeX \Lpack{memoir} class for configurable book
% typesetting: Code patches\thanks{This
@@ -774,8 +775,9 @@
% ^^A \ProvidesFile{mempatch.sty}[2006/01/23 v4.4a Patches for memoir class v1.618]
% ^^A \ProvidesFile{mempatch.sty}[2006/07/10 v4.5 Patches for memoir class v1.618]
% ^^A \ProvidesFile{mempatch.sty}[2006/08/08 v4.5 Patches for memoir class v1.618]
+% ^^A \ProvidesFile{mempatch.sty}[2006/12/11 v4.6 Patches for memoir class v1.618]
% \begin{macrocode}
-\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]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -799,6 +801,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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \end{macrocode}
@@ -5965,11 +5969,12 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\chs@Ger}
+% \begin{macro}{\chs@ger}
% Posted to CTT on 2002/04/12 \textit{Fancy Headings, Chapter Headings} by Gerardo Garcia.
+% \changes{v4.7}{2006/12/23}{Renamed the `Ger' chapterstyle to `ger'}
% \begin{macrocode}
%% 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}
@@ -6006,6 +6011,7 @@
% Posted to CTT on 2003/12/09, \textit{New chapter style: chapter vs chapter*}
% by Lars Madsen.
% This requires the \Lpack{graphicx} package,
+% \changes{v4.7}{2006/12/23}{Added \cs{raggedleft} to \cs{chaptitlefont} in the madsen chapterstyle}
% \begin{macrocode}
%% posted to ctt, December 2003
%%%% \usepackage{graphicx}
@@ -6013,7 +6019,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}
@@ -6180,6 +6186,61 @@
% \end{macro}
%
%
+% \section{Mempatch version 4.7}
+%
+% \begin{macrocode}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%% Version 4.7 (2006/12/23 and later)
+
+% \end{macrocode}
+%
+% \subsection{Epigraphs}
+%
+% Erik Quaeghebeur (CTT, 2006/12/21, \textit{[memoir:epigraph] dissapearing initial L/l
+% (minimal example)}) discovered that an initial `l' was deleted when
+% \texttt{flushleftright} was used for \cs{epigraphtextposition}. This was caused
+% by `fil' being the last token in the definition.
+%
+% \begin{macro}{flushleftright}
+% \changes{v4.7}{2006/12/23}{Changed \cs{flushleftright} and \cs{centerlastline}
+% so that `fil' was not the last token}
+% \begin{macrocode}
+\renewcommand*{\flushleftright}{%
+ \leftskip\z@ \rightskip\z@
+ \parfillskip\@flushglue}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{centerlastline}
+% \begin{macrocode}
+\renewcommand*{\centerlastline}{%
+ \parfillskip=\z@ plus 2fil
+ \rightskip=\z@ plus -1fil
+ \leftskip\@flushglue}
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{@epitext}
+% \changes{v4.7}{2006/12/23}{Added \cs{par} to \cs{@epitext} and \cs{@episource}}
+% \begin{macrocode}
+\renewcommand{\@epitext}[1]{%
+ \begin{minipage}{\epigraphwidth}\begin{\textflush} #1\par
+ \ifdim\epigraphrule>\z@ \@epirule \else \vspace*{1ex}\fi
+ \end{\textflush}\end{minipage}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{@episource}
+% \begin{macrocode}
+\renewcommand{\@episource}[1]{%
+ \begin{minipage}{\epigraphwidth}\begin{\sourceflush} #1\par
+ \end{\sourceflush}\end{minipage}}
+
+% \end{macrocode}
+% \end{macro}
+%
+%
% The end of the patch file
%
% \begin{macrocode}