Command/dorepeatwithcommand
< Command
Jump to navigation
Jump to search
Revision as of 07:04, 17 December 2020 by JairoAdelRio (talk | contribs) (Defined the page and included basic yet useful examples.)
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