3
votes
1answer
38 views

mdframed in lists

I am using a frame environment defined with mdframed to write annotations in my documents. When I use this environment as the first thing after a \label in a list, the following happens: Source: ...
4
votes
1answer
140 views

No space above first \item inside mdframed [closed]

Problem This is what happens: But I want the same vertical spacing before the first list item inside the mdframed environment as outside of it. How can I do this? Code \documentclass{article} ...
3
votes
2answers
219 views

Inserting non-indented mdframed object in outline

I want to be able to put an mdframed object inside of an outline environment without it being indented to the indentation level that I'm at, and so that I can continue the outline after the mdframed ...
2
votes
1answer
299 views

enumerate item within an custom environment and mdframed

I'm trying to define a custom environment within mdframed for handling questions in a document. The reason for the question-solution structure is to enable parsing into other formats (html etc). The ...
2
votes
3answers
6k views

How to put text in minipage top-centered?

I am working on LaTeX and R. I want to put text (here itemize top aligned) in minipage. In the attached image (dummy image with itemize text), how can I put itemize . First line . Second line on ...
3
votes
1answer
487 views

Align \item labels at top of mdframed box

By default, enumerate's \item labels align with the top of the text: However, if the text happens to be a mdframed box, the labels align with the bottom of the box which does not look so good: ...
5
votes
1answer
366 views

Replace \item with \MyItem to box each list member with an mdframed

Since it was pointed out that redefining \item can be dangerous in strange interaction between `mdframed` and `\item`, I am wondering if there are going to be problems with this solution. My goal is ...
7
votes
1answer
303 views

Using enumitem inside mdframed

I tried to use enumitems within mdframed as \documentclass{article} \usepackage{mdframed} \usepackage{enumitem} \usepackage{pifont} \newcommand{\pitem}[1]{{\item {\small #1}}} \begin{document} ...
4
votes
1answer
528 views

Suppress top skip between own frame environment and itemize

I need to typset a book with a given definition of {itemize} and I added a {framed} environment by using mdframed. If the first line inside {framed} is normal text everything is fine but if it ...