Menu

Beamer + opacity in tikzpicture

Help
minnolina
2008-01-10
2013-05-29
  • minnolina

    minnolina - 2008-01-10

    Hi,
    I'm preparing slides with beamer that content tikzpicture and I remarke a strange problem: when I use the opacity option of tikz to plot a transparent circle in a tikzpicture, all colors of the theme change (it doesn't depend on the theme)

    An ECM is the following: I take the exemple
    /solutions/conference-talks/conference-ornate-20min.fr.tex
    and I add the following frame:

    \frame{
    \frametitle{aaaaaaaa}
    blabla

    \begin{tikzpicture}
    \path<1>[fill=red] (0,0) circle (2cm);
    \path<2>[fill=red, fill opacity=0.1] (0,0) circle (2cm);
    \end{tikzpicture}
    \egroup

    }

    Do you have an idea how to constrain the action of opacity only to a path?
    Thank you
    Gloria

    PS Sorry for my English, I hope that you understand.

     
    • Martin Heller

      Martin Heller - 2008-01-10

      The problem might be related to
      <http://www.adobeforums.com/webx/.3c05ae39>.

       
    • Kjell Magne Fauske

      You can find several post about this problem in this forum or on the pgf-users mailing list. 

      Following martin_heller's link I found this interesting discussion:
      http://tug.org/pipermail/pdftex/2007-December/007457.html

      In this post a possible workaround was given:
      http://tug.org/pipermail/pdftex/2007-December/007480.html

      Insert this code in you document:
      \pdfpageattr {/Group << /S /Transparency /I true /CS /DeviceRGB>>}

      This worked when I did a quick test. The colors were not shifted. However, I still notice a subtle change in how text is displayed in Adobe Acrobat 7.0.

      - Kjell Magne Fauske