From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Bruce Horrocks <ntg@scorecrow.com>
Subject: [NTG-context] Re: setting up the interline space
Date: Sat, 26 Oct 2024 14:11:50 +0200 [thread overview]
Message-ID: <f1c816b0-5d81-9255-eae0-2f4c71f170aa@gmail.com> (raw)
In-Reply-To: <E40FB477-014E-4D1D-8847-89D71F8060D9@scorecrow.com>
Bruce Horrocks schrieb am 25.10.2024 um 18:52:
>> On 25 Oct 2024, at 05:41, David Roderick <angel.of.north@gmail.com> wrote:
>>
>> i am processing:
>>
>> \startotherverse % Verse
>> God fashioned the ship of the world carefully.
>> \stopotherverse
>>
>> \startotherverse % Verse
>> With the infinite skill of an All-Master
>> \stopotherverse
>>
>> \startotherverse % Verse
>> Made He the hull and sails,
>> \stopotherverse
>>
>> I wish to change the spacings between these output lines.
>>
>> \definenarrower[OtherVerseIndent][
>> default={left,right},
>> before=\switchtobodyfont[crane],
>> after=\switchtobodyfont[mainfamily]\noindentation
>> ]
>>
>> \definelines[otherverse][
>> after=\stopOtherVerseIndent,
>> before=\startOtherVerseIndent,
>> ]
>>
>> How do I achieve this?
> You have one line per verse in the above example, so the only spacing that can be changed is that between verses.
> Assuming you meant the spacing of the lines within each verse then the following might be what you want. (Note: I don’t have the Crane font so substituted Pagella.)
>
> \definefont[otherversefont][name:pagella at 14pt][big]
> \definelines[otherverse]
> \setuplines[otherverse][before={\otherversefont}]
\setuplines[otherverse][style=otherversefont]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2024-10-26 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 4:41 [NTG-context] " David Roderick
2024-10-25 16:52 ` [NTG-context] " Bruce Horrocks
2024-10-26 12:11 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f1c816b0-5d81-9255-eae0-2f4c71f170aa@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=ntg@scorecrow.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).