Tommaso Gordini schrieb am 02.07.2020 um 17:33:
I have found this, that works, buy I don't know if there's a possibility of using less code:

[...]

The following example needs version 2020.07.02 or newer.

%%%% begin example
\definelines [poem]

\setuplines
  [poem]
[ before={\startframedtext[location=middle,width=fit,offset=none,frame=off]},
        after={\stopframedtext},
   indentlist={0em,1em,1em}]

\starttext

\startpoem
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove l'umano spirito si purga
e di salire al ciel diventa degno.
Ma qui la morta poesì resurga,
o sante Muse, poi che vostro sono;
e qui Calïopè alquanto surga,
seguitando il mio canto con quel suono
di cui le Piche misere sentiro
lo colpo tal, che disperar perdono.
\stoppoem

\stoptext
%%%% end example

Wolfgang
___________________________________________________________________________________
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