you also get the parse-first-line stuff in by: s:= "glabel.rt( verbatimtex %&latex" & char 10 & "\documentclass{article}" & "\usepackage{color} \begin{document} etex " & "btex\scriptsize\textsf{" & decimal endy & "} etex , ly) withcolor red; glabel.lft(btex \scriptsize \textsf{" & gname & "} etex, OUT);"; Regards, Hartmut