add ruler.tex: create ruler and box of specific size