Examples of aligning a rule at the end of the gap with a lateral offset:
1
2
1
2