| 1 |
%% |
| 2 |
%% This is file `pifont.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% psfonts.dtx (with options: `pifont') |
| 8 |
%% |
| 9 |
%% IMPORTANT NOTICE: |
| 10 |
%% |
| 11 |
%% For the copyright see the source file. |
| 12 |
%% |
| 13 |
%% Any modified versions of this file must be renamed |
| 14 |
%% with new filenames distinct from pifont.sty. |
| 15 |
%% |
| 16 |
%% For distribution of the original source see the terms |
| 17 |
%% for copying and modification in the file psfonts.dtx. |
| 18 |
%% |
| 19 |
%% This generated file may be distributed as long as the |
| 20 |
%% original source files, as listed above, are part of the |
| 21 |
%% same distribution. (The sources need not necessarily be |
| 22 |
%% in the same archive or directory.) |
| 23 |
\ProvidesPackage{pifont}% |
| 24 |
[2020/03/25 PSNFSS-v9.3 |
| 25 |
Pi font support (SPQR) |
| 26 |
] |
| 27 |
\newcommand{\Pifont}[1]{\fontfamily{#1}\fontencoding{U}% |
| 28 |
\fontseries{m}\fontshape{n}\selectfont} |
| 29 |
\newcommand{\Pisymbol}[2]{{\Pifont{#1}\char#2}} |
| 30 |
\newcommand{\Pifill}[2]{\leavevmode |
| 31 |
\leaders\hbox{\makebox[0.2in]{\Pisymbol{#1}{#2}}}\hfill |
| 32 |
\kern\z@} |
| 33 |
\newcommand{\Piline}[2]{\par\noindent\hspace{0.5in}\Pifill{#1}{#2}% |
| 34 |
\hspace{0.5in}\kern\z@\par} |
| 35 |
\newenvironment{Pilist}[2]% |
| 36 |
{\begin{list}{\Pisymbol{#1}{#2}}{}}% |
| 37 |
{\end{list}}% |
| 38 |
\def\Pinumber#1#2{\protect\Pisymbol{#1}{\arabic{#2}}} |
| 39 |
\newenvironment{Piautolist}[2]{% |
| 40 |
\ifnum \@enumdepth >3 \@toodeep\else |
| 41 |
\advance\@enumdepth \@ne |
| 42 |
\edef\@enumctr{enum\romannumeral\the\@enumdepth}% |
| 43 |
\expandafter\def\csname p@enum\romannumeral\the\@enumdepth\endcsname{}% |
| 44 |
\expandafter\def\csname labelenum\romannumeral\the\@enumdepth\endcsname{% |
| 45 |
\csname theenum\romannumeral\the\@enumdepth\endcsname}% |
| 46 |
\expandafter\def\csname theenum\romannumeral\the\@enumdepth\endcsname{% |
| 47 |
\Pinumber{#1}{enum\romannumeral\the\@enumdepth}}% |
| 48 |
\list{\csname label\@enumctr\endcsname}{% |
| 49 |
\@nmbrlisttrue |
| 50 |
\def\@listctr{\@enumctr}% |
| 51 |
\setcounter{\@enumctr}{#2}% |
| 52 |
\addtocounter{\@enumctr}{-1}% |
| 53 |
\def\makelabel##1{\hss\llap{##1}}} |
| 54 |
\fi |
| 55 |
}{\endlist} |
| 56 |
\newcommand{\ding}{\Pisymbol{pzd}} |
| 57 |
\def\dingfill#1{\Pifill{pzd}{#1}} |
| 58 |
\def\dingline#1{\Piline{pzd}{#1}} |
| 59 |
\newenvironment{dinglist}[1]{\begin{Pilist}{pzd}{#1}}% |
| 60 |
{\end{Pilist}} |
| 61 |
\newenvironment{dingautolist}[1]{\begin{Piautolist}{pzd}{#1}}% |
| 62 |
{\end{Piautolist}} |
| 63 |
{\Pifont{pzd}} |
| 64 |
{\Pifont{psy}} |
| 65 |
\endinput |
| 66 |
%% |
| 67 |
%% End of file `pifont.sty'. |