11

I am unable to use mdframed on my server so I am currently creating a framed box like this:

\usepackage{framed}
\begin{document}
\begin{framed}
\small{
\noindent \textbf{Key Results}:blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \\

\noindent \textbf{Implications}:blah blah blah blah blah blah blah blah blah blah blah blah 
}
\end{framed}
\end{document}

enter image description here

Can someone please tell me how to reduce the padding in this box so that it appears more like this?

enter image description here

  • 3
    What does the »framed« manual say? – Thorsten Donig Apr 17 '12 at 17:43
  • 3
    \small is a command without an argument – Marco Daniel Apr 17 '12 at 17:47
13

Use \FrameSep0pt to have no padding or an appropriate length to adjust.

  • This has to be done/changed outside the framed environment. – Werner Apr 17 '12 at 17:49
  • 1
    @Werner Obviously, like any length you need to set it before you use it. – Yiannis Lazarides Apr 17 '12 at 17:52
  • When I use this macro, it just outputs "0pt". Not quite the effect I was looking for. :P Do you know why it doesn't work properly when I use it? – StrawberryFieldsForever May 3 '13 at 12:12
  • Never mind, I was using the framebox macro, not framed... – StrawberryFieldsForever May 3 '13 at 12:18
  • This also works for the shaded* environment. – ManuelAtWork Sep 27 '16 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.