summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eCards/eCardsList.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/eCards/eCardsList.def')
-rw-r--r--Master/texmf-dist/tex/latex/eCards/eCardsList.def91
1 files changed, 91 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/eCards/eCardsList.def b/Master/texmf-dist/tex/latex/eCards/eCardsList.def
new file mode 100644
index 00000000000..757d5a72a71
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/eCards/eCardsList.def
@@ -0,0 +1,91 @@
+%%
+%% This is file `eCardsList.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% eCards.dtx (with options: `copyright,listing')
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% eCards.sty package, 2003-3-10 %%
+%% Copyright (C) 1999-2002 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}
+\renewcommand\exsolafter{}
+\eqexerskip{0pt}
+\newenvironment{listing@card}
+{%
+ \stepcounter{ecCnt}%
+ \gdef\nMarker{0}%
+ \def\eqexheader{\noindent}%
+ \renewcommand\exsllabelformat{\noindent}%
+ \renewcommand\exrtnlabelformat{}%
+ \renewcommand\exsecrunhead{}%
+ \begin{exercise}%
+ \textBgColor{\@cardColor}%
+ \headCard
+}%
+{%
+ \tailCard
+ \end{exercise}%
+}
+\newcommand{\listing@headCard}
+{%
+ \unskip\makebox[0pt][r]
+ {\textbf{\arabic{ecCnt}.\enspace}}\ignorespaces%
+}
+\newcommand{\listing@tailCard}{\par}
+\newenvironment{listing@response}
+ {\solnexer@woparts[0pt]}{\endsolnexer@woparts}
+\newenvironment{listing@hint}
+{%
+ \textBgColor{\@hintColor}%
+ \headHint
+}%
+{%
+ \tailHint
+}
+\newcommand{\listing@headHint}
+{%
+ \unskip\par\textit{Hint}:\space\ignorespaces
+}
+\newcommand{\listing@tailHint}{}
+\newenvironment{listing@answer}
+{%
+ \textBgColor{\@solnColor}%
+ \headAnswer
+}%
+{%
+ \tailAnswer
+}
+\newcommand{\listing@headAnswer}
+{%
+ \unskip\par\textit{Answer}:\space\ignorespaces
+}
+\newcommand{\listing@tailAnswer}{}
+\AtBeginDocument{%
+ \let\card = \listing@card
+ \let\endcard = \endlisting@card
+ \let\headCard = \listing@headCard
+ \let\tailCard = \listing@tailCard
+ \let\headresponse = \listing@response
+ \let\endresponse = \listing@response
+ \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
+}
+\endinput
+%%
+%% End of file `eCardsList.def'.