Debian Codegraph @

texmf-dist/tex/latex/beamer/multimediasymbols.sty

raw
1 % Copyright 2003--2007 by Till Tantau
2 % Copyright 2010 by Vedran Mileti\'c
3 %
4 % This file may be distributed and/or modified
5 %
6 % 1. under the LaTeX Project Public License and/or
7 % 2. under the GNU Public License.
8 %
9 % See the file LICENSE.md for more details.
10
11 \ProvidesPackage{multimediasymbols}[2004/04/10 ver 0.01]
12 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
13
14 \RequirePackage{keyval}
15 \RequirePackage{pgf}
16
17 \define@key{multimediasym}{fill}[]{\def\mm@action{\pgfusepath{fill,stroke}}}
18
19 \newcommand\speakersymbol[1][]{%
20 \def\mm@action{}%
21 \setkeys{multimediasym}{#1}%
22 \begin{pgfpicture}{-.1ex}{0pt}{2.1ex}{1.5ex}
23 \pgfsetroundjoin
24 \pgfsetroundcap
25 \pgfpathmoveto{\pgfpoint{0cm}{.5ex}}
26 \pgfpathlineto{\pgfpoint{.5ex}{.5ex}}
27 \pgfpathlineto{\pgfpoint{ex}{0pt}}
28 \pgfpathlineto{\pgfpoint{ex}{1.5ex}}
29 \pgfpathlineto{\pgfpoint{.5ex}{ex}}
30 \pgfpathlineto{\pgfpoint{0pt}{ex}}
31 \pgfpathclose
32 \mm@action
33 \pgfpathmoveto{\pgfpoint{1.25ex}{.5ex}}
34 \pgfpathcurveto{\pgfpoint{1.4ex}{.6ex}}{\pgfpoint{1.4ex}{.9ex}}{\pgfpoint{1.25ex}{1ex}}
35 \pgfpathmoveto{\pgfpoint{1.5ex}{.25ex}}
36 \pgfpathcurveto{\pgfpoint{1.7ex}{.5ex}}{\pgfpoint{1.7ex}{1ex}}{\pgfpoint{1.5ex}{1.25ex}}
37 \pgfpathmoveto{\pgfpoint{1.75ex}{0pt}}
38 \pgfpathcurveto{\pgfpoint{2ex}{.25ex}}{\pgfpoint{2ex}{1.25ex}}{\pgfpoint{1.75ex}{1.5ex}}
39 \pgfusepath{stroke}
40 \end{pgfpicture}}