summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/latex/texlogos/texlogos.sty148
1 files changed, 148 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/texlogos/texlogos.sty b/Master/texmf-dist/tex/latex/texlogos/texlogos.sty
new file mode 100644
index 00000000000..956adde4c0d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/texlogos/texlogos.sty
@@ -0,0 +1,148 @@
+%% LaTeX package "texlogos.sty" for LaTeX2e
+%% Created 2003/06/20 by Jacek Ruzyczka.
+%% Version 1.2.2 2003/06/23
+%% e-mail: uv_centcom@yahoo.com
+%% (c) 2003 by Jacek Ruzyczka.
+%% This package is subject to the LPPL.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{texlogos}[2003/06/23 ver.1.2.2 by Jacek Ruzyczka]
+\RequirePackage{amsmath}
+\RequirePackage{graphics}
+\RequirePackage{ifthen}
+
+%% Loads the "logo" fonts required by \metafontlogo and
+%% \metapostlogo.
+%%
+\font\fntlogosmup=logo8 scaled 600
+\font\fntlogosmsl=logosl8 scaled 600
+\font\fntlogofnup=logo9 scaled 600
+\font\fntlogofnsl=logosl9 scaled 600
+\font\fntlogoreup=logo10 scaled 600
+\font\fntlogoresl=logosl10 scaled 600
+\font\fntlogorebf=logobf10 scaled 600
+
+%% Displays the "Euro" sign without using TCRM fonts.
+%%
+\DeclareRobustCommand{\euro}{C\hspace{-2ex}%
+ \protect\raisebox{0.15ex}
+ {$\mathrm{=}\,$}}
+
+%% Displays the "Cent" sign without using TCRM fonts.
+%%
+\DeclareRobustCommand{\cent}{c\hspace{-0.8ex}%
+ \protect\raisebox{0.2ex}{%
+ \protect\scalebox{1}[0.7]{\textbar}}$\,$}
+
+%% Displays the "Yen" sign without using TCRM fonts.
+%%
+\DeclareRobustCommand{\yen}{Y\hspace{-1.6ex}%
+ \protect\raisebox{0.15ex}{%
+ \scriptsize{$\mathrm{=}$}$\;$}}
+
+%% Displays the "Won" sign without using TCRM fonts.
+%%
+\DeclareRobustCommand{\won}{W\hspace{-2.3ex}%
+ \protect\raisebox{0.4ex}{%
+ \protect\scalebox{1.5}[1]%
+ {\scriptsize{$\mathrm{=}$}$\;$}}}
+
+%% Displays the "Naira" sign without using TCRM fonts.
+%%
+\DeclareRobustCommand{\naira}{N\hspace{-1.75ex}%
+ \protect\raisebox{0.4ex}{%
+ \protect\scalebox{1.25}[1]%
+ {\scriptsize{$\mathrm{=}$}$\;$}}}
+
+%% Displays the AMS logo using the mathcal fonts.
+%%
+\DeclareRobustCommand{\amslogo}
+ {$\mathcal{A\! \protect\raisebox{-0.5ex}
+ {$\mathcal{M}$}\! S}$}
+
+%% Displays the BibTeX logo.
+%%
+\DeclareRobustCommand{\bibtexlogo}{%
+ \protect\scalebox{0.75}[1]{B}%
+ \protect\scalebox{0.5625}[0.75]{IB}\TeX}
+
+%% Displays the SliTeX logo.
+%%
+\DeclareRobustCommand{\slitexlogo}{%
+ \protect\scalebox{0.75}[1]{S}%
+ \protect\scalebox{0.5625}[0.75]{LI}\TeX}
+
+%% Displays the bwz logo.
+%%
+\DeclareRobustCommand{\bwzlogo}{\protect\scalebox{1.25}[1.2]
+ {\sl \texttt{bwz}}}
+
+%% The commands \metafontlogo and \metapostlogo both accept
+%% the following two arguments:
+%% #1...the font size....{small; footnotesize; regular}
+%% #2...the font shape...{upright; slanted;
+%% boldface [regular size only]}
+%%
+
+%% Displays the METAFONT logo.
+%%
+\DeclareRobustCommand{\metafontlogo}[2]
+ {{\protect\scalebox{1.667}{%
+ \ifthenelse{\equal{#1}{small}}{%
+ \ifthenelse{\equal{#2}{slanted}}
+ {\fntlogosmsl}{\fntlogosmup}}
+ {\ifthenelse{\equal{#1}{footnotesize}}{%
+ \ifthenelse{\equal{#2}{slanted}}
+ {\fntlogofnsl}{\fntlogofnup}}
+ {\ifthenelse{\equal{#2}{boldface}}{\fntlogorebf}{%
+ \ifthenelse{\equal{#2}{slanted}}
+ {\fntlogoresl}{\fntlogoreup}}}}
+ METAFONT}}}
+
+%% Displays the METAPOST logo.
+%%
+\DeclareRobustCommand{\metapostlogo}[2]
+ {{\protect\scalebox{1.667}{%
+ \ifthenelse{\equal{#1}{small}}{%
+ \ifthenelse{\equal{#2}{slanted}}
+ {\fntlogosmsl}{\fntlogosmup}}
+ {\ifthenelse{\equal{#1}{footnotesize}}{%
+ \ifthenelse{\equal{#2}{slanted}}
+ {\fntlogofnsl}{\fntlogofnup}}
+ {\ifthenelse{\equal{#2}{boldface}}{\fntlogorebf}{%
+ \ifthenelse{\equal{#2}{slanted}}
+ {\fntlogoresl}{\fntlogoreup}}}}
+ METAPOST}}}
+
+%% Displays the "pointing finger" character.
+%% Args: #1...the scaling factor (for 11pt, take 0.48)
+%%
+\DeclareRobustCommand{\fingerlogo}[1]{\protect\scalebox{#1}{%
+ \begin{picture}(10, 10)
+ \thicklines
+ \put(0, 1.5){\line(0, 1){3}}
+ \put(0.5, 4.5){\oval(1, 1)[tl]}
+ \put(0.5, 5){\line(1, 0){1}}
+ \put(1.5, 4.5){\oval(1, 1)[tr]}
+ \put(2, 4.5){\line(0, -1){3}}
+ \put(1.5, 1.5){\oval(1, 1)[br]}
+ \put(1.5, 0.8){\line(-1, 0){1}}
+ \put(0.5, 1.5){\oval(1, 1)[bl]}
+ \put(1, 4){\circle*{0.75}}
+ \qbezier(2, 4.5)(3.75, 5.5)(9.25, 4.25)
+ \qbezier(9.25, 4.25)(10, 3.75)(9.25, 3.5)
+ \qbezier(9.25, 3.5)(6.5, 3.75)(5.25, 3.625)
+ \qbezier(5.25, 3.625)(4.5, 3.375)(5.75, 3.125)
+ \qbezier(5.75, 3.125)(7, 3)(6.5, 1.75)
+ \qbezier(6.5, 1.75)(6.25, 1)(5, 1)
+ \qbezier(5, 1)(3.75, 1)(2, 1.5)
+ \end{picture}}}
+
+%% Displays the C++ logo.
+%%
+\DeclareRobustCommand{\cpluspluslogo}{C\hspace{-0.5ex}
+ \protect\raisebox{0.5ex}
+ {\protect\scalebox{0.67}{++}}}
+
+%% End of textlogos.sty
+%%