Creating an expression for the distance between 2 lines multiplied by a constant
- Create a paragraph rule to which to assign the variable to.Make sure the Export as field is set as Fixed for the Y coordinate.
- Right click on Document and select Set Variable to add a variable to the defined paragraph rule.You are prompted with the Set Variable dialog.
- Fill in the Name and select the Type of the variable, as highlighted below. Under Value, make sure to select Expression from the drop-down menu list.The Set Variable dialog expends into an Advanced Builder dialog that allows you to create customized expressions.

- To change the operand into an expression with 2 operands, click on Select Operand and select 2 operands from the Expressions list.The first operand is converted into an expression by itself.
- Click on Select Operand and select 2 operands from the Expressions list.
- For the first expression, select Next Line Y Position, the - operator and Current Line Y Position. For the second expression, select the * operator and for the last operand, go to Constants and type 2.
- Review the Summary section.

- Click ADD.