Changes

Jump to navigation Jump to search
example
<cd:description><!-- the long description of the command goes here -->
</cd:description>
<cd:examples><cd:example title="chapter color"><context source="yes">\usemodule[visual] \startsetups[MyChapterSetup]\definecolor[MyChapterColor][h={\the\numexpr 360*\somenamedheadnumber{chapter}{current}/\somenamedheadnumber{chapter}{last}\relax},s=1,v=.75]\definecolor[fakerulecolor][MyChapterColor] % for \fakewords\setuphead[chapter][color=MyChapterColor]\stopsetups \unexpanded\def\MyChapter#1{ \setup{MyChapterSetup} \color[MyChapterColor]{#1}} \setuphead[chapter][page=no,textcommand=\MyChapter] \starttext \dorecurse{5}{\chapter{\fakewords{1}{5}}\fakewords{10}{20}} \stoptext</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>

Navigation menu