1 % SPDX-FileCopyrightText: 2023 Xavier Bordoy
3 % SPDX-License-Identifier: MIT
8 %=Choose a language, and associated hyphenation rules.
15 %%== http://wiki.contextgarden.net/Command/setupdescriptions
19 [alternative=serried,before=
{\blank[medium
]\testpage[1]},text=
{Exercici
},stopper=
{.
\space},width=fit,headstyle=
\ss,distance=
0.25em,width=fit,headcolor=exercici_color,title=yes,titlestyle=
\ss,left=
{\bgroup\bf},right=
{\egroup}, after=
{\blank[big
]}]
25 [alternative=serried,text=
{Exemple
},stopper=
{.
\space},headcolor=exercici_color,headstyle=
\tf,distance=
0.25em,width=fit,title=yes,titlestyle=
\tf,left=
{\bgroup\bf},right=
{\egroup}]
28 %% és tot el que no són exercicis: activitats en grup, activitats en 3 actes, activitats competencials. Una activitat que no siguin un simple exercici
29 %% comparteixen nombre amb l'exercici [http://www.ntg.nl/pipermail/ntg-context/2013/074210.html]
33 [alternative=serried,before=
{\testpage[1]},text=
{Activitat
},stopper=
{.
\space},width=fit,headstyle=
\tf,distance=
0.25em,width=fit,headcolor=exercici_color,title=yes,counter=exercici,numberconversion=numbers,titlestyle=
{\tf},left=
{\bgroup\bf},right=
{\egroup}]
39 [alternative=serried,before=
{\testpage[1]\bigskip},after=
{\bigskip},text=
{Resultat
},stopper=
{.
\space},width=fit,headstyle=
{\bf\ss},distance=
1em, width=fit, headcolor=exercici_color, title=yes, numberconversion=numbers, titlestyle=
{\tf\ss},style=
{\em}]
43 [number=no,text=
{Demostració
},
44 closesymbol=
\mathematics{\square},
45 closecommand=
\mathortext\eqno\wordright]
47 %=Per a veure què falla amb els símbols
49 \enabletrackers [fonts.missing
]
55 \define[1]\term{\startcolor[blue
]{\em #1}\stopcolor}