arrange tex scrips