15.11.2014 Views

Documenation of mdframed

Documenation of mdframed

Documenation of mdframed

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.2. Restoring the settings 6. Options<br />

6.2. Restoring the settings<br />

Sometimes it’s useful to remove all done settings. Every default value is saved in a style wich can<br />

be called by the option default or a more suitable name style=defaultoptions. Both do the same.<br />

Here a small example:<br />

\mdfsetup{%<br />

middlelinecolor=red,<br />

middlelinewidth=2pt,<br />

backgroundcolor=red!10,<br />

roundcorner=10pt}<br />

\begin{<strong>mdframed</strong>}<br />

Text\par Text<br />

\end{<strong>mdframed</strong>}<br />

\begin{<strong>mdframed</strong>}[default]<br />

Text\par Text<br />

\end{<strong>mdframed</strong>}<br />

Text<br />

Text<br />

Text<br />

Text<br />

6.3. Options with lengths<br />

In figure (2) you can see the adjustable lengths (compare also figure (1)).<br />

skipabove<br />

leftmargin<br />

innerleftmargin<br />

innertopmargin<br />

Contents<br />

innerbottommargin<br />

innerrightmargin<br />

rightmargin<br />

skipbelow<br />

Figure 2: adjustable lengths <strong>of</strong> <strong>mdframed</strong><br />

2013/07/01 revision: 212 <strong>mdframed</strong> 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!