24 Aug
2021
24 Aug
'21
6:31 p.m.
Hi, I’m typesetting a textbook that contains numbered and indented exercises. They must not float. Which structure should I use for them? There must be an easy answer, but I draw a blank. At the moment I’m using heads, derived from 'section', but the exercises should have independent numbers, and I’m unsure how I should setup the indentation. With 'narrower' the numbered titles would be difficult. \setuplabeltext[en][Exercise=Exercise~] \definehead[Exercise][section] \setuphead[Exercise][ bodypartlabel=Exercise, number=yes, ownnumber=yes, % ?? way=bytext, % ?? ] \starttext \startExercise[title={Something to do},reference=ex:something] This can have several paragraphs and maybe images etc. \stopExercise \stoptext Hraban