I'm trying to built a template for evaluations of my students. I have a problem with the head environment that does not take into account the selected font and size. Regards, Fabrice \environment environ-2 \environment environ-3 \environment header \starttext \MyOtherHeader{Seconde GTA}{20}{3}{2014}{{\ss \tfd \bf Correction du devoir maison de Mathématiques} }{{\ss \bf \tfd 9}} \startex \input knuth \stopex \stoptext ############################################################## \startenvironment environ-2 \loadtypescriptfile[mathdesign] \definetypeface [mainface] [rm] [serif] [palatino] [default] \definetypeface [mainface] [tt] [mono] [modern] [default] [rscale=0.9] \definetypeface [mainface] [mm] [math] [xits] [default] \setupbodyfont[mainface,11pt] \setuppagenumbering[location=] \setupexternalfigures[location={local,global,default}] \setupexternalfigures[directory=/home/fab/Seconde/2013_2014/Figures/] \mainlanguage[fr] \stopenvironment Thanks Hans for this header ############################################################ % macros=mkvi \startenvironment header \environment environ-2 \starttexdefinition MyOtherHeader #where #day #month #year #title #number \defineoverlay[whatever][\useMPgraphic{whatever}] \startuseMPgraphic{whatever} path p; p:=fullsquare xyscaled (\overlaywidth,\overlayheight) squeezed 1pt; fill p withcolor white ; draw p withpen pencircle scaled 2pt withcolor 0.625white ; picture d ; d := textext("\quad#where\space\endash\space\date[d=#day,m=#month,y=#year]\quad") shifted .5[ulcorner p,urcorner p]; fill boundingbox d withcolor white ; draw d ; setbounds currentpicture to p ; \stopuseMPgraphic \framed [ width=\hsize, height=5em, foregroundstyle=\itxx, background=whatever, frame=off, ] {#title \space {\ss\tfc\bf n \high{\tfa \bf o}} \space #number } \stoptexdefinition \stopenvironment Thanks Wolfgang for this environment ############################################################# \startenvironment environ-3 \defineenumeration [ex] [text={Exercice}, headstyle={\bf\feature[+][f:smallcaps]}, inbetween={\blank[small]}, stopper={.}] \stopenvironment #############################################################