If, for example, you only want to draw the top and bottom border of a box, or perhaps the left and bottom only, is there a simple package to do this or must one resort to using tables or heavy-weight drawing tools like tikz
?
[Tex/LaTex] How to choose which sides of the border to draw in a `framebox`
boxesframed
Related Question
- [Tex/LaTex] How to draw a colored framebox without filling the background
- [Tex/LaTex] CSS border-top, border-bottom, border-right LaTeX equivalent
- [Tex/LaTex] How to make one minipage the same size as another
- [Tex/LaTex] How to to set a padding around the page body, draw a frame/border around it, and then add some margin
- [Tex/LaTex] Show Bounding Box for Any Object
Best Answer
The
mdframed
package has what you want. Here is a MWE that demonstrates the borders you described in three new environments.There are many other options available- see the documentation for more details and examples.