Hello,
i included an external figure in a document with \useexernalfigure[fig] how can i get the width and the height of this picture so that i can make a frame that has exactly the same size as the externalfigure[fig].
See the reference manual, especially frame=on. You can also define a metapost overlay and get the dimension in OverlayBox. \externalfigure[...][...,...=...,...] [...] <file> [...,...=...,...] see \useexternalfigure (1) \useexternalfigure[...][...][...,...=...,...] [...] <name> [...] <file> scale <number> factor max fit broad wfactor <number> max broad fit hfactor <number> max broad fit width <dimension> height <dimension> frame on off preset yes no display <file> preview yes no repeat yes no object yes no type eps mps pdf tif png jpg mov <tex> method eps mps pdf tif png jpg mov <tex> Patrick -- Silent is the goldfish in its bowl