Gets the right margin in units of unit.
unit
a SourcePrintCompositor.
the unit for the return value.
the right margin.