texlive[51591] Master/texmf-dist: quotchap (9jul19)

commits+karl at tug.org commits+karl at tug.org
Tue Jul 9 23:10:40 CEST 2019


Revision: 51591
          http://tug.org/svn/texlive?view=revision&revision=51591
Author:   karl
Date:     2019-07-09 23:10:40 +0200 (Tue, 09 Jul 2019)
Log Message:
-----------
quotchap (9jul19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/quotchap/README
    trunk/Master/texmf-dist/doc/latex/quotchap/quotchap.pdf
    trunk/Master/texmf-dist/source/latex/quotchap/quotchap.dtx
    trunk/Master/texmf-dist/tex/latex/quotchap/quotchap.sty

Modified: trunk/Master/texmf-dist/doc/latex/quotchap/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/quotchap/README	2019-07-09 15:26:51 UTC (rev 51590)
+++ trunk/Master/texmf-dist/doc/latex/quotchap/README	2019-07-09 21:10:40 UTC (rev 51591)
@@ -4,9 +4,9 @@
 Jan Klever.
 
 Copyright (C) 1998 - 2010 Karsten Tinnefeld.
-Copyright (C) 2011 - 2012 by Jan Klever.
+Copyright (C) 2011 - 2019 by Jan Klever.
 
-This version is 1.1 of 2012/10/20.
+This version is 1.2 of 2019/07/09.
 
 The documentation is created by running `latex quotchap.dtx`. This
 does not need the file quotchap.sty nor postscript fonts, but Frank
@@ -14,7 +14,7 @@
 tools package to be found at CTAN.
 
 The file document.tex produces a simple document that demonstrate the use
-of the new commands. This needs the files to be installed and the psnfss 
+of the new commands. This needs the files to be installed and the psnfss
 package and a postscript output device to be present.
 
 See quotchap.dtx for installation instructions.

Modified: trunk/Master/texmf-dist/doc/latex/quotchap/quotchap.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/quotchap/quotchap.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/quotchap/quotchap.dtx	2019-07-09 15:26:51 UTC (rev 51590)
+++ trunk/Master/texmf-dist/source/latex/quotchap/quotchap.dtx	2019-07-09 21:10:40 UTC (rev 51591)
@@ -4,10 +4,10 @@
 % decorative chapter headings with quotations, a postscript output
 % device is needed.
 % Copyright (C) 1998 - 2010 Karsten Tinnefeld.
-% Copyright (C) 2011 - 2012 Jan Klever.
-% 
+% Copyright (C) 2011 - 2019 Jan Klever.
+%
 % This file is NOT part of the LaTeX2e system, but intended for use with it.
-% 
+%
 % This document is free software; you can redistribute it and/or modify it
 % under the terms of the GNU Library General Public License as published by
 % the Free Software Foundation; either version 2 of the License, or (at your
@@ -42,14 +42,14 @@
 %<driver>\ProvidesFile{quotchap.drv}
 %  \fi
 %  \ProvidesFile{quotchap.dtx}
-  [2012/10/20 v1.1 Decorative Chapter Headings with Quotes]
+  [2019/07/09 v1.2 Decorative Chapter Headings with Quotes]
 %
 % \iffalse
 %<*driver>
 \documentclass{ltxdoc}
-\usepackage{multicol}  
+\usepackage{multicol}
 \GetFileInfo{quotchap.dtx}
-\newcommand*{\docdate}{2012/10/20}
+\newcommand*{\docdate}{2019/07/09}
 \RecordChanges
 \begin{document}
   \DocInput{\filename}
@@ -57,7 +57,7 @@
 %</driver>
 % \fi
 %
-%  \CheckSum{203}
+%  \CheckSum{209}
 %
 %  \DoNotIndex{\@M,\@afterindentfalse,%
 %    \@topnum,\advance,\AtEndOfPackage,\baselineskip,\begin,\bigskip,%
@@ -142,10 +142,19 @@
 %  |\qsetcnfont{<family>}|. For example: |\qsetcnfont{pzc}|
 %  to use Zapf Chancery.
 %
+%  \DescribeMacro{quotefont}
+%  The font for quotations can be set globally with |\quotefont|. For
+%  example: |\renewcommand\quotefont{\sffamily\slshape}|. The default
+%  is |\slshape|.
+%
+%  \DescribeMacro{qauthorfont}
+%  The font for the author of the quote can be set globally with
+%  |\qauthorfont|. For example: |\renewcommand\qauthorfont{\scshape}|.
+%  The default ist |\upshape|.
 %  \section{Examples}
-%  
+%
 %  Let's take a look at an example:\medskip
-% 
+%
 %  \begin{multicols}{2}
 %    \begin{verbatim}
 %\begin{savequote}[45mm]
@@ -279,7 +288,7 @@
 %
 %  If nobody said \textbf{nogrey}, we fetch the |color| package and
 %  define our colour. If the color package is not included until now,
-%  we define |\color| to do nothing but gobble up its argument. 
+%  we define |\color| to do nothing but gobble up its argument.
 %  An error is issued when \textbf{grey} is turned on and the color
 %  package is nonexistent. When you read the documentation because of
 %  this: \texttt{color.sty} is included in the graphics bundle to be
@@ -322,6 +331,8 @@
   \providecommand*{\chapterheadstartvskip}{\vspace*{2.3\baselineskip}}
   \providecommand*{\chapterheadendvskip}{\vspace{1.7\baselineskip}}
   \providecommand*{\sectfont}{\relax}
+  \providecommand*{\quotefont}{\slshape}
+  \providecommand*{\qauthorfont}{\upshape}
   \@ifundefined{@mainmattertrue}{\newif\if at mainmatter\@mainmattertrue}{}}
 %    \end{macrocode}
 %
@@ -345,7 +356,7 @@
 %    \begin{macrocode}
 \newenvironment{savequote}[1][10cm]{%
   \begin{lrbox}{\@quotebox}
-    \begin{minipage}[t]{#1}\footnotesize\slshape
+    \begin{minipage}[t]{#1}\footnotesize\quotefont
       \ignorespaces}{%
       \unskip\end{minipage}\end{lrbox}
   \global\setbox\@quotebox\copy\@quotebox
@@ -362,7 +373,7 @@
 %    \begin{macrocode}
 \newcommand{\qauthor}[1]{%
   \par\smallskip
-  {\raggedleft\upshape #1\qquad\hbox{}\par}\bigskip}
+  {\raggedleft\qauthorfont #1\qquad\hbox{}\par}\bigskip}
 %    \end{macrocode}
 %  \end{macro}
 %
@@ -376,10 +387,10 @@
 %  \end{macro}
 %
 %  \subsection{Making up the chapter heading}
-%  
+%
 %  Here are the modification to the chapter command definitions of
 %  the \textsf{KOMA-Script} document classes. This package was
-%  originally designed to 
+%  originally designed to
 %  co-operate only with them; therefore we have to provide some
 %  measurement defined only there. We insert the citations (if available)
 %  by calling the insert box or do nothing wrapper.

Modified: trunk/Master/texmf-dist/tex/latex/quotchap/quotchap.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/quotchap/quotchap.sty	2019-07-09 15:26:51 UTC (rev 51590)
+++ trunk/Master/texmf-dist/tex/latex/quotchap/quotchap.sty	2019-07-09 21:10:40 UTC (rev 51591)
@@ -40,7 +40,7 @@
 %%%%%%%%%%%%%%%
 \NeedsTeXFormat{LaTeX2e}[1996/12/01]
 \ProvidesPackage{quotchap}
-  [2012/10/20 v1.1 Decorative Chapter Headings with Quotes]
+  [2019/07/09 v1.2 Decorative Chapter Headings with Quotes]
 \newif\if at usecolor\@usecolortrue
 \DeclareOption{grey}{\@usecolortrue}
 \DeclareOption{nogrey}{\@usecolorfalse}
@@ -91,10 +91,12 @@
   \providecommand*{\chapterheadstartvskip}{\vspace*{2.3\baselineskip}}
   \providecommand*{\chapterheadendvskip}{\vspace{1.7\baselineskip}}
   \providecommand*{\sectfont}{\relax}
+  \providecommand*{\quotefont}{\slshape}
+  \providecommand*{\qauthorfont}{\upshape}
   \@ifundefined{@mainmattertrue}{\newif\if at mainmatter\@mainmattertrue}{}}
 \newenvironment{savequote}[1][10cm]{%
   \begin{lrbox}{\@quotebox}
-    \begin{minipage}[t]{#1}\footnotesize\slshape
+    \begin{minipage}[t]{#1}\footnotesize\quotefont
       \ignorespaces}{%
       \unskip\end{minipage}\end{lrbox}
   \global\setbox\@quotebox\copy\@quotebox
@@ -102,7 +104,7 @@
   \ignorespacesafterend}
 \newcommand{\qauthor}[1]{%
   \par\smallskip
-  {\raggedleft\upshape #1\qquad\hbox{}\par}\bigskip}
+  {\raggedleft\qauthorfont #1\qquad\hbox{}\par}\bigskip}
 \newcommand{\qsetcnfont}[1]{%
     \renewcommand*{\@defaultcnfont}{#1}}
 \newsavebox{\@quotebox}



More information about the tex-live-commits mailing list