add the tex example

Signed-off-by: Wang Xiaoqiang <wangxq10@lzu.edu.cn>