0

Is it possible to draw a box shown in this image which reduces the right margin of a paragraph it displays along side and adjusts its own height to the height of the paragraph?

Something like this perhaps?

\signaturebox{

... paragraph here ...

}

Here is what I am trying to reproduce... enter image description here

4
  • Such a box can be drawn with TikZ and included with wrapfig into text (if I correctly understand the question and given figure) or be put into margin of text. To be more specific, you need provide a code which tried so far, as already suggest Kurt.
    – Zarko
    Oct 9 '15 at 22:36
  • Welcome to this location in virtual space-time.
    – cfr
    Oct 9 '15 at 23:03
  • That box hasn't adjusted its height to the paragraph height. Also, do you really want to reproduce that? It can be quite hard to make TeX produce output which is really ugly, although philosophy.sty is not a bad start.
    – cfr
    Oct 9 '15 at 23:16
  • You mean sort of like this? If so, I think this question is largely a duplicate.
    – jon
    Oct 10 '15 at 17:35
2

Based on the feedback above, what I wanted to do can be accomplished using something similar this...

 \begin{wrapfigure}[10]{r}[10mm]{50mm}
     \footnotesize
     \begin{tcolorbox}[
                 title={\hfill Important},
                 after title={\hfill\colorbox{red}{NB!}},
                 width=\linewidth,
                 size=small,
                 opacitytext=1, opacityframe=0.75, opacitybacktitle=0.75,
                 enhanced, drop fuzzy shadow=black
         ]
         Initialled here as proof that your attention has been drawn to these provisions, and you consent to the contents thereof:
          \tcblower
         Initial:.......
     \end{tcolorbox}
 \end{wrapfigure}

Which results in... enter image description here

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.