On 02/07/2020 20:46, Wolfgang Schuster wrote:
> The following example needs version 2020.07.02 or newer.
Nice !
.F
pEpkey.asc
Description: application/pgp-keys
___
If your question is of interest to others as well,
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={\startframedte
I have found this, that works, buy I don't know if there's a possibility of
using less code:
% !TEX encoding = UTF-8 Unicode
% !TEX TS-program = ConTeXt-MkIV
% questo codice centra il blocco dei versi sulla pagina
\defineframedtext
[poemframed]
[width=\textwidth,
autowidth=force,
Thanks, Wolfgang. Your example works, but the verse indentation (
\setuplines[indenting=three]) is lost.
There's a way to preserve it?
Tommy
___
If your question is of interest to others as well, please add an entry to
Tommaso Gordini schrieb am 02.07.2020 um 16:48:
Taco, this works!
Thank you!
Now (last question), it's possibile to centering in the middle of the
page the whole verse block ?
You can use the framedtext environment but the content can no longer
split across pages.
\starttext
\startframedtex
Hans Hagen schrieb am 02.07.2020 um 16:48:
On 7/2/2020 4:15 PM, Wolfgang Schuster wrote:
Hans Hagen schrieb am 02.07.2020 um 15:40:
On 7/2/2020 3:01 PM, Tommaso Gordini wrote:
[...]
I'll add this
\setuplines[indentnext={0pt,10pt,15pt,20pt}]
% \setuplines[indentnext={0pt,*,*}]
which then is
On 7/2/2020 4:15 PM, Wolfgang Schuster wrote:
Hans Hagen schrieb am 02.07.2020 um 15:40:
On 7/2/2020 3:01 PM, Tommaso Gordini wrote:
Hi everyone.
I am typesetting a poetry text in triplets and I would like the
second and third lines of each triplet to be indented (i.e., in the
next example,
Taco, this works!
Thank you!
Now (last question), it's possibile to centering in the middle of the page
the whole verse block ?
Tommy
Il giorno gio 2 lug 2020 alle ore 15:56 Taco Hoekwater
ha scritto:
>
> I was having fun with this as well while Hans was writing his generic
> solution.
>
> Her
Hans Hagen schrieb am 02.07.2020 um 15:40:
On 7/2/2020 3:01 PM, Tommaso Gordini wrote:
Hi everyone.
I am typesetting a poetry text in triplets and I would like the
second and third lines of each triplet to be indented (i.e., in the
next example, verse no. 2, 3, 5, and 6).
Is it possible to
I was having fun with this as well while Hans was writing his generic solution.
Here is an explicit ‘indent each 2nd and 3rd line’:
\unprotect
\installindentingmethod {three} {\c_spac_indentation_toggle_state\plusthree}
\unexpanded\def\spac_indentation_tri_toggle_indeed
{\glet\ch
On 7/2/2020 3:01 PM, Tommaso Gordini wrote:
Hi everyone.
I am typesetting a poetry text in triplets and I would like the second
and third lines of each triplet to be indented (i.e., in the next
example, verse no. 2, 3, 5, and 6).
Is it possible to get what I ask for with ConTeXt?
The most I
Hi everyone.
I am typesetting a poetry text in triplets and I would like the second and
third lines of each triplet to be indented (i.e., in the next example,
verse no. 2, 3, 5, and 6).
Is it possible to get what I ask for with ConTeXt?
The most I managed to do is this:
\starttext
\setupindent
12 matches
Mail list logo