导出word包含latex公式的

支持word导出:https://github.com/Sayi/poi-tl (不支持latex公式), http://deepoove.com/poi-tl/
支持word导出, 支持latex:https://github.com/draco1023/poi-tl-ext, $, $$ 收尾的标识符号, 一个或者两个认为是相同的。

latex保留字输出:

参考文档:

https://blog.csdn.net/XQC_KKK/article/details/126125261
https://blog.csdn.net/hnjzsyjyj/article/details/123444341

解决方案:

1. 定位到非latex文本

2. 其他保留字符加\ 

 

posted @ 2023-07-20 11:42  知行-zhixing  阅读(31)  评论(0编辑  收藏  举报