A library building erected to house the law library may include courtrooms with offices in connection therewith, offices for use of a county bar association, and an office for a notary public and public stenographer, which courtrooms and offices the board of law library trustees may lease, the income to be deposited in the law library fund.