Macro Language Reference > Macros > Frame > tfrules
  
tfrules
Description
Allows you to specify or modify rules around the currently selected frame and between its columns.
 
Example 141. Add two rules to a frame
The macro shown below produces two rules on a frame, (note how they are separated by a semi-colon):
tfrules "+" 1,2mm,n,"tl";2,2mm,b,"br"
Syntax
tfrules options:n? ('(' rule:n? thickness:uh color:c? sides:b? radius:um? fillcolor:c? line name:s? bgcolor:c? start segment name:s? end segment name:s?cornerstyle:b ')' )+
tfrules
[no parameter]
Invoke the Frame rules dialog box
options
+
Set option to on
-
Set option to off
g
Rule setting applies to gutter
* 
sides and corner style are ignored
If radius is non zero, it means the rule must only extend as far as the text.
rule
Rule number: a number between 1 and 20
thickness
The width of the rule
color
Color of the rule
sides
The position of the rule. i.e. sides, corners and diagonal options
This parameter is ignored for gutter rules.
radius
The radius of any corners configured for the rule
If the value is non zero when configuring gutter rules, it means the rule must only extend as far as the text.
fill_color
Color with which to fill the area within the defined rules
line name
A line style control stream defined via the tlctrl macro.
bgcolor
Color of the line background
start segment name
Character at the start of the line - specify a line pattern control stream defined via the tlpctrl macro.
end segment name
Character at the end of the line - specify a line pattern control stream defined via the tlpctrl macro.
cornerstyle
Line corner style
This parameter is ignored for gutter rules.
Additional Information
Additional options introduced in this version allow the application of rules based on user-defined line styles and patterns. For further information about user defined line styles, please refer to the macros tlctrl, tlpctrl and tlsctrl.