modify linewidth setting in txt and rst file