cv/CV_env.tex

35 lines
803 B
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
]
2022-05-24 04:04:17 +01:00
\setuphead[subject][style=\tfb\bf,color=darkgreen]
%% Blocks
\definedescription[timeentry][width=broad,distance=.5em,alternative=hanging]
\setupitemize[option=packed,textdistance=small]
2022-05-24 22:45:58 +01:00
%% Enable hyperlinks
\setupinteraction[state=start,color=lightblue]
2022-05-24 04:04:17 +01:00
\stopenvironment