The usual route from EDI airport to St Andrews is:
- Take the tram to Edinburgh Gateway/Haymarket station
- Take any train to Leuchars
- (Optionally: Take any bus 99x to St Andrews.)
Is it possible to do this on a single ticket, or does it really require three different ones? (Each step seems to be run by a different entity with its own ticket machines.)