Open main menu

Changes

m
{{cmd|setupbackgrounds}} is used to draw frames or backgrounds that cover specific areas of the page, under the text layer.
* The first parameter sets the main layout area; * the optional second one specifies the linked subarea(s) of the prior. Not all main areas have such subareas.* the third parameter drive when the page background is recalculated. <tt>state=repeat</tt> makes sure that the page background is always recalculated (usefull if you want to use a variable depending on the current page like its number {{cmd|realpageno}}). <tt>state=stop</tt> and <tt>state=start</tt> allows to stop and start recalculations. 
Because {{cmd|showframe}} and {{cmd|setupbackgrounds}} both draw frameboxes over parts of the page, the order in which they are invoked matters. In most cases, {{cmd|setupbackgrounds}} should come last.
999

edits