From 8c3c49fd56de185396400a0e8a636ac03d8239ab Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 12 Feb 2018 14:52:54 +0900 Subject: update ketcindy --- texmf-dist/tex/latex/ketcindy/ketmedia.sty | 50 +++++++++--------------------- 1 file changed, 15 insertions(+), 35 deletions(-) (limited to 'texmf-dist/tex') diff --git a/texmf-dist/tex/latex/ketcindy/ketmedia.sty b/texmf-dist/tex/latex/ketcindy/ketmedia.sty index 79b29a9b..49d593b6 100644 --- a/texmf-dist/tex/latex/ketcindy/ketmedia.sty +++ b/texmf-dist/tex/latex/ketcindy/ketmedia.sty @@ -1,35 +1,11 @@ -\newcommand{\inputsound}[3][90]{ - -% #1:position, #2:dir, #3:file - +\newcommand{\inputsound}[3][90.1]{ +% #1:h-position(90), #2:dir(/), #3:file +%2017.12.25 main, \inputsound changed +\ifnum #1=90.1 \vspace{-20mm} \vfill - -\noindent% -\hspace*{#1mm}\hspace{8mm}% -\mediabutton[ -mediacommand=#3:playPause, -overface={\color{blue}\small \strut \fbox{$\oplus\triangleright$}}, -%downface={\color{red}\small\strut Pause/Pause}% -]{\small\strut \fbox{$\oplus\triangleright$}}% -\mediabutton[ -mediacommand=#3:rewind, -overface={\color{blue}\small \strut \fbox{$\ll$}} -%downface={\color{red}\small\strut Pause/Pause}% -]{\small\strut \fbox{$\ll$}}% -%\mediabutton[ -%mediacommand=#3:seek[(15)], -%overface={\color{blue}\small \strut \fbox{1}} -%downface={\color{red}\small\strut Pause/Pause}% -%]{\small\strut \fbox{1}}% -%\mediabutton[ -%mediacommand=#3:seek[(30)], -%overface={\color{blue}\small \strut \fbox{2}} -%%downface={\color{red}\small\strut Pause/Pause}% -%]{\small\strut \fbox{2}}% - -\vspace{-7mm} +\fi \noindent% \hspace*{#1mm}% @@ -41,14 +17,19 @@ overface={\color{blue}\small \strut \fbox{$\ll$}} source=#2#3.mp3 &autoPlay=true } -% transparent, -% passcontext -]{\color{blue}\fbox{ }}{APlayer.swf} - +]{\color{blue}\fbox{ }}{APlayer.swf}% +\mediabutton[ +mediacommand=#3:playPause, +overface={\color{blue}\small \strut \fbox{$\oplus\triangleright$}}, +]{\small\strut \fbox{$\oplus\triangleright$}}% +\mediabutton[ +mediacommand=#3:rewind, +overface={\color{blue}\small \strut \fbox{$\ll$}} +%downface={\color{red}\small\strut Pause/Pause}% +]{\small\strut \fbox{$\ll$}}% } \newcommand{\inputmovie}[3][0.8]{ - \includemedia[ label=#3, width=#1\linewidth,height=0.6\linewidth, @@ -65,5 +46,4 @@ overface={\color{blue}\small \strut \fbox{$\ll$}} } %]{}{player_flv_maxi.swf} ]{}{VPlayer.swf} - } \ No newline at end of file -- cgit v1.2.3