How to pass a parameter with \definedescription[]
Hi, Hans and Wolfgang helped me to design this framed text. How to pass in text parameter as we can for the length? The text is set to "Note" and I would like it to be "Vocabulary" for the second framed text. Thank you Fabrice \definecolor[MyColorA][s=0.8784] \definecolor[MyColorB][m=0.27,y=1] \defineframed [FrameTitle] [frame=off, foregroundstyle=\bfx\ss, foregroundcolor=white, background=color, backgroundcolor=MyColorB, location=depth] \defineframedtext [FramedText] [offset=0.5em, style=\ss, toffset=.25\lineheight, background=color, backgroundcolor=MyColorA, foregroundstyle={\switchtobodyfont[12pt]}, align={right, broad}, frame=off, corner=round, radius=1em, width=10cm] \definedescription [Info] [before=, after=, text=Note, title=no, width=fit, distance=1em, headcommand=\FrameTitle, alternative=serried] \starttext \startFramedText[width=\textwidth] \startInfo Cette suite d'appels sera notée Anissa--Boris--Gween et on dira qu'elle a pour longueur 2. \stopInfo \stopFramedText \startFramedText[width=\textwidth] \startInfo La matrice \m{M} est appelée {\bf matrice d'adjacence} du graphe. \stopInfo \stopFramedText \stoptext
participants (1)
-
Fabrice Couvreur