apply latex style patch posted on openwrt-devel@lists