Wiki
Clone wikijava2tex / Home
java2tex
Commands for LaTeX in java.
What is this repository for?
This commands providing easier output for LaTeX, instead of building unreadable strings like:
var sb = new StringBuilder(); sb.append("\\begin{figure}[H]"); sb.append("\\includegraphics[height=").append(varHeight).append(",width="); sb.append(varWidth).append(",keepaspectratio]{").append(varFileName).append("}"); sb.append("\\caption{").append(varTitle).append("}"); sb.append("\\end{figure}");
var figure = figure().option(exactHere()) .append(includegraphics().option().height(varHeight).width(varWidth).keepaspectratio().end().fileName(varFileName)); .append(caption().argument(varTitle));
Project was extracted from my genealogy book creator and could be helpful for others who have to deal with LaTeX outputs. Therefore this project is not feature complete.
How do I get set up?
Download latest release from Maven Central.
Core
Core functions for the command structure and config settings.
Commands
Provides most used commands in LaTeX for my purpose, feel free to extend.
Genealogytree
Provides commands for the package genealogytree.
What else?
Updated