Is there an elegant way to place the name of an author blow her/his poem or text (in an anthology of different authors)? The name should be flushed right, have vertical space (e.g. 1em), should not be break over pages and should not be a widow (last paragraph of the text and the author’s name should keep together).
|
You don't say how you are typesetting the poems, but the verse package includes the following suggestion for attributing the author :
This prevents a page break and typesets the author name flushright, in footnote size.
It is used as Widows may not be a problem. But to avoid widows generally, the first approach is to do something like
or some larger value (up to 10000, usually too severe, the standard value in the Addendum The above will not give surefire solution though. It only suggests to LaTeX that breaks in these places are not to be prefereed. A good discussion of keeping things on one page can be found in the TeX FAQ. If you can package you poem with attribution in to a Addendum 2 Experimenting shows that the suggested code works best inside the verse environment e.g. as
and the macro definition can include vertical spacing:
The catch is that this attribution is now flush right with the poems margin. |
|||||
|
