From e97b4a47e8f6cf88d0aae0ea02c25b5671964e7b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 15 Jan 2011 22:55:37 +0000 Subject: quotchap 1.0 (16jan11) git-svn-id: svn://tug.org/texlive/trunk@21082 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/quotchap/README | 20 ++++ Master/texmf-dist/doc/latex/quotchap/document.pdf | Bin 63565 -> 71130 bytes Master/texmf-dist/doc/latex/quotchap/quotchap.pdf | Bin 0 -> 235582 bytes .../texmf-dist/source/latex/quotchap/00readme.txt | 16 --- .../texmf-dist/source/latex/quotchap/quotchap.dtx | 115 ++++++++++++--------- .../texmf-dist/source/latex/quotchap/quotchap.ins | 18 ++-- Master/texmf-dist/tex/latex/quotchap/quotchap.sty | 27 +++-- 7 files changed, 118 insertions(+), 78 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/quotchap/README create mode 100644 Master/texmf-dist/doc/latex/quotchap/quotchap.pdf delete mode 100644 Master/texmf-dist/source/latex/quotchap/00readme.txt (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/quotchap/README b/Master/texmf-dist/doc/latex/quotchap/README new file mode 100644 index 00000000000..fa16851a8e1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/quotchap/README @@ -0,0 +1,20 @@ +This file is part of the QUOTCHAP package, a package for creating +decorative chapter headings with quotations, a postscript output device is +needed. This package was written by Karsten Tinnefeld and is now maintained by +Jan Klever. + +Copyright (C) 1998 - 2010 Karsten Tinnefeld. +Copyright (C) 2011 by Jan Klever. + +This version is 1.0 of 2011/01/15. + +The documentation is created by running `latex quotchap.dtx`. This +does not need the file quotchap.sty nor postscript fonts, but Frank +Mittelbach's multicol package should exist. This is included in the +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 +package and a postscript output device to be present. + +See quotchap.dtx for installation instructions. diff --git a/Master/texmf-dist/doc/latex/quotchap/document.pdf b/Master/texmf-dist/doc/latex/quotchap/document.pdf index 5a518351f4d..cc41d43d458 100644 Binary files a/Master/texmf-dist/doc/latex/quotchap/document.pdf and b/Master/texmf-dist/doc/latex/quotchap/document.pdf differ diff --git a/Master/texmf-dist/doc/latex/quotchap/quotchap.pdf b/Master/texmf-dist/doc/latex/quotchap/quotchap.pdf new file mode 100644 index 00000000000..941d3f11972 Binary files /dev/null and b/Master/texmf-dist/doc/latex/quotchap/quotchap.pdf differ diff --git a/Master/texmf-dist/source/latex/quotchap/00readme.txt b/Master/texmf-dist/source/latex/quotchap/00readme.txt deleted file mode 100644 index 75055c369f0..00000000000 --- a/Master/texmf-dist/source/latex/quotchap/00readme.txt +++ /dev/null @@ -1,16 +0,0 @@ -This file is part of the QUOTCHAP package, a package for creating -decorative chapter headings with quotations, a postscript output -device is needed. Copyright (C) 1998 Karsten Tinnefeld. - -This version is 0.9f of 1998/02/09. - -The documentation is created by running `latex quotchap.dtx`. This -does not need the file quotchap.sty nor postscript fonts, but Frank -Mittelbach's multicol package should exist. This is included in the -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 -package and a postscript output device to be present. - -See quotchap.dtx for installation instructions. diff --git a/Master/texmf-dist/source/latex/quotchap/quotchap.dtx b/Master/texmf-dist/source/latex/quotchap/quotchap.dtx index 34a006bd516..f1faacd4cd3 100644 --- a/Master/texmf-dist/source/latex/quotchap/quotchap.dtx +++ b/Master/texmf-dist/source/latex/quotchap/quotchap.dtx @@ -2,7 +2,9 @@ % % This file is part of the QUOTCHAP package, a package for creating % decorative chapter headings with quotations, a postscript output -% device is needed. Copyright (C) 1998 Karsten Tinnefeld. +% device is needed. +% Copyright (C) 1998 - 2010 Karsten Tinnefeld. +% Copyright (C) 2011 Jan Klever. % % This file is NOT part of the LaTeX2e system, but intended for use with it. % @@ -40,14 +42,14 @@ %\ProvidesFile{quotchap.drv} % \fi % \ProvidesFile{quotchap.dtx} - [1998/02/09 v0.9f Decorative Chapter Headings with Quotes] + [2011/01/15 v1.0 Decorative Chapter Headings with Quotes] % % \iffalse %<*driver> \documentclass{ltxdoc} \usepackage{multicol} \GetFileInfo{quotchap.dtx} -\newcommand*{\docdate}{1998/02/09} +\newcommand*{\docdate}{2011/01/15} \RecordChanges \begin{document} \DocInput{\filename} @@ -55,7 +57,7 @@ % % \fi % -% \CheckSum{178} +% \CheckSum{203} % % \DoNotIndex{\@M,\@afterindentfalse,% % \@topnum,\advance,\AtEndOfPackage,\baselineskip,\begin,\bigskip,% @@ -67,54 +69,50 @@ % \IfFileExists,\ifnum,\ignorespacesafterend,% % \ignorespaces,\interlinepenalty,\leftmargin,\let,\m@ne,% % \MessageBreak,\newcommand,\newenvironment,\newif,\newsavebox,% -% \nobreak,\PackageError,PackageWarning,\par,\ProcessOptions,% +% \nobreak,\PackageError,\PackageWarning,\par,\ProcessOptions,% % \providecommand,\qquad,% % \raggedleft,\relax,\renewcommand,\RequirePackage,\secdef,\selectfont,% % \setbox,\slshape,\smallskip,\thechapter,\thispagestyle,\unskip,% % \upshape,\usefont,\vbox,\vspace,\vss,\verb,\z@} % % \date{printed \today} -% \title{The \texttt{quotchap} document style\thanks{% +% \title{The \texttt{quotchap} package\thanks{% % This file has version number \fileversion, % last revised on \filedate, documentation dated \docdate.}} % \author{Karsten Tinnefeld\thanks{% % Thanks to Stefan Mintert for the chapter number layout % idea basing on his \protect\textsf{iNA}\protect\texttt{book} -% class.}\\\texttt{tinnefeld@irb.cs.uni-dortmund.de}} +% class.}\and Jan Klever\\\texttt{jasa.klever@gmx.de}} % \maketitle % % \begin{abstract} -% This document describes the \texttt{quotchap} document style. This style +% This document describes the \texttt{quotchap} package. This package % redefines the |\chapter| and |\chapter*| commands to % create fancy chapter head pages with huge chapter numbers % (possibly greyed) and provides commands for adding quotations in the -% upper left corner of these pages. +% upper left corner of these pages. It was written by Karsten Tinnefeld, +% who abandoned to work on it. This package is now maintained by Jan Klever. % \end{abstract} % % \section{Introduction} % -% Using the package \texttt{quotchap} does not make any structural -% sense, it is just prepared for matters of taste: I felt it was high -% time to do some visual formatting and build some fancy and -% attractive chapter headings for my documents. -% -% The \texttt{quotchap} package buries the original -% |\chapter|[|*|]-commands to provide a new style: Chapter number and -% title are set flush right, on separate lines, and much huger as -% normal: The title is to be |\Huge|, the number is set in $100$pt -% size, and possibly in $60\%$ grey (not to blacken the page more -% than necessary). This means, of course, that some scalable font had -% to be chosen. We offer to use all the postscript fonts in the -% \textsc{psnfss} package, defaulting to Adobe's Bookman for matters -% of personal taste. +% \texttt{quotchap} is designed to do visual formatting and build some fancy +% and attractive chapter headings for documents. It buries the original +% |\chapter|[|*|]-commands to provide a new style: Chapter number and title +% are set flush right, on separate lines, and much huger as normal: The title +% is to be |\Huge|, the number is set in $100$pt size, and possibly in $60\%$ +% grey (not to blacken the page more than necessary). This means, of course, +% that some scalable font had to be chosen. We offer package options for all the +% postscript fonts in the \textsc{psnfss} package and some other common fonts, +% defaulting to Adobe's Bookman for matters of personal taste. You can choose +% any font for the chapter number by using the command |\qsetcnfont|. % % \section{Quotations} % -% Perhaps even more interesting is the ``include some quotations -% right before the beginning of the chapter'' feature. An environment -% is given to save quotes to be used at the beginning of the next -% chapter, and an additional command gives an easy way to provide -% author information to the quotes. +% This package provides the feature to include some quotations right before +% the beginning of the chapter. An environment is given to save quotes to be +% used at the beginning of the next chapter, and an additional command gives +% an easy way to provide author information to the quotes. % % \DescribeEnv{savequote} % The |savequote| environment should appear at the top level, not in @@ -138,6 +136,12 @@ % repeating them. When you give no quotations for some chapter, the % upper left area of the corresponding page will be simply void. % +% \DescribeMacro{qsetcnfont} +% If you want to use a font for the chapter number, that is not +% available as package optionen, you can set it with +% |\qsetcnfont{}|. For example: |\qsetcnfont{pzc}| +% to use Zapf Chancery. +% % \section{Examples} % % Let's take a look at an example:\medskip @@ -177,18 +181,13 @@ % \end{multicols} % % \section{Document Options} -% Printing the chapter number in bold and that big a font is quite +% Printing the chapter number in bold and that big a font uses quite % some ink on the paper. Thus it is strongly recommended to % use the \textbf{grey} option (which is enabled by default and -% disabled by specifying \textbf{nogrey}) that improves the quality -% by printing -% the number in $60\%$ grey. The \texttt{color} package is used to -% set the colour |chaptergrey|, redefining this colour may produce -% even more colourful effects. It is dismissable by simply not -% selecting the option for two reasons: First some printer drivers -% may not know about printing or rastering colours, second, the -% widely available \texttt{xdvi} program spits errors on errors on -% colour specials. +% disabled by specifying \textbf{nogrey}) that improves the quality by +% printing the number in $60\%$ grey. The \texttt{color} package is used to +% set the colour |chaptergrey|, redefining this colour may produce even more +% colourful effects. % % The \texttt{color} package is |\Require|d without any option, if % you want to specify some, include the color package before the @@ -196,15 +195,21 @@ % % The other options are used to select a title font, they are all % self-explaining and thus simply listed here: -% % \begin{description} -% \item[charter] Bitstream's Charter BT -% \item[palatino] Adobe's Palatino % \item[avantgarde] Adobe's Avantgarde -% \item[bookman] Adobe's Bookman +% \item[beramono] Bera Mono +% \item[berasans] Bera Sans +% \item[beraserif] Bera Serif +% \item[biolinum] Biolinum +% \item[bookman] Adobe's Bookman (default) +% \item[charter] Bitstream's Charter BT % \item[courier] Adobe's Courier % \item[helvetica] Adobe's Helvetica -% \item[newcentury] Adobe's New Century Schoolbook, a. k. a. ``ncntrsbk'' +% \item[kpfonts] Kp-Fonts +% \item[libertine] Libertine +% \item[lmodern] Latin Modern +% \item[newcentury] Adobe's New Century Schoolbook +% \item[palatino] Adobe's Palatino % \item[times] Adobe's Times % \item[utopia] Adobe's Utopia % \end{description} @@ -246,13 +251,20 @@ % the options exclude each other. % % \begin{macrocode} -\DeclareOption{charter}{\@newfontcmd{\@defaultcnfont}{bch}} -\DeclareOption{palatino}{\@newfontcmd{\@defaultcnfont}{ppl}} \DeclareOption{avantgarde}{\@newfontcmd{\@defaultcnfont}{pag}} +\DeclareOption{beramono}{\@newfontcmd{\@defaultcnfont}{fvm}} +\DeclareOption{berasans}{\@newfontcmd{\@defaultcnfont}{fvs}} +\DeclareOption{beraserif}{\@newfontcmd{\@defaultcnfont}{fve}} +\DeclareOption{biolinum}{\@newfontcmd{\@defaultcnfont}{fxb}} \DeclareOption{bookman}{\@newfontcmd{\@defaultcnfont}{pbk}} +\DeclareOption{charter}{\@newfontcmd{\@defaultcnfont}{bch}} \DeclareOption{courier}{\@newfontcmd{\@defaultcnfont}{pcr}} \DeclareOption{helvetica}{\@newfontcmd{\@defaultcnfont}{phv}} +\DeclareOption{kpfonts}{\@newfontcmd{\@defaultcnfont}{jkp}} +\DeclareOption{libertine}{\@newfontcmd{\@defaultcnfont}{fxl}} +\DeclareOption{lmodern}{\@newfontcmd{\@defaultcnfont}{lmr}} \DeclareOption{newcentury}{\@newfontcmd{\@defaultcnfont}{pnc}} +\DeclareOption{palatino}{\@newfontcmd{\@defaultcnfont}{ppl}} \DeclareOption{times}{\@newfontcmd{\@defaultcnfont}{ptm}} \DeclareOption{utopia}{\@newfontcmd{\@defaultcnfont}{put}} % \end{macrocode} @@ -291,11 +303,11 @@ \fi % \end{macrocode} % -% Yow! Now we are ready to give the final font declarations. The +% Now we are ready to give the final font declarations. The % commands |\sectfont| and % |\chapterhead|\{|start|\textbar|end|\}|vskip| are defined in the % \textsf{KOMA-Script} classes the chapter is based on, -% they are provided in case |quotchap| is used with other, e. g. +% they are provided in case |quotchap| is used with other, e.g. % the default classes. If we are building a report, there is no % |\frontmatter|, |\mainmatter| and |\backmatter| resp. everything is % |\mainmatter|, thus we have to provide the corresponding switch @@ -354,6 +366,15 @@ % \end{macrocode} % \end{macro} % +% \begin{macro}{\qsetcnfont} +% The user can set any font for the chapter number by providing its family +% name to this command. +% \begin{macrocode} +\newcommand{\qsetcnfont}[1]{% + \renewcommand*{\@defaultcnfont}{#1}} +% \end{macrocode} +% \end{macro} +% % \subsection{Making up the chapter heading} % % Here are the modification to the chapter command definitions of diff --git a/Master/texmf-dist/source/latex/quotchap/quotchap.ins b/Master/texmf-dist/source/latex/quotchap/quotchap.ins index 25094669148..7c2ffee7183 100644 --- a/Master/texmf-dist/source/latex/quotchap/quotchap.ins +++ b/Master/texmf-dist/source/latex/quotchap/quotchap.ins @@ -1,9 +1,11 @@ %% quotchap.ins %% %% Docstrip installation instruction file -%% for docstyle `quotchap', Version 0.9f of 1998/02/09 +%% for docstyle `quotchap', Version 1.0 of 2011/01/14 %% -%% Copyright (C) 1998 by Karsten Tinnefeld. Legal stuff see below. +%% Copyright (C) 1998 - 2010 by Karsten Tinnefeld. +%% Copyright (C) 2011 by Jan Klever. +%% Legal stuff see below. %% \NeedsTeXFormat{LaTeX2e}[1995/09/15] \def\batchfile{quotchap.ins} @@ -12,7 +14,9 @@ This file is part of the QUOTCHAP package, a package a package for creating decorative chapter headings with quotations, a postscript -output device is needed. Copyright (C) 1998 Karsten Tinnefeld. +output device is needed. +Copyright (C) 1998 - 2010 by Karsten Tinnefeld. +Copyright (C) 2011 by Jan Klever. This file is NOT part of the LaTeX2e system, but intended for use with it. @@ -33,11 +37,11 @@ Ave, Cambridge, MA 02139, USA. Error Reports in case of UNCHANGED versions to - Karsten Tinnefeld - Leostrasse 11 - D-44225 Dortmund + Jan Klever + Kleiststr. 2 + D-22089 Hamburg Germany - Email: tinnefeld@irb.cs.uni-dortmund.de + Email: jasa.klever@gmx.de \endpreamble diff --git a/Master/texmf-dist/tex/latex/quotchap/quotchap.sty b/Master/texmf-dist/tex/latex/quotchap/quotchap.sty index 196ee19f1ca..003bd482f85 100644 --- a/Master/texmf-dist/tex/latex/quotchap/quotchap.sty +++ b/Master/texmf-dist/tex/latex/quotchap/quotchap.sty @@ -8,7 +8,9 @@ %% %% This file is part of the QUOTCHAP package, a package a package for %% creating decorative chapter headings with quotations, a postscript -%% output device is needed. Copyright (C) 1998 Karsten Tinnefeld. +%% output device is needed. +%% Copyright (C) 1998 - 2010 by Karsten Tinnefeld. +%% Copyright (C) 2011 by Jan Klever. %% %% This file is NOT part of the LaTeX2e system, but intended for use with %% it. @@ -29,16 +31,16 @@ %% %% Error Reports in case of UNCHANGED versions to %% -%% Karsten Tinnefeld -%% Leostrasse 11 -%% D-44225 Dortmund +%% Jan Klever +%% Kleiststr. 2 +%% D-22089 Hamburg %% Germany -%% Email: tinnefeld@irb.cs.uni-dortmund.de +%% Email: jasa.klever@gmx.de %% %%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[1996/12/01] \ProvidesPackage{quotchap} - [1998/02/09 v0.9f Decorative Chapter Headings with Quotes] + [2011/01/15 v1.0 Decorative Chapter Headings with Quotes] \newif\if@usecolor\@usecolortrue \DeclareOption{grey}{\@usecolortrue} \DeclareOption{nogrey}{\@usecolorfalse} @@ -48,13 +50,20 @@ used for the chapter numbers. I ignore the font\MessageBreak `\CurrentOption'} \providecommand*}} -\DeclareOption{charter}{\@newfontcmd{\@defaultcnfont}{bch}} -\DeclareOption{palatino}{\@newfontcmd{\@defaultcnfont}{ppl}} \DeclareOption{avantgarde}{\@newfontcmd{\@defaultcnfont}{pag}} +\DeclareOption{beramono}{\@newfontcmd{\@defaultcnfont}{fvm}} +\DeclareOption{berasans}{\@newfontcmd{\@defaultcnfont}{fvs}} +\DeclareOption{beraserif}{\@newfontcmd{\@defaultcnfont}{fve}} +\DeclareOption{biolinum}{\@newfontcmd{\@defaultcnfont}{fxb}} \DeclareOption{bookman}{\@newfontcmd{\@defaultcnfont}{pbk}} +\DeclareOption{charter}{\@newfontcmd{\@defaultcnfont}{bch}} \DeclareOption{courier}{\@newfontcmd{\@defaultcnfont}{pcr}} \DeclareOption{helvetica}{\@newfontcmd{\@defaultcnfont}{phv}} +\DeclareOption{kpfonts}{\@newfontcmd{\@defaultcnfont}{jkp}} +\DeclareOption{libertine}{\@newfontcmd{\@defaultcnfont}{fxl}} +\DeclareOption{lmodern}{\@newfontcmd{\@defaultcnfont}{lmr}} \DeclareOption{newcentury}{\@newfontcmd{\@defaultcnfont}{pnc}} +\DeclareOption{palatino}{\@newfontcmd{\@defaultcnfont}{ppl}} \DeclareOption{times}{\@newfontcmd{\@defaultcnfont}{ptm}} \DeclareOption{utopia}{\@newfontcmd{\@defaultcnfont}{put}} \ProcessOptions\relax @@ -94,6 +103,8 @@ \newcommand{\qauthor}[1]{% \par\smallskip {\raggedleft\upshape #1\qquad\hbox{}\par}\bigskip} +\newcommand{\qsetcnfont}[1]{% + \renewcommand*{\@defaultcnfont}{#1}} \newsavebox{\@quotebox} \let\@printcites\relax \renewcommand\chapter{% -- cgit v1.2.3