private static IReadOnlyDictionary <string, ICommandParser> GetCommands(List <List <Atom> > rows) { var nextRowCommand = new NextRowCommand(rows); return(new Dictionary <string, ICommandParser> { [@"\"] = nextRowCommand, ["cr"] = nextRowCommand }); }
public override bool ProcessUnknownCharacter(TexFormula formula, char character) { if (character == '&') { NextRowCommand.NextCell(_rows, formula); return(true); } return(false); }