whith my solution you put the code 1 time, but with your solution you add
the code every time.

regards

2016-10-12 0:54 GMT+03:00 Paul Smith <phh...@gmail.com>:

> Thanks, Edu.
>
> Meanwhile, I found out a solution with
>
> \fcolorbox
>
> Paul
>
>
> On Tue, Oct 11, 2016 at 10:44 PM, edu Gpl <mandrivagn...@gmail.com> wrote:
> > add this code in Document setting > local layou:
> > %%%%%%%%%%%%%%%%
> > Style Law
> >
> > Category MainText
> >
> > Margin Static
> >
> > LatexType Environment
> >
> > LatexName bluec
> >
> > NextNoIndent 1
> >
> > LeftMargin MMM
> >
> > RightMargin MMM
> >
> > ParIndent MM
> >
> > ParSkip 0
> >
> > ItemSep 0
> >
> > TopSep 0.5
> >
> > BottomSep 0.5
> >
> > ParSep 0
> >
> > Align Block
> >
> > AlignPossible Block, Left, Right, Center
> >
> > Preamble
> >
> > \usepackage{mdframed}
> >
> > \usepackage{xcolor}
> >
> > \newenvironment{bluec}
> >
> > {\begin{mdframed}[backgroundcolor=blue!10,linecolor=blue!10,roundcorner=
> 10pt]\quotation}
> >
> > {\endquotation\end{mdframed}}
> >
> > EndPreamble
> >
> > End
> >
> > %%%%%%%%%%%%%
> >
> >
> >
> > regards
> >
> > 2016-10-12 0:17 GMT+03:00 Paul Smith <phh...@gmail.com>:
> >>
> >> Dear All,
> >>
> >> How can one box a equation with a specified color?
> >>
> >> Thanks in advance,
> >>
> >> Paul
> >
> >
>

Reply via email to