User manual for the 2dx package