Command/dorepeatwithcommand
< Command
Jump to navigation
Jump to search
Contents
\dorepeatwithcommand
Summary
The command \dorepeatwithcommand is used for repeating something a number of times with a command applied on it.
Settings
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