X-Git-Url: https://melusine.eu.org/syracuse/G/git/?a=blobdiff_plain;f=doc%2Fmp-scratch.tex;h=33099120612feca1841b133fc3a5784816b07f95;hb=e59b6180eb100cbc58fc230b38169024a754aa73;hp=1782cb389c15e554a97d0ecae1c1b257023ffe70;hpb=3a7672865262ec7f48b0d988a65cb4a094c0a28a;p=mp-scratch.git diff --git a/doc/mp-scratch.tex b/doc/mp-scratch.tex index 1782cb3..3309912 100644 --- a/doc/mp-scratch.tex +++ b/doc/mp-scratch.tex @@ -53,7 +53,7 @@ Avec les nouveaux programmes 2016 du Cycle 4 (Classes de 5\ieme\ à 3\ieme\ de c et l'ensemble des fichiers sera à placer correctement dans une arborescence \TeX\footnote{Arborescence locale de préférence, par exemple dans {\sffamily /home/christophe/texmf/metapost/} sous Linux.}. \\Pour l'utilisation, il sera nécessaire de veiller : \begin{itemize} -\item à installer, si ce n'est pas fait, la fonte {\sffamily Carlito}\footnote{(\url{http://www.tug.dk/FontCatalogue/carlito/} pour un exemple}; +\item à installer, si ce n'est pas fait, la fonte {\sffamily Carlito}\footnote{\url{http://www.tug.dk/FontCatalogue/carlito/} pour un exemple. Le choix reste personnalisable évidemment mais Thierry Pasquier, à juste titre, m'a préconisé d'utiliser une fonte sans serif.}; \item à modifier, dans le fichier {\sffamily LATEXScratch.mp}, la ligne \vspace{1em} \begin{center} @@ -173,27 +173,27 @@ Les \og opérateurs\footnote{Je nomme \og opérateurs\fg\ les variables ou comma \vspace*{2em}\par \item[Groupe {\sffamily Apparence}]\hfil\newline \begin{itemize} - \item[\textbullet]\lstinline!draw DireT("Hello",2);! + \item[\textbullet]\lstinline!draw DireT("\opSimple{Hello}",2);! \par\hfill\includegraphics{CommandeApparence.1} - \item[\textbullet]\lstinline!draw Dire("Hello");! + \item[\textbullet]\lstinline!draw Dire("\opSimple{Hello}");! \par\hfill\includegraphics{CommandeApparence.2} - \item[\textbullet]\lstinline!draw PenserT("Hmm...",2);! + \item[\textbullet]\lstinline!draw PenserT("\opSimple{Hmm...}",2);! \par\hfill\includegraphics{CommandeApparence.3} - \item[\textbullet]\lstinline!draw Penser("Hmm...");! + \item[\textbullet]\lstinline!draw Penser("\opSimple{Hmm...}");! \par\hfill\includegraphics{CommandeApparence.4} \item[\textbullet]\lstinline!draw Montrer;! \par\hfill\includegraphics{CommandeApparence.5} \item[\textbullet]\lstinline!draw Cacher;! \par\hfill\includegraphics{CommandeApparence.6} - \item[\textbullet]\lstinline!draw Basculer("\opAp{costume2}");! + \item[\textbullet]\lstinline!draw Basculer("\opApMenu{costume2}");! \par\hfill\includegraphics{CommandeApparence.7} \item[\textbullet]\lstinline!draw CostumeSuivant;! \par\hfill\includegraphics{CommandeApparence.8} - \item[\textbullet]\lstinline!draw BasculerAR("\opAp{arriere-plan2}");! + \item[\textbullet]\lstinline!draw BasculerAR("\opApMenu{arriere-plan2}");! \par\hfill\includegraphics{CommandeApparence.9} - \item[\textbullet]\lstinline!draw AjouterEffet("\opAp{couleur}",10);! + \item[\textbullet]\lstinline!draw AjouterEffet("\opApMenu{couleur}",10);! \par\hfill\includegraphics{CommandeApparence.10} - \item[\textbullet]\lstinline!draw MettreEffet("\opAp{couleur}",10);! + \item[\textbullet]\lstinline!draw MettreEffet("\opApMenu{couleur}",10);! \par\hfill\includegraphics{CommandeApparence.11} \item[\textbullet]\lstinline!draw AnnulerEffet;! \par\hfill\includegraphics{CommandeApparence.12} @@ -206,8 +206,15 @@ Les \og opérateurs\footnote{Je nomme \og opérateurs\fg\ les variables ou comma \item[\textbullet]\lstinline!draw DeplacerAP("\opOp{$\opMouv{abscisse x}\bm{+}\opSimple{10}$}");! \par\hfill\includegraphics{CommandeApparence.16} \end{itemize} +\vspace{1em}\par Quand \og la scène\fg\ est sélectionnée, on dispose également des commandes : + \begin{itemize} + \item[\textbullet]\lstinline!draw BasculerARA("\opApMenu{arriere-plan2}");! + \par\hfill\includegraphics{CommandeApparence.20} + \item [\textbullet]\lstinline!draw ARSuivant;! + \par\hfill\includegraphics{CommandeApparence.21} + \end{itemize} \par\vspace*{2em}\par Les \og opérateurs\fg\ -\[\includegraphics{CommandeApparence.17}\kern0.1\linewidth\includegraphics{CommandeApparence.18}\kern0.1\linewidth\includegraphics{CommandeApparence.19}\] +\[\includegraphics{CommandeApparence.17}\kern0.1\linewidth\includegraphics{CommandeApparence.18}\kern0.1\linewidth\includegraphics{CommandeApparence.19}\kern0.1\linewidth\includegraphics{CommandeApparence.22}\] s'obtiennent avec la commande \LaTeX\ \lstinline!\opAp{}!. \par\vspace*{2em}\par \item[Groupe {\sffamily Son}]\hfil\newline @@ -326,6 +333,12 @@ label(LATEX("\opList{\opSousList{Pythagore} \item[\textbullet]\lstinline!draw EnvoyerMessageA("message1");! \par\hfill\includegraphics{CommandeEvenements.8} \end{itemize} +\vspace{1em}\par +Quand \og la scène\fg\ est sélectionnée, on dispose de : +\begin{itemize} + \item[\textbullet]\lstinline!draw QScenePressee;! + \par\hfill\includegraphics{CommandeEvenements.9}\footnote{C'est le seul endroit où il y a une majuscule dans les notations {\sffamily Scratch}\ldots} +\end{itemize} \vspace*{2em}\par \item[Groupe {\sffamily Contrôle}]\hfil\newline \begin{itemize} @@ -335,6 +348,7 @@ label(LATEX("\opList{\opSousList{Pythagore} \par\hfill\includegraphics{CommandeControle.6} \item[\textbullet]\lstinline!draw Stop("ce script");! \par\hfill\includegraphics{CommandeControle.8} +\newpage \item[\textbullet]\lstinline!draw CommencerClone;! \par\hfill\includegraphics{CommandeControle.9} \item[\textbullet]\lstinline!draw CreerClone("Lutin1");!