+.gitignore
[exercicis-automatics-matematiques.git] / entorn-simple-visuals.tex
bloba6dfe06bef1ee686f982719ee737cb7328d3a4b2
1 % SPDX-FileCopyrightText: 2023 Xavier Bordoy
3 % SPDX-License-Identifier: MIT
5 %= Colors
6 %== Colors meus
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.]
28 %= Document
30 %== Font del document
31 \setupbodyfont [cmr,12pt]
33 %== Mida de la pàgina
34 \setuppapersize [A4]
36 %== Nombre de pàgina
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]
45 %=Indentació
46 \setupindenting[yes,medium,next]
48 %== Capçaleres i peus
50 \setupheader[text][style={\ss},color={headingcolor},after={}]
51 \setupfooter[text][style={\sc},color={headingcolor},before={}] %\hrule
53 \setupheadertexts[]
54 \setupfootertexts
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]
70 %= Itemize
71 %%== Marges
73 \setupitemize[margin=2em,headstyle=bold,afterhead={\blank[medium]}]
75 %== Enllaços
76 %%=== Format de les URL: per a \url
78 \setupurl[style=\tf]
80 %%===Format de les URL: per a \goto i \from
82 \setupinteraction[state=start,style=\tf]
84 %%== Captions
85 %%== http://wiki.contextgarden.net/Command/setupcaptions
87 \setupcaptions[headstyle={\ss},headcolor=exercici_color]