- 1// LaTeX Template Manager
- 2export const project = {
- 3 status: "completed",
- 4 timeline: "2025",
- 5 role: "Solo",
- 6 language: "C#",
- 7 stack: [
- 8 "C#",
- 9 ".NET 10",
- 10 "Avalonia 11 (MVVM)",
- 11 "PDFium",
- 12 "latexmk",
- 13 ],
- 14};
One .NET core powering both a CLI and a VS Code-style desktop app, with real LaTeX build + inline PDF preview.
- Single core, two thin front-ends (CLI + GUI)
- VS Code-style Avalonia desktop UI
- Real latexmk build + inline PDFium preview
Overview
LaTeX Template Manager turns the repetitive parts of starting a LaTeX document into a guided workflow: pick a template, fill a short form, and get a ready-to-compile project with a build profile, a .gitignore, an optional git repo, and one-click PDF preview. It ships a curated library (IEEE papers plus a teaching set) and lets you package your own projects into reusable templates to import, export and share.
All logic (storage, variable substitution, scaffolding, compilation, validation) lives in a single Core library with zero external NuGet packages; the CLI and the Avalonia GUI are thin shells over it, so behaviour never diverges. The desktop UI is a VS Code-style workbench (activity bar, side bar, editor, accent status bar; Dark+ palette) built with Avalonia 11 / MVVM, compiling via latexmk and rendering the PDF inline with PDFium.
Key features
- Guided, manifest-driven project scaffolding
- Template authoring, validation & .zip sharing
- Toolchain detection (TeX, VS Code, git)
- Dependency-free, cross-platform core
Notes
Shows clean architecture in practice: shared domain logic, two independent front-ends, and a real cross-platform desktop UI.
A dependency-free .NET 10 core of single-purpose services behind interfaces, consumed by a DI-wired Avalonia MVVM GUI and a hand-wired CLI.
Strict separation between core and presentation means the CLI and GUI can never drift; everything the GUI does, `ltm` does too.