I can draw the following type of Notes-Box:
Can someone please suggest me how to draw this type of Notes-Box:
The second one is different from the first one in 2 ways:
-
We can add text below the picture (In the first one, picture occupies the left frame completely)
-
The second box does not cover the entire space. We can write text on Left side as well.
Thanks.
Best Answer
You can use a
minipage
inside a\fcolorbox
; thewrapfigure
environment from thewrapfig
package can be used to let the text wrap around the box; inside theminipage
, the positioning for the image and the title can be achieved using, for example,\parbox
es. In the following example I defined a new environmentmybox
with the help of theenviron
package; the mandatory argument is used for the title of the box:Since the environment uses the
wrapfig
package, the idiosyncrasies ofwrapfig
apply here too (refer to the package documentation for details).