How can you eliminate margarine or shortening in baking?

In baking, consider using butter instead of margarine or shortening. If the amount of fat in the recipe is important to the quality, you may also use half oil and half butter, or substitute completely with oil. It is a good idea to test this method on a small recipe since using oil may change the result.