Cream butter, shortening and sugar until light and fluffy. Add eggs and beat until lemon colored. Combine flour and baking powder and add to creamed mixture, alternating with milk. Stir in flavorings. Spoon into a greased and floured tub pan. Place in a preheated 325 degree oven for 1 1/2 hours.