How to wire three-way switches to light fixture with a fan?
You can't. You don't have enough conductors between the switches. It takes 2 "hot" traveler wires plus a neutral and a ground to do a single 3-way "traveler" circuit; that's 4 wires total. The neutral and ground can be shared between multiple devices, so to do what you want you need 2 more traveler wires for the other device (fan).