I'll also tell you to check out overleaf--it does most of this in a browser, so you have the collaborative aspect if you need it.