Windowing scripts for aligning figures