Hi,

On Oct 16, 1:19 am, Robin <[email protected]> wrote:

> Can you help me on this ?
The "notice " environment is defined as follows in sphinx.sty:

\newenvironment{notice}[2]{
  \def\py@noticetype{#1}
  \csname py@noticestart@#1\endcsname
  \par\strong{#2}
}

you can modify it directly for all of your build, adding a \fcolorbox
or a \colorbox command, or in the build/latex add in the preamble of
the main .tex file use a

\renewenvironment{notice} {
 %enter the color command here
}

Disclaimer: I didn't test (compile) either of the possibilites.

About colors, there's also [1], in  which you can find also directives
to use \[re]newenvironment.

HTH! Cheers.

Stefano

[1] http://en.wikibooks.org/wiki/LaTeX/Colors


-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to