Preheat the oven to 150°C, fan 130°C, gas 2.
Thinly slice the cabbage. In a small bowl, mix the garlic with the cinnamon, cloves, sugar and nutmeg.
Arrange the cabbage, onions, apples and spice mixture in alternate layers in a large casserole dish. Pour over the vinegar and dot the butter on top. Cover with a tight-fitting lid and cook for 2½ hours, stirring a couple of times during cooking.