cv/CV_env.tex

56 lines
1.1 KiB
TeX
Raw Normal View History

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
]
\setuphead[subject][
style=\tfb\bf,
color=darkgreen,
]
2022-05-24 04:04:17 +01:00
%% Blocks
\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