Theory of planetary atmospheres: an introduction to their p