tUpdate scibeamer - scibeamer - quickly create scientific presentations using L… | |
git clone git://src.adamsgaard.dk/scibeamer | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f6501aaea57e75760fbf82f6c62df081e33bcbb5 | |
parent 9e660e53a3b371915c12ac74968d5d1b015d65d5 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 17 Sep 2019 15:09:40 +0200 | |
Update scibeamer | |
Diffstat: | |
M scibeamer.sty | 53 +++++++++++++++++++++++++++++… | |
1 file changed, 52 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/scibeamer.sty b/scibeamer.sty | |
t@@ -3,6 +3,9 @@ | |
%\RequirePackage{lmodern} | |
+% for \movie command | |
+\RequirePackage{multimedia} | |
+ | |
% Do not show horizontal line above footnotes | |
\renewcommand\footnoterule{} | |
t@@ -56,10 +59,58 @@ | |
% \imageframecite{arg1}{arg2}{arg3}{arg4}{arg5} | |
% Add a frame with title `arg1`, containing a single image `arg2`, scaled | |
-% relative to frame height multiplied by `arg3`, including a citation to | |
+% relative to frame width multiplied by `arg3`, including a citation to | |
% publication authored by `arg4`, published in `arg5`. | |
% Example: \imageframecite{An example title}{image.pdf}{1.0}{Author year}{Jour… | |
\newcommand{\imageframecite}[5]{\begin{frame}{#1}\begin{center}\centering\incl… | |
+% \imageframeciteheight{arg1}{arg2}{arg3}{arg4}{arg5} | |
+% Add a frame with title `arg1`, containing a single image `arg2`, scaled | |
+% relative to frame height multiplied by `arg3`, including a citation to | |
+% publication authored by `arg4`, published in `arg5`. | |
+% Example: \imageframecite{An example title}{image.pdf}{1.0}{Author year}{Jour… | |
+\newcommand{\imageframeciteheight}[5]{\begin{frame}{#1}\begin{center}\centerin… | |
+ | |
+ | |
+% \plainmovieframe{arg1}{arg2}{arg3} | |
+% Add a plain frame with a single full-frame movie `arg1`, with a placeholder | |
+% text `arg2`, with multimedia options `arg3` (externalviewer always set) | |
+% NOTE: The movie file *must* reside in the same folder as the PDF, and file | |
+% names with underscore characters cannot be used. | |
+% Example: \plainmovieframe{movie.mp4}{Example movie clip}{} | |
+\newcommand{\plainmovieframe}[3]{\begin{frame}\begin{center}\centering\movie[e… | |
+ | |
+% \movieframe{arg1}{arg2}{arg3}{arg4} | |
+% Add a frame titled `arg1`, a single full-frame movie `arg2`, with a | |
+% placeholder text `arg3`, with multimedia options `arg4` (externalviewer | |
+% always set) | |
+% NOTE: The movie file *must* reside in the same folder as the PDF, and file | |
+% names with underscore characters cannot be used. | |
+% Example: \movieframe{Example movie}{movie.mp4}{Example movie clip}{} | |
+\newcommand{\movieframe}[4]{\begin{frame}{#1}\begin{center}\centering\movie[ex… | |
+ | |
+% \plainmovieframepreview{arg1}{arg2}{arg3} | |
+% Add a plain frame with a single full-frame movie `arg1`, with a preview imag… | |
+% `arg2`, with multimedia options `arg3` (externalviewer always set) | |
+% NOTE: The movie file *must* reside in the same folder as the PDF, and file | |
+% names with underscore characters cannot be used. | |
+% Example: \plainmovieframepreview{movie.mp4}{movie.png}{} | |
+\newcommand{\plainmovieframepreview}[3]{\begin{frame}\begin{center}\centering\… | |
+ | |
+% \movieframepreview{arg1}{arg2}{arg3}{arg4} | |
+% Add a frame titled `arg1` with a single full-frame movie `arg2`, a preview | |
+% image `arg2`, and with multimedia options `arg3` (externalviewer always set) | |
+% NOTE: The movie file *must* reside in the same folder as the PDF, and file | |
+% names with underscore characters cannot be used. | |
+% Example: \movieframepreview{An example movie}{movie.mp4}{movie.png}{} | |
+\newcommand{\movieframepreview}[4]{\begin{frame}{#1}\begin{center}\centering\m… | |
+ | |
+% \movieframepreviewnotitle{arg1}{arg2}{arg3}{arg4} | |
+% Add a frame titled `arg1` with a single full-frame movie `arg2`, a preview | |
+% image `arg2`, and with multimedia options `arg3` (externalviewer always set) | |
+% NOTE: The movie file *must* reside in the same folder as the PDF, and file | |
+% names with underscore characters cannot be used. | |
+% Example: \movieframepreview{An example movie}{movie.mp4}{movie.png}{} | |
+\newcommand{\movieframepreviewnotitle}[4]{\begin{frame}{#1}\begin{center}\cent… | |
\endinput |