diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-15 22:55:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-15 22:55:37 +0000 |
commit | e97b4a47e8f6cf88d0aae0ea02c25b5671964e7b (patch) | |
tree | 70db51cd6c68ed66452a638fe1f4104e37637e85 /Master/texmf-dist | |
parent | cda1ac522ff79302355f6de6c1f3c3a057ee87bd (diff) |
quotchap 1.0 (16jan11)
git-svn-id: svn://tug.org/texlive/trunk@21082 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/quotchap/README (renamed from Master/texmf-dist/source/latex/quotchap/00readme.txt) | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/quotchap/document.pdf | bin | 63565 -> 71130 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/quotchap/quotchap.pdf | bin | 0 -> 235582 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/quotchap/quotchap.dtx | 115 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/quotchap/quotchap.ins | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/quotchap/quotchap.sty | 27 |
6 files changed, 105 insertions, 65 deletions
diff --git a/Master/texmf-dist/source/latex/quotchap/00readme.txt b/Master/texmf-dist/doc/latex/quotchap/README index 75055c369f0..fa16851a8e1 100644 --- a/Master/texmf-dist/source/latex/quotchap/00readme.txt +++ b/Master/texmf-dist/doc/latex/quotchap/README @@ -1,8 +1,12 @@ 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. +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. -This version is 0.9f of 1998/02/09. +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 diff --git a/Master/texmf-dist/doc/latex/quotchap/document.pdf b/Master/texmf-dist/doc/latex/quotchap/document.pdf Binary files differindex 5a518351f4d..cc41d43d458 100644 --- a/Master/texmf-dist/doc/latex/quotchap/document.pdf +++ b/Master/texmf-dist/doc/latex/quotchap/document.pdf diff --git a/Master/texmf-dist/doc/latex/quotchap/quotchap.pdf b/Master/texmf-dist/doc/latex/quotchap/quotchap.pdf Binary files differnew file mode 100644 index 00000000000..941d3f11972 --- /dev/null +++ b/Master/texmf-dist/doc/latex/quotchap/quotchap.pdf 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 @@ %<driver>\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 @@ %</driver> % \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{<family>}|. 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{% |