1 % SPDX-FileCopyrightText: 2023 Xavier Bordoy
3 % SPDX-License-Identifier: MIT
8 \definecolor[headingcolor
][c=
1,m=
0.5431,y=
0,k=
0.5451]
9 \definecolor[steelblue
][h=
4682B4
]
10 \definecolor[tablecolor
][h=eeefff,t=
.2]
11 \definecolor[exercici_color
][darkblue
]
12 \definecolor[importantcolor
][h=faf9dc
]
13 \definecolor[teoriacolor
][lightgray
]
15 %== Per als gràfics del Geogebra
16 \definecolor[uuuuuu
][r=
0.27,g=
0.27,b=
0.27]
17 \definecolor[cqcqcq
][r=
0.75,g=
0.75,b=
0.75]
18 \definecolor[qqqqff
][r=
0.,g=
0.,b=
1.
]
19 \definecolor[cqcqcq
][r=
0.752941176471,g=
0.752941176471,b=
0.752941176471]
20 \definecolor[zzttqq
][r=
0.6,g=
0.2,b=
0.
]
21 \definecolor[qqccqq
][r=
0.,g=
0.8,b=
0.
]
22 \definecolor[qqwwzz
][r=
0.,g=
0.4,b=
0.6]
23 \definecolor[xdxdff
][r=
0.49019607843137253,g=
0.49019607843137253,b=
1.
]
24 \definecolor[qqwuqq
][r=
0.,g=
0.39215686274509803,b=
0.
]
25 \definecolor[qqzzqq
][r=
0.,g=
0.6,b=
0.
]
31 \setupbodyfont [cmr,
12pt
]
38 %% Llev que aparegui el nombre de pàgina
39 \setuppagenumbering [location=
]
41 %== Emfatitzat amb cursiva (per defecte és 'slanted')
43 \setupbodyfontenvironment[default
][em=italic
]
46 \setupindenting[yes,medium,next
]
50 \setupheader[text
][style=
{\ss},
color=
{headingcolor
},after=
{}]
51 \setupfooter[text
][style=
{\sc},
color=
{headingcolor
},before=
{}] %\hrule
55 [{\getmarking[subject
]}][{\userpagenumber}]
58 %%== Seccions, subseccions, etc.
60 \setuphead[title
][style=
{\scd},align=middle,before=
{\begingroup},after=
{\blank[3cm
]\bigskip\endgroup},page=no, alternative=middle
]
61 \setuphead[chapter
][style=
{\scd},align=middle,before=
{\page[yes
]\begingroup},after=
{\blank[3cm
]\bigskip\endgroup},page=no, alternative=middle
]
63 %\setuphead[section][page=yes] % or page=right
64 \setupheads[section,subject
][style=
{\ssc}, alternative=margin
]
65 \setupheads[subsubject,subsection
][style=
{\ssb}, alternative=margin
]
66 \setupheads[subsubsubject,subsubsection
][style=
{\ssa}, alternative=margin
]
67 \setuphead[title,chapter,subject,section,subsubject,subsection
][color=headingcolor
]
73 \setupitemize[margin=
2em,headstyle=bold,afterhead=
{\blank[medium
]}]
76 %%=== Format de les URL: per a \url
80 %%===Format de les URL: per a \goto i \from
82 \setupinteraction[state=start,style=
\tf]
85 %%== http://wiki.contextgarden.net/Command/setupcaptions
87 \setupcaptions[headstyle=
{\ss},headcolor=exercici_color
]