Gays and lesbians in Los Angeles and San Francisco and opponents of gay marriage have filed various lawsuits that were consolidated at the request of Attorney General Bill Lockyer, who has taken no position on the matter.