Command/dorepeatwithcommand

From Wiki
Jump to navigation Jump to search


\dorepeatwithcommand

Summary

The command \dorepeatwithcommand is used for repeating something a number of times with a command applied on it.

Settings

\dorepeatwithcommand[...]\command
[...]text number*text
\commandcsname

Description

Examples

Example 1

\def\saywoof#1{Say woof #1 times!\par}
\dorepeatwithcommand[6*{\recurselevel}]\saywoof

Example 2

\def\sayhello#1{Say hello to #1!\par}
\dorepeatwithcommand[6*{Hans}]\sayhello

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: