Fix Issue #21: automatic calculation of alignment padding after lists