15.07.2013 Views

breqn

breqn

breqn

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.

\begin{dmath}[background={red}]<br />

Foreground and background colors for the equation. By default the background<br />

area that is colored is the size of the equation, plus fboxsep. If you need anything<br />

fancier for the background, you’d better do it by defining \eqframe in terms of<br />

\colorbox or \fcolorbox.<br />

431 \define@key{<strong>breqn</strong>}{background}{\def\eq@background{#1}%<br />

432 \freeze@glue\eqlinespacing \freeze@glue\eqlineskip<br />

433 }<br />

434 % \end{macrocode}<br />

435 % \begin{literalcode}<br />

436 % \begin{dmath}[color={purple}]<br />

437 % \end{literalcode}<br />

438 % \begin{macrocode}<br />

439 \define@key{<strong>breqn</strong>}{color}{\def\eq@foreground{#1}}<br />

\begin{dmath}[center]<br />

\begin{dmath}[nocenter]<br />

The center option means add leftskip stretch to make the individual lines be<br />

centered; this is the default for dseries.<br />

440 \define@key{<strong>breqn</strong>}{center}[]{\let\eq@centerlines\@True}<br />

441 \define@key{<strong>breqn</strong>}{nocenter}[]{\let\eq@centerlines\@False}<br />

442 \let\eq@centerlines\@False<br />

\begin{dgroup}[noalign]<br />

Equation groups normally have alignment of the primary relation symbols across<br />

the whole group. The noalign option switches that behavior.<br />

443 \define@key{<strong>breqn</strong>}{noalign}[]{\let\grp@aligned\@False}<br />

444 \let\grp@aligned\@True % default<br />

\begin{dgroup}[breakdepth={2}]<br />

Break depth of 2 means that breaks are allowed at mathbin symbols inside two<br />

pairs of delimiters, but not three.<br />

445 \define@key{<strong>breqn</strong>}{breakdepth}{\eqbreakdepth#1\relax}<br />

\begin{darray}[cols={lcrlcr}]<br />

The cols option only makes sense for the darray environment but we liberally<br />

allow all the options to be used with all the environments and just ignore any<br />

unsensible ones that happen to come along.<br />

446 \define@key{<strong>breqn</strong>}{cols}{\global\let\@preamble\@empty<br />

447 \darray@mkpream#1\@percentchar<br />

448 }<br />

FORMAT STATUS<br />

34

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

Saved successfully!

Ooh no, something went wrong!