I am laying out a book that has line numbers on every fifth line. I want it to look like this:
line # text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
line # text line text line text line text line text
text line text line text line text line text
...
In my opinion the line number does not belong to the same line with the poem. So it is a paragraph. Then what I have is this:
line #
text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
line #
text line text line text line text line text
text line text line text line text line text
...
What I did is:
- I gave some left indent to all the text
- I gave some space before to the paragraph style of text lines
- I gave no space before, no left indent and a negative baseline shift to the line numbers
so i ended up with this:
line # text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
text line text line text line text line text
line # text line text line text line text line text
text line text line text line text line text
...
Although this seems to work, there remains a space between every fifth line. and I feel there should be a better / more elegant way to do this.
Any ideas?
anchored
orin-line
object. I don't know the specifics, because in the documents of this sort which I have worked with, I have chosen to place such items manually in separate boxes. I think what you are trying to do is most likely the correct way: the line # do not really belong nested within the content of the poetry, so you want to anchor a separate text box, but you also want the line numbers to follow the text when or if it reflows due to changes in typesize etc.