public void render(Title title, Section section, int lvl, LatexPreamble latexPreamble) { logger.trace("Render title"); if (title.isSetNumbering()) { logger.warn("Ignoring numbring"); } txt.add(""); StringBuffer sb = new StringBuffer(); sb.append("\\").append(latexPreamble.getSectionHeaderName(lvl)); sb.append("{").append(TxtTitleFactory.build(title)).append("}"); txt.add(sb.toString()); if (section.isSetId()) { txt.add("\\label{" + section.getId() + "}"); } }
public void render(Image image) { txt.add(" \\caption{" + TxtTitleFactory.build(image.getTitle()) + "}"); }
public void render(Table table) { txt.add("\\caption{" + TxtTitleFactory.build(table.getTitle()) + "}"); }