Excellent : ) ... so how does cap gains enter into all of this?
Do you get taxed separately on total cap gains and take the deductions out of your income? Do you get taxed on cap gains without the investment deductions taken out? and then again as income? from which you can deduct expenses under the rules you described?