Stars attend composer Marvin Hamlisch's funeral

NEW YORK, NY - AUGUST 14: Liza Minnelli arrives the funeral service for Marvin Hamlisch at Temple Emanu-El on August 14, 2012 in New York City. Hamlisch died in Los Angeles on August 6, 2012 at age 68. In his long and distinguished career, the composer and conductor received a Pulitzer Prize as well as the Oscar, Tony, Emmy and GRAMMY. (Photo by Dave Kotinsky/Getty Images)
Dave Kotinsky
Liza Minnelli arrives the funeral service for Marvin Hamlisch at Temple Emanu-El on Aug. 14, 2012, in New York.
Getty

(CBS/AP) Friends and admirers of Marvin Hamlisch including former President Bill Clinton and Liza Minnelli gathered Tuesday to bid farewell to the celebrated songwriter.

Pictures: Marvin Hamlisch's funeral
Pictures: Marvin Hamlisch: 1944-2012
Pictures: Marvin Hamlisch's music in films

Clinton called Hamlisch, whose casket was covered in his favorite yellow freesias, a "great, giving genius." Sir Howard Stringer, chairman of Sony Corp., called him "the merriest of minstrels."

Hamlisch died on Aug. 6 in Los Angeles after a short illness. He was 68.

Other guests included ex-Yankee manager Joe Torre, Kelli O'Hara, Ann-Margret, Raul Esparza, Robert Klein, Brian Stokes Mitchell, Leslie Uggams, Richard Gere, Tony Danza, Kathie Lee Gifford and Diane Sawyer and her husband Mike Nichols, the film and stage director. Idina Menzel sang "At the Ballet."

His funeral was held at Congregation Emanu-El, a prominent Manhattan synagogue where legendary songwriter George Gershwin's funeral was held in 1937.

Speakers, including composer Richard Kagan, cosmetics executive Leonard Lauder and socialite Lily Safra, described a friend always willing to help a good cause, who was a bashful philanthropist and a devoted Yankee fan who would ask for the latest scores before stepping onstage.

A choir that included fellow composers, lyricists and musicians such as Lucie Arnaz, Rupert Holmes and Sheldon Harnick, sang "The Way We Were" and "What I Did for Love." Statements of mourning were read from President Barack Obama and former first lady Nancy Reagan.

Hamlisch is survived by his wife of 26 years, Terre, who took the podium and shared memories of a man whose "life force was huge." He was likely to cheer her up in the morning by jumping on top of the bed and performing an entire musical - complete with music, lyrics, all the parts and the dancing chorus - "to the disbelief of myself and our dogs."

"Marvin taught me how to live life with gusto and magic," she said. "He would order every dessert on the menu so everyone could taste everything and miss nothing in life."

Hamlisch composed or arranged hundreds of scores for musicals and movies, including "A Chorus Line" on Broadway and the films "The Sting," ''Sophie's Choice," ''Ordinary People" and "The Way We Were."

He was working on a new musical, "Gotta Dance," at the time of his death and was scheduled to write the score for a new Soderbergh film on Liberace, "Behind the Candelabra," starring Michael Douglas and Matt Damon.