By default the software will not create gap for the students. The software will calculate the average number of lessons per day and then it places them consecutively.
However if you need to have gaps, you can set "discontinius" teaching block. Or you can say that some subjects can be in the afternoon.
Then you can add this cardrelationship to minimize the created gaps:
This article was viewed 55366 times.45233 / 55366