That works perfectly to layout as I want. However, the documentaion gives no indication as to whether it is possible, and if so, how to make that source-style global so that one doesn’t have to include it in every example.
Can anyone help please? With a paper with dozens of examples, having to include that line in every one is sub-optimal.
Thank you very much. I have to admit that I don’t really understand how it works, but it works perfectly for my needs. In the fifth line, I changed example to numbered-example. I use numbered-example as that not only gives numbering, but automatically handles sub-examples. Your code works perfectly with them too.
With your code added, I have to say leipzig-glossing.typ is very easy to use.