4
votes
1answer
550 views

External margins of embedded newmdenv environments

In the code: \documentclass{article} \usepackage[framemethod=default]{mdframed} \newmdenv[backgroundcolor=red]{tBox} \newmdenv[leftmargin=1cm,linecolor=blue]{aBox} \begin{document} ...
4
votes
1answer
428 views

Proper margins in custom enumeration/itemize environements

I am using two custom list environments (itemize-compact and descriptionhang), which work fine on their own, but not when I nest them. Please consider this MWE: \documentclass[a4paper]{article} ...