2022-05-24 04:04:17 +01:00
|
|
|
\startenvironment[CV]
|
|
|
|
|
|
|
|
%% Fonts and other general things
|
|
|
|
\usetypescriptfile[type-roboto]
|
|
|
|
|
|
|
|
%% Layout
|
|
|
|
\setuppapersize[A4]
|
2022-05-24 22:45:41 +01:00
|
|
|
\setuplayout[height=fit,topspace=.2cm]
|
2022-05-24 04:04:17 +01:00
|
|
|
|
|
|
|
%% General settings
|
|
|
|
\setupbodyfont[roboto,sans]
|
|
|
|
\setuppagenumbering[state=stop]
|
|
|
|
|
2022-05-24 22:45:41 +01:00
|
|
|
%% Heading settings
|
|
|
|
|
|
|
|
%% The "middle" alternative adds a lot of spacing around the title,
|
|
|
|
%% which can't be changed. We hack around this by removing the header.
|
2022-05-24 23:24:48 +01:00
|
|
|
\setuphead[title][
|
|
|
|
style=\tfc\bf,
|
|
|
|
alternative=middle,
|
|
|
|
header=high,
|
|
|
|
before=\startpacked,
|
|
|
|
after=\stoppacked
|
|
|
|
]
|
2022-05-25 20:33:04 +01:00
|
|
|
\setuphead[subject][
|
|
|
|
style=\tfb\bf,
|
|
|
|
color=darkgreen,
|
|
|
|
]
|
2022-05-24 04:04:17 +01:00
|
|
|
|
|
|
|
%% Blocks
|
2022-05-25 20:33:04 +01:00
|
|
|
\definedescription[timeentry][
|
|
|
|
width=broad,
|
|
|
|
distance=.5em,
|
|
|
|
alternative=hanging,
|
|
|
|
before=\startpacked,
|
|
|
|
after=\stoppacked
|
|
|
|
]
|
|
|
|
\definedescription[proglang][
|
|
|
|
width=fit,
|
|
|
|
sample=JS/TS,
|
|
|
|
headstyle=\tf,
|
|
|
|
text={\hbox to1em {--}},
|
|
|
|
before=\startpacked,
|
|
|
|
after=\stoppacked
|
|
|
|
]
|
|
|
|
\setupitemize[
|
|
|
|
option={packed,joinedup,nowhite},
|
|
|
|
width=1em,
|
|
|
|
distance=0pt
|
|
|
|
]
|
2022-05-24 04:04:17 +01:00
|
|
|
|
2022-05-24 22:45:58 +01:00
|
|
|
%% Enable hyperlinks
|
|
|
|
\setupinteraction[state=start,color=lightblue]
|
|
|
|
|
2022-05-24 04:04:17 +01:00
|
|
|
\stopenvironment
|