On May 11, 8:01 pm, Paladin <
paladin7...@gmail.com> wrote:
> Somewhere I saw that the framebox command leaves a space
> \fboxsep between the rule and the contents of the box. But
> I also saw that, in the picture environment at least, I can specify
> width and height, e.g., \framebox(width,height)[position]{...}
>
> This seems to be over-specifying the box. How can it put some
> padding around the text if I have specified the box size?
>
> I wonder if either statement is true. I have specified the box size
> several times and none of the attempts produced *any* padding
> around the text.
>
> Can someone please explain this to me?
IMHO, the framebox command in text mode differs from the one in
picture mode, i.e. are actually two different macros. The \fboxsep is
used for \fbox and, presumably, also for \framebox in text mode. In
picture mode this would, as already stated by you, to a over-
specification, so I assume that this separator macro is not used then.
You could try to center the text in the framebox to get some space
between the text and the frame.
> My coding:
> \begin{picture}(10,10)(0,0)
> \put( 3.00,8.00){\framebox(1.8,0.5){\small Elizabeth}}
> \end{picture}
You could also use the pgf/tikz package and use a node with `minimal
width', `minimal height' settings to get a picture like this. The
`inner sep' and `outer sep' settings can be used to set the padding.
Best,
Martin