I have a figure which rounded by fbox, I am wondering how can I add a space only at the top and bottom of the image since \setlength{\fboxsep}{6pt}
add space around the whole figure.
Thank you
fboxframedgraphicsspacing
I have a figure which rounded by fbox, I am wondering how can I add a space only at the top and bottom of the image since \setlength{\fboxsep}{6pt}
add space around the whole figure.
Thank you
Best Answer
Two methods for adding a top and bottom padding inside a
\fbox
:If the figure is an image included by
\includegraphics
then optiontrim
can be used to add the padding.A general method puts the contents of
\fbox
in a box and increases its height and depth.Example file: