private static void newCommand(ref List<string> lines, string cmd, string content) { lines.Add (@"\newcommand{\" + cmd + @"}{" + content + @"}"); }