Hello,
Aditya offered me the following code to insert comments with an ornament. I
notice that the option alternative= serried does not seem to work.
Thank you.
Fabrice

\definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]
    \definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00]

    \defineornament
        [FrameTitle]
        [preset=lefttop]
        [
          frame=off,
          foregroundstyle=\bfx,
          foregroundcolor=white,
          background=color,
          backgroundcolor=MyColorB,
        ]


    \defineframedtext
      [FramedText]
      [
        offset=0.6em,
        toffset=\lineheight,
        background=color,
        backgroundcolor=MyColorA,
        foregroundstyle={\switchtobodyfont[10pt]},
        align=verytolerant,
        alternative=serried, % text wrapped
        frame=off,
        corner=round,
      ]

    \showframe

    \starttext

       \FrameTitle{Info}{\startFramedText[width=\textwidth]
          \dorecurse{100}{blabla}
        \stopFramedText}

    \stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to