CCP 1920     

Art. 1920.  Costs; parties liable; procedure for taxing

Unless the judgment provides otherwise, costs shall be paid by the party cast, and may be taxed by a rule to show cause.

Except as otherwise provided by law, the court may render judgment for costs, or any part thereof, against any party, as it may consider equitable.