We investigate the optimal portfolio and consumption policies for a finite-horizon investor in a life-cycle model with habit formation and inflation risk. We consider two types of habit investors: one forms habit based on real past consumption, while the other on nominal past consumption, which...