Notices of election published in any public gazette or county newspaper by authority of the proper board of voter registration and elections, as required by law, shall be paid for at the rates prescribed by law for legal notices.