libtex
libtex is a C99 implementation of LatexGenCpp, written by Sofiane KHELLADI. It is a library for writing LaTeX .tex files. libtex is designed to be a small utility library for C or C++ projects needing a standardized way to write scientific reports with minimal code. libtex aims to provide features that simplify document formatting and integration of external sources into the document. However, this depends on community contributions and may progress slowly, as it is currently maintained with low priority.
Installation
Precompiled Binaries
For quick integration, the easiest way is to download the precompiled installation package for your platform, available on the release page.
Build from Source
libtex uses CMake as its main build system.