X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=mp-scratch.git;a=blobdiff_plain;f=src%2FApparence.mp;fp=src%2FApparence.mp;h=bd7b9775ae17b6aaa678076abc8f38f2640f9b9b;hp=ed7a6d83f1c623334f9acd8c0dc92d224507794a;hb=363b3ba3a8cde41ccf198aebb78604e19e3620ba;hpb=350918270324d171c9b7fc6bfb9ffc0c1302eef7 diff --git a/src/Apparence.mp b/src/Apparence.mp index ed7a6d8..bd7b977 100644 --- a/src/Apparence.mp +++ b/src/Apparence.mp @@ -24,7 +24,7 @@ vardef DireT(expr phrase,tps)= save $; picture $,texto; texto=image( - label.lrt(LATEX("\bfseries\color{white}dire \colorbox{white}{\textcolor{black}{\normalfont "&phrase&"}} pendant \colorbox{white}{\textcolor{black}{"&if numeric tps:decimal(tps)&"}}" else: tps fi&" secondes"),if unknown _coinprec: (0,0) else:_coinprec fi); + label.lrt(LATEX("\bfseries\color{white}dire "&phrase&" pendant \colorbox{white}{\textcolor{black}{"&if numeric tps:decimal(tps)&"}}" else: tps fi&" secondes"),if unknown _coinprec: (0,0) else:_coinprec fi); ); $=AffichageA shifted (if unknown _coinprec:(0,0) else :_coinprec fi - ulcorner AffichageA); _coinprec:=llcorner $; @@ -36,7 +36,7 @@ vardef Dire(expr phrase)= save $; picture $,texto; texto=image( - label.lrt(LATEX("\bfseries\color{white}dire \colorbox{white}{\normalfont\textcolor{black}{"&phrase&"}}"),if unknown _coinprec: (0,0) else:_coinprec fi); + label.lrt(LATEX("\bfseries\color{white}dire "&phrase&""),if unknown _coinprec: (0,0) else:_coinprec fi); ); $=AffichageA shifted (if unknown _coinprec:(0,0) else :_coinprec fi - ulcorner AffichageA); _coinprec:=llcorner $; @@ -48,7 +48,7 @@ vardef PenserT(expr phrase,tps)= save $; picture $,texto; texto=image( - label.lrt(LATEX("\bfseries\color{white}penser \colorbox{white}{\normalfont\textcolor{black}{"&phrase&"}} pendant \colorbox{white}{\textcolor{black}{"&if numeric tps:decimal(tps)&"}}" else: tps fi&" secondes"),if unknown _coinprec: (0,0) else:_coinprec fi); + label.lrt(LATEX("\bfseries\color{white}penser "&phrase&" pendant \colorbox{white}{\textcolor{black}{"&if numeric tps:decimal(tps)&"}}" else: tps fi&" secondes"),if unknown _coinprec: (0,0) else:_coinprec fi); ); $=AffichageA shifted (if unknown _coinprec:(0,0) else :_coinprec fi - ulcorner AffichageA); _coinprec:=llcorner $; @@ -60,7 +60,7 @@ vardef Penser(expr phrase)= save $; picture $,texto; texto=image( - label.lrt(LATEX("\bfseries\color{white}penser \colorbox{white}{\normalfont\textcolor{black}{"&phrase&"}}"),if unknown _coinprec: (0,0) else:_coinprec fi); + label.lrt(LATEX("\bfseries\color{white}penser "&phrase&""),if unknown _coinprec: (0,0) else:_coinprec fi); ); $=AffichageA shifted (if unknown _coinprec:(0,0) else :_coinprec fi - ulcorner AffichageA); _coinprec:=llcorner $;