내 문헌 검토 항목으로 구성된 비머 슬라이드를 만들고 싶습니다. 하지만 내 목적에 적합한 훌륭하고 포괄적인 테이블이나 tikz 그래프를 찾을 수 없습니다. 누구든지 나를 도와줄 수 있나요?
답변1
\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}
\begin{columns}[onlytextwidth]
\begin{column}{.15\textwidth}
\begin{tikzpicture}
\node[fill=blue!40!white,circle,text width=1cm,align=center] {first text};
\end{tikzpicture}
\begin{tikzpicture}
\node[fill=red!40!white,circle,text width=1cm,align=center] {first text};
\end{tikzpicture}
\begin{tikzpicture}
\node[fill=orange!40!white,circle,text width=1cm,align=center] {first text};
\end{tikzpicture}
\end{column}
\begin{onlyenv}<1>
\begin{column}{.2\textwidth}
\includegraphics[width=\textwidth]{example-image-a}
\end{column}
\begin{column}{.6\textwidth}
text 1
\end{column}
\end{onlyenv}
\begin{onlyenv}<2>
\begin{column}{.2\textwidth}
\includegraphics[width=\textwidth]{example-image-b}
\end{column}
\begin{column}{.6\textwidth}
text 2
\end{column}
\end{onlyenv}
\begin{onlyenv}<3>
\begin{column}{.2\textwidth}
\includegraphics[width=\textwidth]{example-image-c}
\end{column}
\begin{column}{.6\textwidth}
text 3
\end{column}
\end{onlyenv}
\end{columns}
\end{frame}
\end{document}
현재 원 강조 표시:
\documentclass{beamer}
\usepackage{tikz}
\tikzset{onslide/.code args={<#1>#2}{%
\only<#1>{\pgfkeysalso{#2}} % \pgfkeysalso doesn't change the path
}}
\begin{document}
\begin{frame}
\begin{columns}[onlytextwidth]
\begin{column}{.15\textwidth}
\begin{tikzpicture}
\node[onslide=<1>{fill=blue!40},onslide=<2->{fill=blue!5},circle,text width=1cm,align=center] {first text};
\end{tikzpicture}
\begin{tikzpicture}
\node[onslide=<2>{fill=red!40},onslide=<1>{fill=red!5},onslide=<3>{fill=red!5},circle,text width=1cm,align=center] {first text};
\end{tikzpicture}
\begin{tikzpicture}
\node[onslide=<3>{fill=orange!40},onslide=<-2>{fill=orange!5},circle,text width=1cm,align=center] {first text};
\end{tikzpicture}
\end{column}
\begin{onlyenv}<1>
\begin{column}{.2\textwidth}
\includegraphics[width=\textwidth]{example-image-a}
\end{column}
\begin{column}{.6\textwidth}
text 1
\end{column}
\end{onlyenv}
\begin{onlyenv}<2>
\begin{column}{.2\textwidth}
\includegraphics[width=\textwidth]{example-image-b}
\end{column}
\begin{column}{.6\textwidth}
text 2
\end{column}
\end{onlyenv}
\begin{onlyenv}<3>
\begin{column}{.2\textwidth}
\includegraphics[width=\textwidth]{example-image-c}
\end{column}
\begin{column}{.6\textwidth}
text 3
\end{column}
\end{onlyenv}
\end{columns}
\end{frame}
\end{document}