简体   繁体   中英

About latex formulas in doxygen

Every time I need to copy a latex paragraph and put it in my source code as a doxygen documentation, I need to put a \\f next to each $ and do other modifications.

Isn't there an easier way to tell doxygen that this whole paragraph contains only latex and thus should be fully interpreted as latex code?

Thanks in advance.

It appears not to be possible to include LaTeX format .tex files directly. Depending on the complexity of the LaTeX files, a possibility would be to write a script which makes the required modifications. Related questions that give further background and suggestions are How to include LaTeX snippets directly in Doxygen comments and Including LaTeX documentation as comments in source code . Please come back and answer if you find a good solution to this problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM