I am designing one page in which i need to write 3 mdframed side by side. but all three must be having same height.
<mdframed1> <mdframed2> <mdframed3>
How can i implement this?
mdframed
I am designing one page in which i need to write 3 mdframed side by side. but all three must be having same height.
<mdframed1> <mdframed2> <mdframed3>
How can i implement this?
Best Answer
You can place each
mdframed
inside aminipage
of the desired width (in this way, you can place sevearlmdframes
side-by-side); inside eachmdframed
you can use a\parbox
(or anotherminipage
) of the predefined height. In the example below I implement this idea using a command with a mandatory argument (for the contents of themdframed
) and an optional argument to pass options tomdframed
, but of course, you can implement the idea in any other way that suits your needs: