This paper discusses a model of vertical an horizontal product differentiation within the Dixit-Stiglitz framework of monopolistic competition. Firns coompete not only in prices and horizontal attributes of their products, but also in the quality that can be controlled by R&D activities. Based...