Changes

Jump to navigation Jump to search
661 bytes added ,  16:50, 25 August 2023
Added another example
\stop
\start\dorecurse{3}{\increment\normalday}
and in three days will be \currentdate\ or so.
\stop
Yet today is \currentdate.
</context>
(Note Side-note the usage of line breaking and blank lines in the source code to fit and how they alter the PDF product.)</cd:example><cd:example title="Example 5: More Complex Usage"><context source="yes" text="gives">\definedate[short][day:++,{~},month] \def\Today{\currentdate[short]} % \def = \defineexpandable \defineexpandable[1]\Later{%\start\dorecurse{#1}{\increment\normalday}%\currentdate[short]%\stop} Today is \Today\ one should believe. So tomorrow will be \Later{1}. And in three days should be \Later{3} or so.</context> Note the usage of commenting (using the percent sign [<code>%</code>]) to avoid unwanted spacing that occurs when using line breaks especially within brackets (e.g. <code>\start</code> ... <code>\stop</code>).</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
194

edits

Navigation menu