I want to use the following macro taken from the ConTeXt garden :

\define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off, bottomframe=on, topframe=on, width=broad]{\leftaligned{\tfb \chapter {#1}}\pagenumber}}

Ouch. There is no need to resort to such macros. A nicer definition will be something like (untested)

\definehead[SlideTitle][section-1]

\setuphead[SlideTitle][style=\tfb, command=\SlideTitleCommand]

\defineframed[SlideTitleFrame][height=....,align=right]

\def\SlideTitleCommand#1#2{\SlideTitleFrame{#1 \pagenumber}}

Where is such a macro given in the garden. A quick search did not show it.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to