Greg Mankiw at Harvard has made $40 million according to Wikipedia on royalties and advances for his introductory economics textbook. It is a very popular book but at the same time it isn’t dramatically different from the other books out there. Other textbook writers don’t make as much.