Master's thesis · TUKE
LatexCodeGenerator
Five visual editors for the diagrams computer science papers are made of - Karnaugh maps, syntax trees, proof trees, resolution trees, automata - each exporting publication-ready LaTeX. Or photograph one you drew by hand and let a vision model do it.
live at latexgenerator.kpi.fei.tuke.sk →Down the stack
Each line sits at the layer it belongs to.
- uiFive builders, each generating the LaTeX package a paper actually wants: karnaugh-map, forest, bussproofs, tikz-qtree and raw TikZ.
- logicMonaco editor alongside them with live compilation to PDF and SVG, running on a TeX Live service - and LaTeX can be imported back into any editor.
- aiImage to LaTeX: OpenCV thresholds, denoises and crops the photo, a vision model reads it through OpenRouter, and the code that comes back is parsed into an editable K-map or tree - not just pasted in as text.
- dataBring-your-own-key for the AI, encrypted at rest with AES-256-GCM; an admin panel manages and benchmarks the available models.
- authSign in with TUKE SSO, Google or GitHub; everything is bilingual EN/SK.
- infraSix services in Docker Compose behind nginx - React SPA, Express API, MongoDB, and two FastAPI workers for image preprocessing and LaTeX compilation.
- whyBuilt because redrawing thesis diagrams by hand in TikZ is a bad use of an evening.