hello again, Say I have the following file a.tex: \documentclass[a4paper,10pt]{report} \begin{document} \begin{figure}[ht] \centering \setlength{\unitlength}{.2in} \begin{picture}(8,6) \put(0,0){\makebox(0,0)[tr]{AAA}} <<-- look at this line \put(8,0){\makebox(0,0)[tl]{BBB}} <<-- look at this line \put(1,0){\line(1,0){6}} \end{picture} \end{figure} \end{document}
I lyx-import, save as b.lyx and export as b.tex: %% LyX 1.4.0 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[10pt,english,a4paper]{report} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. \usepackage{babel} \makeatother \begin{document} % \begin{figure}[ht] \centering \setlength{\unitlength}{.2in} \begin{picture}(8,6) \put(0,0){\makebox{(}0,0){[}tr]{AAA}} <<--- extra {,} \put(8,0){\makebox{(}0,0){[}tl]{BBB}} <<--- extra {,} \put(1,0){\line(1,0){6}} \end{picture} \end{figure} \end{document} As far as I may see, the extra {,}`s make the final output a mess. Comments welcome. thanks mario -- mario <[EMAIL PROTECTED]>