
smartdiagram
自動アニメーション付きの円形ダイアグラムを作成しています。これをプロジェクター プレゼンテーションに使用したいと考えています。スマート
ダイアグラムのアニメーションを開始する前に、スライドの上部にいくつかの紹介文を表示したいと考えています。問題は、スマートダイアグラムが常にスライドのデモンストレーションと同時に開始され、紹介の後には開始されないことです。私の例のように、スマートダイアグラムの最初のモジュールのアニメーションはキーワード 1 で開始され、次にモジュール 2 はキーワード 2、モジュール 3 はキーワード 3 で開始される必要があります。これを処理しようとしました\pause
が、うまくいきませんでした。助けていただけないでしょうか。
ご尽力に感謝いたします!
コード例:
\documentclass{beamer}
\usepackage{smartdiagram}
\begin{document}
\begin{frame}
\frametitle{frametitle}
a few introducing remarks ...\\[0.3cm]
\begin{minipage}{\dimexpr.5\linewidth-1em\relax}
\begin{enumerate}[<+->]
\setlength{\itemsep}{16pt}
\item keyword 1
\item keyword 2
\item keyword 3
\end{enumerate}
\end{minipage}
\begin{minipage}{\dimexpr.5\linewidth-1em\relax}
\begin{center}
\usetikzlibrary{shapes.geometric} % required in the preamble
\smartdiagramset{module shape = ellipse,
arrow style = <-stealth,
font=\scriptsize,
module minimum width=0.8cm,
module minimum height=0.6cm,
text width=1.5cm,
circular distance=1.8cm,
}
\smartdiagramanimated[circular diagram:clockwise]{one,two,three}
\end{center}
\end{minipage}
\end{frame}
\end{document}
答え1
Minimal Working Example を使用し、\pause
「コメント」の間に を入れると、\begin{minipage}
希望どおりに動作します。さらに、の近くのプリアンブルに
移動する方がよいでしょう。\usetikzlibrary
\usepackage
答え2
図の要素を で囲むだけで、 と同様の効果が得られます\only<>{}
。 で生成される効果とは少し異なります\smartdiagramanimated
が、非常に印象的です。 動作例:
\documentclass{beamer}
\usepackage{smartdiagram}
\usetikzlibrary{shapes.geometric} % required in the preamble
\begin{document}
\begin{frame}
\frametitle{frametitle}
a few introducing remarks ...\\[0.3cm]
\pause
\begin{minipage}{\dimexpr.5\linewidth-1em\relax}
\begin{enumerate}[<+->]
\setlength{\itemsep}{16pt}
\item keyword 1
\item keyword 2
\item keyword 3
\end{enumerate}
\end{minipage}
\begin{minipage}{\dimexpr.5\linewidth-1em\relax}
\begin{center}
\smartdiagramset{module shape = ellipse,
arrow style = <-stealth,
font=\scriptsize,
module minimum width=0.8cm,
module minimum height=0.6cm,
text width=1.5cm,
circular distance=1.8cm,
}
\smartdiagram[circular diagram:clockwise]{\only<2->{one},\only<3->{two},\only<4->{three}}
\end{center}
\end{minipage}
\end{frame}
\end{document}