@jutge.org/toolkit 4.2.3 → 4.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/sty/judgeit.sty +9 -13
- package/dist/index.js +547 -693
- package/docs/problem-anatomy.md +145 -147
- package/package.json +9 -10
- package/toolkit/doctor.ts +1 -0
- package/toolkit/generate.ts +6 -1
- package/toolkit/make.ts +1 -1
- package/toolkit/upload.ts +2 -4
package/assets/sty/judgeit.sty
CHANGED
|
@@ -188,6 +188,7 @@
|
|
|
188
188
|
\item \textbf{#1:} ~ #3 \hfill \fbox{\textbf{~#2 \TxtPoints~}}
|
|
189
189
|
\end{itemize}
|
|
190
190
|
}
|
|
191
|
+
|
|
191
192
|
\newcommand{\ObservationElastic}{
|
|
192
193
|
\TxtObservationElastic
|
|
193
194
|
}
|
|
@@ -268,16 +269,12 @@
|
|
|
268
269
|
% Entre cometes dobles (double quoted).
|
|
269
270
|
\newcommand{\qq}[1]{``\texttt{\small #1}''}
|
|
270
271
|
|
|
271
|
-
% Sense cometes
|
|
272
|
+
% Sense cometes però el mateix estil (unquoted).
|
|
272
273
|
\newcommand{\uq}[1]{\texttt{\small #1}}
|
|
273
274
|
|
|
274
275
|
|
|
275
|
-
\newcommand{\directori}{}
|
|
276
|
-
|
|
277
|
-
\newcommand{\enllac}[1]{\texttt{#1}}
|
|
278
|
-
|
|
279
276
|
\providecommand{\Link}[1]{
|
|
280
|
-
\texttt{#1}
|
|
277
|
+
\texttt{#1} % TODO: hyperlink
|
|
281
278
|
}
|
|
282
279
|
|
|
283
280
|
|
|
@@ -302,25 +299,24 @@
|
|
|
302
299
|
\lstset{literate={->}{$\rightarrow$}1 {<=}{$\le$}1 {>=}{$\ge$}1 {!=}{$\neq$}1 {<<}{$<\!\!\!<$}2 {>>}{$>\!\!\!>$}2}
|
|
303
300
|
\lstset{xleftmargin=0.25cm}
|
|
304
301
|
|
|
305
|
-
%\lstMakeShortInline@ Aquesta comanda el principal,
|
|
302
|
+
%\lstMakeShortInline@ Aquesta comanda el principal, perquè aquí hem potinejat les @,
|
|
306
303
|
|
|
307
304
|
|
|
308
305
|
\renewcommand{\footnote}[1]{ (#1)}
|
|
309
306
|
|
|
310
|
-
|
|
311
|
-
|
|
312
307
|
\newcommand{\UseHaskell}{
|
|
313
308
|
\lstset{language=Haskell}
|
|
314
309
|
\lstset{columns=fullflexible}
|
|
315
310
|
\lstset{literate={<=}{$\le$}1 {>=}{$\ge$}1 {/=}{$\neq$}1 {->}{$\rightarrow$}1 {=>}{$\Rightarrow$}1}
|
|
316
|
-
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
\newcommand{\UseClojure}{
|
|
314
|
+
\lstset{language=Clojure}
|
|
315
|
+
\lstset{columns=fullflexible}
|
|
317
316
|
}
|
|
318
317
|
|
|
319
318
|
\newcommand{\UsePython}{
|
|
320
319
|
\lstset{language=Python}
|
|
321
320
|
\lstset{columns=fullflexible}
|
|
322
|
-
%\lstset{literate={<=}{$\le$}1 {>=}{$\ge$}1 {/=}{$\neq$}1 {->}{$\rightarrow$}1 {=>}{$\Rightarrow$}1}
|
|
323
321
|
}
|
|
324
322
|
|
|
325
|
-
|
|
326
|
-
\newcommand{\CPP}{C++}
|