Raymond R. Smith, 64, who was a teacher and coach at DeMatha Catholic High School for 35 years before retiring in 1993, died Dec. 8 at Doctors Community Hospital in Lanham. He had a gastrointestinal ailment.

During his years on the DeMatha faculty, he taught English and religion but spent the bulk of his teaching career as an algebra instructor. Over the years, he had coached school baseball, basketball and football teams.

But for most of his coaching career he was the school's head golf coach, a position he held from the time the golf program began in 1967 until his 1993 retirement because of cancer. In 1994, he returned to good health and a year as head golf coach. He was named 1994 high school golf coach of the year by The Washington Post.

As DeMatha head coach, he had a record of 227-74-1, which included a 49-match undefeated streak.

Mr. Smith, who was born in Washington, was a 1954 graduate of Gonzaga College High School. He was a 1958 English graduate of Georgetown University, where he won three letters playing baseball. He received a master's degree in education from Bowie State University.

Before beginning his career in education, he had played semiprofessional baseball.

Known to his associates as Smitty, he won induction into the DeMatha and Gonzaga halls of fame and the Home Plate Club of Washington's Sandlot Hall of Fame.

He was a member of Sacred Heart Catholic Church in Bowie, Knights of Columbus Sacred Heart Council No. 2577 in Bowie and Lanham Moose Lodge No. 2025.

Survivors include his wife of 41 years, Rita "Pat" Smith of Bowie; three sons, Carl, of Huntingtown, Md., William, of Clarksville, Md., and Ray Jr., of Millersville, Md.; two daughters, Cathy Wintersteen-Kolb of Bowie and Lee Smith of Crofton, Md.; and 10 grandchildren.