From: Christophe Poulain Date: Fri, 17 Feb 2017 10:29:49 +0000 (+0100) Subject: modification de la documentation (Dire, DireT...) X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=mp-scratch.git;a=commitdiff_plain;h=8d8c8c55e311b3a860346b65b90ca7984390c81c modification de la documentation (Dire, DireT...) --- diff --git a/doc/mp-scratch.pdf b/doc/mp-scratch.pdf index dd7b2b4..5a37bac 100644 Binary files a/doc/mp-scratch.pdf and b/doc/mp-scratch.pdf differ diff --git a/doc/mp-scratch.tex b/doc/mp-scratch.tex index bba9203..bf1270a 100644 --- a/doc/mp-scratch.tex +++ b/doc/mp-scratch.tex @@ -173,13 +173,13 @@ 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} diff --git a/src/LATEXScratch.mp b/src/LATEXScratch.mp index 3ec7f90..0b866eb 100644 --- a/src/LATEXScratch.mp +++ b/src/LATEXScratch.mp @@ -28,7 +28,7 @@ vardef LATEX primary s = write "\definecolor{DarkMarron}{rgb}{0.719,0.469,0.172}" to "mptextmp.mp";%0.625,0.312,0 write "\definecolor{LightPink}{rgb}{0.672,0.234,0.699}" to "mptextmp.mp";%0.875,0.125,0.875 write "\newcommand\opSon[1]{\colorbox{LightPink}{\bfseries\textcolor{white}{#1}}}" to "mptextmp.mp"; - write "\newcommand\opSimple[1]{\colorbox{white}{\bfseries\textcolor{black}{#1}}}" to "mptextmp.mp"; + write "\newcommand\opSimple[1]{\colorbox{white}{\normalfont\textcolor{black}{#1}}}" to "mptextmp.mp"; write "\newcommand\opMouv[1]{\colorbox{DarkBlue}{\bfseries\textcolor{white}{#1}}}" to "mptextmp.mp"; write "\newcommand\opAp[1]{\colorbox{LightPurple}{\bfseries\textcolor{white}{#1}}}" to "mptextmp.mp"; write "\newcommand\opApMenu[1]{\colorbox{DarkPurple}{\bfseries\textcolor{white}{\normalfont #1 \textcolor{black}{\tiny$\blacktriangledown$}}}}" to "mptextmp.mp";