summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/epslatex-fr/hands.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/epslatex-fr/hands.sty')
-rw-r--r--Master/texmf-dist/doc/latex/epslatex-fr/hands.sty90
1 files changed, 90 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/epslatex-fr/hands.sty b/Master/texmf-dist/doc/latex/epslatex-fr/hands.sty
new file mode 100644
index 00000000000..e4aa4feb5dd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/epslatex-fr/hands.sty
@@ -0,0 +1,90 @@
+\ProvidesPackage{hands}[1994/12/08]
+\RequirePackage{epsfig}
+\AtBeginDocument{\psfull}
+% les nouvelles commandes danger avec les mains et l'index pointant.
+
+\def\dangerfont{\footnotesize\sf}
+\newlength{\dangerloff}
+\setlength{\dangerloff}{\marginparwidth}
+\addtolength{\dangerloff}{-10pt}
+\newcommand\danger{\marginpar[\raggedleft{\makebox[\marginparwidth][l]{\hspace*{\dangerloff}\epsfig{file=danger}}}]{\raggedright{\makebox[\marginparwidth][l]{\epsfig{file=rdanger}}}}}
+\newcommand\Danger{\marginpar[\raggedleft{\makebox[\marginparwidth][l]{\hspace*{\dangerloff}\epsfig{file=Danger}}}]{\raggedright{\makebox[\marginparwidth][l]{\epsfig{file=RDanger}}}}}
+\newcommand\ldanger{{\hspace*{-29pt}\epsfig{file=danger}\hspace*{29pt}}}
+\newcommand\LDanger{{\hspace*{-29pt}\epsfig{file=Danger}\hspace*{29pt}}}
+% \danger place une main blanche dans la marge (note marginale)
+% \Danger place une main noire dans la marge (note marginale)
+% \ldanger place une main blanche \`a gauche. Doit \^etre en t\^ete de paragraphe.
+% \LDanger place une main noire \`a gauche. Doit \^etre en t\^ete de paragraphe.
+% Ces deux derni\`eres commandes sont utiles dans les notes.
+\newfont{\manfnt}{manfnt}
+\newfont{\Manfnt}{manfnt scaled 1500}
+\newcommand\virage{\marginpar[\raggedleft {{\manfnt\symbol{'177}}~~}]{\raggedright {~~\manfnt\symbol{'177}}}}
+\newcommand\flower{\marginpar[\raggedleft {\manfnt\symbol{'047}}]{\raggedright {\manfnt\symbol{'047}}}}
+\newcommand\icube{\marginpar[\raggedleft {\Manfnt\symbol{'035}}]{\raggedright {\Manfnt\symbol{'035}}}}
+\newcommand\Icube{{\Manfnt\symbol{'035}}}
+\let\mflower\flower % vieux nom
+\def\@Vir{\hbox to12mm{\hbox{}\leaders\hbox{{\manfnt\char127}\kern2pt}\hfil\hbox{}}}
+%\newcommand\Virage{\marginpar[\raggedleft {\@Vir}]{\raggedright {\@Vir}}}
+\newcommand\Virage{\marginpar[\hfill{\@Vir~~}]{{~~\@Vir}\hfill}}
+\def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax}
+%\ifundefined{overlay}\ifcase\@ptsize
+%\font\Logo=rgrsc10 scaled 1000
+%\or
+%\font\Logo=rgrsc10 scaled 1095
+%\or
+%\font\Logo=rgrsc10 scaled 1200
+%\fi
+%\else
+%\font\Logo=rgrsc10 scaled 2986
+%\relax\fi
+%%\def\TAO{\hbox{\null\catcode`\^^?=11\Logo\char'177\null}} % et du m\^eme coup !
+%\def\MFT{{\Logo\char'030\char'031\char'032\char'033}\-{\Logo\char'040\char'036\char'037\char'032}}
+\RequirePackage{mflogo}
+\let\MFT\MF\let\MPT\MP
+\newenvironment{dangerous}{\par\vspace{5pt}\begin{quotation}
+\hspace{-\parindent}%1997/02/04
+\parskip=\medskipamount
+\interlinepenalty\@M
+\postdisplaypenalty\@M
+\interdisplaylinepenalty\@M
+\@beginparpenalty\@M
+\@endparpenalty\@M
+\@itempenalty\@M
+\@secpenalty\@M
+\interfootnotelinepenalty\@M
+\reset@font\dangerfont\noindent\virage\ignorespaces}%
+ {\par\end{quotation}\vspace{5pt}}
+\newenvironment{Dangerous}{\par\vspace{5pt}\begin{quotation}
+\hspace{-\parindent}%1997/02/04
+\parskip=\medskipamount
+\interlinepenalty\@M
+\postdisplaypenalty\@M
+\interdisplaylinepenalty\@M
+\@beginparpenalty\@M
+\@endparpenalty\@M
+\@itempenalty\@M
+\@secpenalty\@M
+\interfootnotelinepenalty\@M
+\reset@font\dangerfont\noindent\Virage\ignorespaces}%
+ {\par\end{quotation}\vspace{5pt}}
+
+\newdimen\sv@dgparindent
+\def\Dbend{{\manfnt\char127}} % dangerous bend sign
+\def\d@nger{\medbreak\let\sv@par\par\sv@dgparindent=\parindent\parindent=18pt\clubpenalty=10000
+ %\def\par{\endgraf\relax\medbreak}%
+ \def\par{\parindent=\sv@dgparindent\sv@par}
+ \noindent\hangindent\parindent\hangafter=-2
+ \hbox to0pt{\hskip-\hangindent\Dbend\hfill}%
+ \reset@font\dangerfont\ignorespaces}
+%\outer\def\idangerous{\d@nger}
+\def\dd@nger{\medbreak\let\sv@par\par\sv@dgparindent=\parindent\parindent=18pt\clubpenalty=10000
+ %\def\par{\endgraf\medbreak}%
+ \def\par{\parindent=\sv@dgparindent\sv@par}
+ \noindent\hangindent2\parindent\hangafter=-2
+ \hbox to0pt{\hskip-1\hangindent\Dbend\kern1pt\Dbend\hfill}%
+ \reset@font\dangerfont\ignorespaces}
+%\outer\def\IDangerous{\dd@nger}
+%\def\endidangerous{\endgraf\endgroup} % omits the \medbreak
+%\let\endIDangerous\endidangerous
+\newenvironment{idangerous}{\d@nger}{\endgraf}
+\newenvironment{IDangerous}{\dd@nger}{\endgraf}