LaTeX 文章到 Prezi 风格的缩放直径演示?

LaTeX 文章到 Prezi 风格的缩放直径演示?

Prezi 是专有软件这里

我找到了、、、beamer和。我应该使用哪一个或类似的东西来创建类似Prezi风格的缩放对话框?powerdotHA -prosperprosperslidesseminar

答案1

应该可以重现保存演示内容的画布,例如使用 PGF/TikZ。但是,我认为没有任何机会实现所有必要的平移和缩放功能:LaTeX、PDF 和 DVI 的输出格式根本不适合此类任务。您需要一个外部工具来实现这些功能,据我所知,这种工具并不存在,而且需要花费大量时间来开发(毕竟,很少有替代程序可以制作像使用 Prezi 创建的演示文稿)。

一线希望可能是dizzy.js:这是一个小型库,可让您使用 JavaScript 和 SVG 在浏览器中创建类似 Prezi 的演示文稿。TikZ 能够生成 SVG 输出,您可以尝试使用 TikZ 创建演示文稿,将其导出为 SVG,并使用生成的文件作为 的输入dizzy.js。但是,这并不简单,因为它dizzy.js严重依赖 SVG 组并与 TikZ 生成的文件冲突。

答案2

你应该试试impress.js

它是一种演示工具,其灵感来自 prezi.com 背后的理念,并基于现代浏览器中 CSS3 转换和过渡的强大功能。

答案3

您可以将图像、项目化环境等放入缩放框中,然后将其分布在单页文档的页面上。\zoombox此处定义了一个宏:https://tex.stackexchange.com/a/12293


另一种相当简单的方法是将缩略图链接到全尺寸幻灯片。嵌入的“后退”按钮允许跳转回缩略图幻灯片。

在此处输入图片描述

使用pdflatex --shell-escape(至少两次)编译代码。在再次覆盖之前,需要先复制当前 PDF 以生成缩略图。在 Windows 中,需要在文件开头启用复制命令:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% adjust the copy command for your operating system
\def\copyCmd{cp} %unix, osx
%\def\copyCmd{echo f | xcopy} %windows
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%copy existing PDF
\IfFileExists{\jobname.pdf}{
  \immediate\write18{\copyCmd\space \jobname.pdf \jobname-thumbs.pdf}
}

%generate thumbnails of slides
\def\numOfSlides{0}
\RequirePackage{xsavebox,graphicx,multido,calc,atbegshi}
\IfFileExists{\jobname-thumbs.pdf}{%
  \pdfximage{\jobname-thumbs.pdf}% get number of slides
  \edef\numOfSlides{\the\pdflastximagepages}%
  \multido{\i=1+1}{\numOfSlides}{%
    \xsavebox{thumb-\i}{\includegraphics[page=\i]{\jobname-thumbs}}
  }
}{}

% insert link destinations and "back" button
\AtBeginShipout{%
  \AtBeginShipoutUpperLeftForeground{%
    \hypertarget{slide-\thepage}{}%
    \raisebox{-\height}{\hyperlink{thumbnails}{\fbox{\faReply}}}%
  }%
}

\let\frameOrig\frame %draws frame around its content
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{beamer}
\usepackage{fontawesome}

\title{Almost Like Prezi}
\author{John Doe}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\frame{\titlepage}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% slide with clickable thumbnails
\AtBeginShipoutNext{%
  \AtBeginShipoutUpperLeftForeground{\hypertarget{thumbnails}{}}%
}
\begin{frame}{Thumbnails}
  \lineskip=0.8ex
  \multido{\i=1+1}{\numOfSlides}{%
    \hyperlink{slide-\i}{\frameOrig{\resizebox{0.1\linewidth}{!}{\xusebox{thumb-\i}}}}
  }   
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% create dummmy slides
\multido{\i=1+1}{20}{ 
  \begin{frame}{Slide \i}
  \resizebox{\linewidth}{!}{\Huge\fbox{\makebox[\widthof{Slide 00}][c]{Slide\hfill\i}}}
  \end{frame}
}

\begin{frame}
  \resizebox{\linewidth}{!}{\Huge\fbox{Thank you!}}
\end{frame}

\end{document}

答案4

还有lecturer基于 PDF 功能创建屏幕演示幻灯片的软件包;它需要功能足够强大的 PDF 查看器(例如,参见其视觉演示在 Adob​​e Reader 中)。我认为它默认没有实现“大画布”UI,但这可能是可能的;它确实实现了非常好的幻灯片过渡。

通过@Ignasi 的评论找到如何使用 Beamer 或 Prosper 创建非线性演示文稿问题。

相关内容