2009-10-15 12 views
5

私は、各スライドに異なる画像を作成するから自分自身を救うために図とオーバーレイを使用しようとしています。オーバーレイは、含まれているテキストでは機能しますが、数値では機能しません。例えば:半透明のフィギュア(pdflatexを)

\setbeamercovered{dynamic} 
\begin{figure}\resizebox{10.0cm}{!}{ 
     \includegraphics{problem-a.pdf} 
     Test A 
     \pause 
     \includegraphics{problem-b.pdf} 
     Test B 
     \pause 
     \includegraphics{problem-c.pdf} 
     Test C 
}\end{figure} 

テキスト「試験B」と最初のスライドの上に網掛けされている「テストC」での結果が、「問題-B」と「問題-C」に対応する数値は網掛けされていません。私は次のことをやって似たようなやった

+0

グラフィックはPDFファイルです、あなただけ((などInkscapeは、Adobeの事を?使用して)外部からそれらを編集、またはビットマップに変換(Ghostscriptを使用して、incscapeなど)、その後、編集したものが含まれる可能性が塗料、paint.net、GIMPなど)私は、これは古い問題であると認識 – ocket8888

答えて

4

あなたに多分その便利な、私がこれまでに見つけた最高のものが使用することですは、TikZそして、セットアップカスタム透明度モード:

\gdef\[email protected]{100} 
\newcommand{\getbeamertrans}{ 
    \[email protected]/100 
} 
\newcommand{\[email protected]}[1]{\gdef\[email protected]{#1}} 
\def\opaquenessCustom#1{% 
\only<1->{% 
    \[email protected]{% 
    \[email protected]{#1}% 
    \expandafter\xdef\csname [email protected]% 
    \the\[email protected]\endcsname{\[email protected]}% 
    \expandafter\xdef\csname [email protected]% 
    \the\[email protected]\endcsname{\[email protected]}% 
    {\globalcolorstrue\colorlet{[email protected]\the\[email protected]}{bg}}% 
    \xdef\[email protected]{!#[email protected]% 
     \the\[email protected]\[email protected]}% 
    \gdef\[email protected]{!#1opaque}% 
    \color{.}% 
    }% 
    {% 
    \[email protected]{100}% 
    \xdef\[email protected]{\csname [email protected]% 
     \the\[email protected]\endcsname}% 
    \xdef\[email protected]{\csname [email protected]% 
     \the\[email protected]\endcsname}% 
    \color{.}% 
    }}% 
}% 
\[email protected]{[email protected]}{transparent}[15]{% 
    \def\[email protected]{\ignorespaces\opaquenessCustom{#1}}% 
    \def\[email protected]{\ignorespaces\opaquenessCustom{#1}}% 
} 
\newcommand{\BeamerGraphic}[1]{% 
    \begin{tikzpicture}% 
     {\node[opacity=\getbeamertrans] {\includegraphics{#1}};}% 
    \end{tikzpicture}% 
} 
+0

を使用して、私はこの仕事を得ることができない...何のパッケージあなたは含まれたのですか? – greschd

+0

@greschd:私の記録によると:subfigure、tikz、textcomp – Compholio

0

\begin{figure} 
       \includegraphics<1->{problem-a.pdf} 
       \onslide<1->{Test A}      
       \includegraphics<2->{problem-b.pdf} 
       \onslide<1->{Test B} 
       \includegraphics<3->{problem-c.pdf} 
       \onslide<1->{Test C} 
\end{figure} 

この時につまずく誰のための

0

あなたはこのdocumentでpdflatexをで読み込んだグラフィックの使用に関する詳細な情報を見つけることができます。 第12章「2つのインポートされたグラフィックのオーバーレイ」を参照してください。あなたは含めてい