Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-quotchap.sty

raw
1 %%
2 %% This is file `lwarp-quotchap.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `quotchap')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18 \LWR@ProvidesPackageDrop{quotchap}[2019/07/09]
19 \newcommand{\@quotchap}{}
20 \newlength{\LWR@quotchapwidth}
21
22 \let\@printcites\relax
23
24 \newcommand*{\@iprintcites}{%
25 \begin{BlockClass}[max-width: \LWR@printlength{\LWR@quotchapwidth}]{quotchap}
26 \@quotchap
27 \end{BlockClass}
28 \global\let\@printcites\relax
29 }
30
31 \NewEnviron{savequote}[1][\linewidth]{%
32 \setlength{\LWR@quotchapwidth}{#1*2}%
33 \global\LWR@quotchapwidth=\LWR@quotchapwidth%
34 \global\let\@quotchap\BODY
35 \global\let\@printcites\@iprintcites%
36 }
37 \newcommand{\qauthor}[1]{%
38 \LWR@stoppars%
39 \begin{BlockClass}{qauthor}%
40 {#1}%
41 \end{BlockClass}%
42 \LWR@startpars%
43 }
44 \newcommand{\qsetcnfont}[1]{}
45 \providecommand*{\quotefont}{}
46 \providecommand*{\qauthorfont}{}
47
48 \endinput
49 %%
50 %% End of file `lwarp-quotchap.sty'.