private String answerNDFAToGrammar(Automata <String> automaton) { String result = "\\section{Grammatica}\n" + regexStringToLatexString((automaton.getGrammar().toBeautifulLatexString())) + "\n\n\\clearpage\n"; return(result); }