diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:03:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:03:49 +0000 |
commit | 77a6fc62f39f78a84a4f14eddc30d478ddbede7b (patch) | |
tree | 64bef0ed95371cd1dc6749170be11c0f60135c85 /Master/texmf-dist/tex/latex/psnfss/pifont.sty | |
parent | 550e2b14d0973820662fc67c557a057e47016ea4 (diff) |
psnfss
git-svn-id: svn://tug.org/texlive/trunk@1231 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/psnfss/pifont.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/psnfss/pifont.sty | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/psnfss/pifont.sty b/Master/texmf-dist/tex/latex/psnfss/pifont.sty new file mode 100644 index 00000000000..9e990b23147 --- /dev/null +++ b/Master/texmf-dist/tex/latex/psnfss/pifont.sty @@ -0,0 +1,67 @@ +%% +%% This is file `pifont.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% psfonts.dtx (with options: `pifont') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from pifont.sty. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file psfonts.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +\ProvidesPackage{pifont}% +[2004/09/15 PSNFSS-v9.2 +Pi font support (SPQR) +] +\newcommand{\Pifont}[1]{\fontfamily{#1}\fontencoding{U}% +\fontseries{m}\fontshape{n}\selectfont} +\newcommand{\Pisymbol}[2]{{\Pifont{#1}\char#2}} +\newcommand{\Pifill}[2]{\leavevmode + \leaders\hbox{\makebox[0.2in]{\Pisymbol{#1}{#2}}}\hfill + \kern\z@} +\newcommand{\Piline}[2]{\par\noindent\hspace{0.5in}\Pifill{#1}{#2}% + \hspace{0.5in}\kern\z@\par} +\newenvironment{Pilist}[2]% +{\begin{list}{\Pisymbol{#1}{#2}}{}}% +{\end{list}}% +\def\Pinumber#1#2{\protect\Pisymbol{#1}{\arabic{#2}}} +\newenvironment{Piautolist}[2]{% +\ifnum \@enumdepth >3 \@toodeep\else + \advance\@enumdepth \@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \expandafter\def\csname p@enum\romannumeral\the\@enumdepth\endcsname{}% + \expandafter\def\csname labelenum\romannumeral\the\@enumdepth\endcsname{% + \csname theenum\romannumeral\the\@enumdepth\endcsname}% + \expandafter\def\csname theenum\romannumeral\the\@enumdepth\endcsname{% + \Pinumber{#1}{enum\romannumeral\the\@enumdepth}}% + \list{\csname label\@enumctr\endcsname}{% + \@nmbrlisttrue + \def\@listctr{\@enumctr}% + \setcounter{\@enumctr}{#2}% + \addtocounter{\@enumctr}{-1}% + \def\makelabel##1{\hss\llap{##1}}} +\fi +}{\endlist} +\newcommand{\ding}{\Pisymbol{pzd}} +\def\dingfill#1{\Pifill{pzd}{#1}} +\def\dingline#1{\Piline{pzd}{#1}} +\newenvironment{dinglist}[1]{\begin{Pilist}{pzd}{#1}}% + {\end{Pilist}} +\newenvironment{dingautolist}[1]{\begin{Piautolist}{pzd}{#1}}% + {\end{Piautolist}} +{\Pifont{pzd}} +{\Pifont{psy}} +\endinput +%% +%% End of file `pifont.sty'. |