private void visualizeNewChildTable(String fileName, String caption, String label) throws IOException {
buffer.append(String.format(LATEX_INPUT, fileName));
Writer out = new FileWriter(DOC_PATH + fileName);
StringBuilder sb = new StringBuilder();
LinearizedSuffixTree lst = new LinearizedSuffixTreeImpl(corpus.sequence(), corpus.alphabetSize());
LaTeXVisualizer.visualizeChildTable(sb, caption, label, lst, corpus);
String fixed = sb.toString().replace("(4.east)", "(4.south)");
fixed = fixed.replace("(28.east)", "(28.south)");
fixed = fixed.replace("level 8", "complete tree");
out.append(fixed.replace("(7.east)", "(7.south)"));