Heat the oven to 190 C (375 F). Butter a 9 by 13 inch baking dish.
Slice the potatoes as thin as you can, about 3 mm thick. A sharp knife works fine.
Warm the cream, milk, garlic, salt, pepper and nutmeg in a pan until just steaming. Do not boil it.
Layer half the potatoes in the dish, pour over half the cream, and scatter half the Gruyere.
Repeat with the rest of the potatoes, cream and Gruyere, then finish with the Parmesan on top.
Cover with foil and bake for 40 minutes.
Remove the foil and bake for 20 to 25 minutes more, until the top is golden and the potatoes are tender when pierced with a knife.
Rest for 10 minutes before serving so the sauce settles.