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.

8. Theorems<br />

The value <strong>of</strong> this option is only executed at breakable frames. Related to the introduction the<br />

first and middle frame can be manipulated.<br />

beforelastframe<br />

The option is executed only for the last frame <strong>of</strong> a splitted frame.<br />

afterlastframe<br />

The option is executed only for the last frame <strong>of</strong> a splitted frame.<br />

startcode<br />

Every code given to this option is executed at the beginning <strong>of</strong> the environment.<br />

startinnercode<br />

This option is executed at the beginning <strong>of</strong> the save box.<br />

endinnercode<br />

endcode<br />

This option is executed at the end <strong>of</strong> the save box.<br />

The code is executed at the end <strong>of</strong> the environment.<br />

8. Theorems<br />

default={}<br />

default={}<br />

default={}<br />

default={}<br />

default={}<br />

default={}<br />

In this section is described which commands can help you to define theorem environments with<br />

<strong>mdframed</strong>.<br />

\newmdtheoremenv<br />

Since the package is <strong>of</strong>ten used to highlight theorem environments, the package providesa command<br />

to simplify this process. The command has the following syntax:<br />

\newmdtheoremenv[]{}%<br />

[]{}[]<br />

The last four arguments are equivalent to the command \newtheorem. Only the first optional<br />

argument is able to pass <strong>mdframed</strong>-options. A simple example is:<br />

\theoremstyle{}<br />

\newmdtheoremenv[linecolor=blue]{lemma}{Lemma}[section]<br />

...<br />

\begin{lemma}[Some title]<br />

foo foo foo foo foo foo<br />

\end{lemma}<br />

So far there is no \renewmdtheoremenv!<br />

\mdtheorem<br />

This is a special kind <strong>of</strong> \newtheorem. The command has the following syntax.<br />

\mdtheorem[]{}%<br />

[]{}[]<br />

As you can see the arguments are equal to \newtheorem<br />

\theoremstyle. This is based on the following behavior.<br />

but the command ignores every<br />

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

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

Saved successfully!

Ooh no, something went wrong!