summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/quotchap
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-15 22:55:37 +0000
committerKarl Berry <karl@freefriends.org>2011-01-15 22:55:37 +0000
commite97b4a47e8f6cf88d0aae0ea02c25b5671964e7b (patch)
tree70db51cd6c68ed66452a638fe1f4104e37637e85 /Master/texmf-dist/tex/latex/quotchap
parentcda1ac522ff79302355f6de6c1f3c3a057ee87bd (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/tex/latex/quotchap')
-rw-r--r--Master/texmf-dist/tex/latex/quotchap/quotchap.sty27
1 files changed, 19 insertions, 8 deletions
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{%