Hello Stephano :) Yes I saw where I should override the environment. The thing is I don't know what is the latex syntax to add a color box *with an environment*.
Can anyone help me on this ? Thanks for your support guys :) Robin On Mon, Oct 17, 2011 at 11:33 AM, Stefano David <stee...@gmail.com> wrote: > Hi, > > On Oct 16, 1:19 am, Robin <diabete...@gmail.com> 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 sphinx-dev@googlegroups.com. > To unsubscribe from this group, send email to > sphinx-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.