%% %% This is file `ecardslist.def', %% generated with the docstrip utility. %% %% The original source files were: %% %% ecards.dtx (with options: `copyright,listing') %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% ecards.sty package, %% %% Copyright (C) 1999-2016 D. P. Story %% %% dpstory@uakron.edu %% %% %% %% This program can redistributed and/or modified under %% %% the terms of the LaTeX Project Public License %% %% Distributed from CTAN archives in directory %% %% macros/latex/base/lppl.txt; either version 1 of the %% %% License, or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcounter{ecCnt} \let\exsolafter\@empty \eqexerskip{0pt} \newenvironment{listing@card}[1][\opts@ecNoHints]{% \isQuestrue\let\useHints\ec@HintsWarning \let\useNoHint\ec@HintsWarning\edef\ec@rgi{#1}% \ifx\ec@rgi\ec@isHint \def\ec@thisHintOpt{\ecUseHints}\else \ifx\ec@rgi\ec@isNoHint \def\ec@thisHintOpt{\ecUseNoHints}\else \def\ec@thisHintOpt{\ecUseHints}\ec@BadArgWarning \fi\fi \ec@thisHintOpt\nMarkerSet{\ec@Ques}% \stepcounter{ecCnt}% \def\eqexheader{\noindent}% \renewcommand\exsllabelformat{\protect\noindent}% \renewcommand\exrtnlabelformat{}% \renewcommand\exsecrunhead{}% \let\afterlabelhskip\@empty \def\exersolnheadhook{\ecInfoToSolns}% \begin{exercise}% \textBgColor{\@cardColor}% \headCard }{% \tailCard \end{exercise}% } \newcommand{\listing@headCard}{\ifeqforpaper \makebox[0pt][r]{\textbf{\arabic{ecCnt}.\thinspace}}\else \makebox[0pt][r]{\textbf{\hyperlink{ex.\exnoCard}% {\arabic{ecCnt}.\thinspace}}}\fi\ignorespaces} \newcommand{\listing@tailCard}{\removelastskip\par} % dps \def\setSolutionsAfterSkip{\expandafter \def\expandafter\solutionsafterSkip \expandafter{\solutionsafterSkip\kern0pt}} \AtBeginDocument{\setSolutionsAfterSkip} \newenvironment{listing@response} {\solutionsafterSkip\solnexer@woparts[]}{\endsolnexer@woparts} \newenvironment{listing@hint}{% \textBgColor{\@hintColor}% \headHint }{\tailHint} \newcommand{\listing@headHint}{% \par\textit{Hint}:\space\ignorespaces} \newcommand{\listing@tailHint}{} \newenvironment{listing@answer}{% \textBgColor{\@solnColor}% \headAnswer }{\tailAnswer} \newcommand{\listing@headAnswer}{% \par\textit{Answer}:\space\ignorespaces} \newcommand{\listing@tailAnswer}{} \def\ec@redefForListing{% \let\card\listing@card \let\endcard\endlisting@card \let\headCard\listing@headCard \let\tailCard\listing@tailCard \let\response\listing@response % dps \let\endresponse\endlisting@response % dps \let\headhint\listing@hint \let\endhint\listing@endhint \let\headHint\listing@headHint \let\tailHint\listing@tailHint \let\answer\listing@answer \let\endanswer\listing@endanswer \let\headAnswer\listing@headAnswer \let\tailAnswer\listing@tailAnswer } \AtBeginDocument{\ec@redefForListing} \endinput %% %% End of file `ecardslist.def'.