diff options
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/exercise/exercise.dtx | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/exercise/exercise.dtx b/Master/texmf-dist/source/latex/exercise/exercise.dtx index 1252a1225b2..20170d33293 100644 --- a/Master/texmf-dist/source/latex/exercise/exercise.dtx +++ b/Master/texmf-dist/source/latex/exercise/exercise.dtx @@ -21,7 +21,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{exercise} -%<package> [2011/03/13 v1.55 Exercise package (P.Pichaureau)] +%<package> [2011/07/19 v1.57 Exercise package (P.Pichaureau)] %<*driver> \documentclass{ltxdoc} \usepackage{exercise} @@ -84,7 +84,7 @@ % \DoNotIndex{\setlength,\string,\textbf,\textsc,\emph,\whiledo,\vbox} % \DoNotIndex{\unvbox,\usefont,\usecounter,\value,\vskip,\setbox,\setcounter} % -%\CheckSum{1982} +%\CheckSum{2002} % % % \GetFileInfo{exercise.sty} @@ -406,7 +406,7 @@ %\begin{verbatim} % \ref{ex1-Answer} \refAnswer{ex1} %\end{verbatim} -%are two equivalent way to reference the answer of the preceding +%are two equivalent ways to reference the answer of the preceding %exercise labeled |ex1|. % %Remember that inside an |Exercise| the command |\ExerciseLabel| @@ -868,6 +868,15 @@ \def\ExePartName{Teil}% \def\ArticleOf{von\ }% } +\addto\captionsportuges{% +\def\listexercisename{Lista de exerc\'icios}% +\def\ExerciseName{Exerc\'icio}% +\def\AnswerName{Solução do exerc\'icio}% +\def\ExerciseListName{Ex.}% +\def\AnswerListName{Solu\c{c}\~ao}% +\def\ExePartName{Parte}% +\def\ArticleOf{de\ }% +} }{} % \end{macrocode} %\subsubsection{Layout} @@ -1499,8 +1508,8 @@ \newif\if@AnswerRef \@AnswerReffalse \newif\if@AnswerNB \@AnswerNBfalse % -\define@key{PPAnswer}{ref}{\global\@AnswerReftrue\gdef\AnswerRef{\string#1}} -\define@key{PPAnswer}{number}{\global\@AnswerNBtrue\gdef\AnswerNB{\string#1}} +\define@key{PPAnswer}{ref}{\global\@AnswerReftrue\gdef\AnswerRef{#1}} +\define@key{PPAnswer}{number}{\global\@AnswerNBtrue\gdef\AnswerNB{#1}} % \def\beginAnswerEnv{\@InitAnswer\@ifnextchar[\@@AnswerEnv{\@@AnswerEnv[]}}%] % |