Ideal lens notes and diagram.sty