latex-ing and logging of 1D trajectory generation