You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
3.4 KiB
88 lines
3.4 KiB
%%
|
|
%% This is file `enumerate.sty',
|
|
%% generated with the docstrip utility.
|
|
%%
|
|
%% The original source files were:
|
|
%%
|
|
%% enumerate.dtx (with options: `package')
|
|
%%
|
|
%% This is a generated file.
|
|
%%
|
|
%% The source is maintained by the LaTeX Project team and bug
|
|
%% reports for it can be opened at https://latex-project.org/bugs/
|
|
%% (but please observe conditions on bug reports sent to that address!)
|
|
%%
|
|
%%
|
|
%% Copyright (C) 1993-2020
|
|
%% The LaTeX3 Project and any individual authors listed elsewhere
|
|
%% in this file.
|
|
%%
|
|
%% This file was generated from file(s) of the Standard LaTeX `Tools Bundle'.
|
|
%% --------------------------------------------------------------------------
|
|
%%
|
|
%% It may be distributed and/or modified under the
|
|
%% conditions of the LaTeX Project Public License, either version 1.3c
|
|
%% of this license or (at your option) any later version.
|
|
%% The latest version of this license is in
|
|
%% https://www.latex-project.org/lppl.txt
|
|
%% and version 1.3c or later is part of all distributions of LaTeX
|
|
%% version 2005/12/01 or later.
|
|
%%
|
|
%% This file may only be distributed together with a copy of the LaTeX
|
|
%% `Tools Bundle'. You may however distribute the LaTeX `Tools Bundle'
|
|
%% without such generated files.
|
|
%%
|
|
%% The list of all files belonging to the LaTeX `Tools Bundle' is
|
|
%% given in the file `manifest.txt'.
|
|
%%
|
|
%% File: enumerate.dtx Copyright 1993 1994 1999 David Carlisle
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{enumerate}
|
|
[2015/07/23 v3.00 enumerate extensions (DPC)]
|
|
\newtoks\@enLab
|
|
\def\@enQmark{?}
|
|
\def\@enLabel#1#2{%
|
|
\edef\@enThe{\noexpand#1{\@enumctr}}%
|
|
\@enLab\expandafter{\the\@enLab\csname the\@enumctr\endcsname}%
|
|
\@enloop}
|
|
\def\@enSpace{\afterassignment\@enSp@ce\let\@tempa= }
|
|
\def\@enSp@ce{\@enLab\expandafter{\the\@enLab\space}\@enloop}
|
|
\def\@enGroup#1{\@enLab\expandafter{\the\@enLab{#1}}\@enloop}
|
|
\def\@enOther#1{\@enLab\expandafter{\the\@enLab#1}\@enloop}
|
|
\def\@enloop{\futurelet\@entemp\@enloop@}
|
|
\def\@enloop@{%
|
|
\ifx A\@entemp \def\@tempa{\@enLabel\Alph }\else
|
|
\ifx a\@entemp \def\@tempa{\@enLabel\alph }\else
|
|
\ifx i\@entemp \def\@tempa{\@enLabel\roman }\else
|
|
\ifx I\@entemp \def\@tempa{\@enLabel\Roman }\else
|
|
\ifx 1\@entemp \def\@tempa{\@enLabel\arabic}\else
|
|
\ifx \@sptoken\@entemp \let\@tempa\@enSpace \else
|
|
\ifx \bgroup\@entemp \let\@tempa\@enGroup \else
|
|
\ifx \@enum@\@entemp \let\@tempa\@gobble \else
|
|
\let\@tempa\@enOther
|
|
\@enhook
|
|
\fi\fi\fi\fi\fi\fi\fi\fi
|
|
\@tempa}
|
|
\providecommand\@enhook{}
|
|
\def\enumerate{%
|
|
\ifnum \@enumdepth >3 \@toodeep\else
|
|
\advance\@enumdepth \@ne
|
|
\edef\@enumctr{enum\romannumeral\the\@enumdepth}\fi
|
|
\@ifnextchar[{\@@enum@}{\@enum@}}
|
|
\def\@@enum@[#1]{%
|
|
\@enLab{}\let\@enThe\@enQmark
|
|
\@enloop#1\@enum@
|
|
\ifx\@enThe\@enQmark\@warning{The counter will not be printed.%
|
|
^^J\space\@spaces\@spaces\@spaces The label is: \the\@enLab}\fi
|
|
\expandafter\edef\csname label\@enumctr\endcsname{\the\@enLab}%
|
|
\expandafter\let\csname the\@enumctr\endcsname\@enThe
|
|
\csname c@\@enumctr\endcsname7
|
|
\expandafter\settowidth
|
|
\csname leftmargin\romannumeral\@enumdepth\endcsname
|
|
{\the\@enLab\hspace{\labelsep}}%
|
|
\@enum@}
|
|
\def\@enum@{\list{\csname label\@enumctr\endcsname}%
|
|
{\usecounter{\@enumctr}\def\makelabel##1{\hss\llap{##1}}}}
|
|
\endinput
|
|
%%
|
|
%% End of file `enumerate.sty'.
|
|
|