While it appears that many midsize law practices have proportionately more openly gay and lesbian attorneys among their ranks than some of the nation’s megafirms, there may be a bigger closet in the bigger law firms.

Among the 20 law firms with the highest percentage of openly gay and lesbian attorneys this year, most had fewer than 300 attorneys, and the average percentage of such lawyers was 3.2 percent.