[NTG-context] Formatting in toc

Calum MacLeod pabbay at gmail.com
Mon Nov 11 14:26:29 CET 2019

This morning, I realised what I needed to do, and it works.

Before \starttext put:

\define[2]\hymn{\bf Hymn #1 \hspace[big] \it #2}\par}

After \starttext put stuff like

\hymn{34}{We three kings}


\hymn{10}{In the bleak midwinter}


This does near enough what I am after: creates a template style command,
and replicates formatting in toc.

No doubt, there might be tweaks or even cleverer ways to improve on my

Thanks to all who took the trouble to read, and consider; and especially
Hraban, who took the trouble to offer a suggestion, which inspired me to
think more clearly.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191111/56879fdf/attachment.html>

More information about the ntg-context mailing list