Length of a footnote note
Hi all, There seems to be no limitation to the length of the annotation string of a footnote. It would be nice to be able to spread it over several lines, even without taking the mark part into account. Could anyone help me to construct a function to deal with that? Cheers, Jean-Charles \version 2.16.0 \paper { footnote-auto-number = ##f } lorem = \wordwrap-lines { Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. } \book { \score { \markup { Lorem ipsum \footnote * * Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. dolor... } \relative c' { a'1 } } \pageBreak \score {\markup { Lorem ipsum \footnote * * \lorem dolor... } \relative c' { a'1 } } } ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Length of a footnote note
Jean-Charles Malahieude lily...@orange.fr writes: Hi all, There seems to be no limitation to the length of the annotation string of a footnote. It would be nice to be able to spread it over several lines, even without taking the mark part into account. Could anyone help me to construct a function to deal with that? Could you try testing the code examples you submit? -- David Kastrup ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Length of a footnote note
Sorry, I tried something else in the middle. Here it is. \version 2.16.0 \paper { footnote-auto-number = ##f } lorem = \markup { \justify { Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. } } \book { \lorem \markup { Lorem ipsum \footnote * * Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. dolor... } \score { \relative c' { a'1 } } \pageBreak \markup { Lorem ipsum \footnote * * \lorem dolor... } \score { \relative c' { a'1 } } } footnote-long.pdf Description: Adobe PDF document ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Length of a footnote note
David Kastrup writes: Does something like \version 2.16.0 \paper { footnote-auto-number = ##f } lorem = \markup { \justify { Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. } } \book { \lorem \markup { Lorem ipsum \footnote * \justify { * Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. } dolor... } \score { \relative c' { a'1 } } \pageBreak \markup { Lorem ipsum \footnote * \put-adjacent #X #LEFT \lorem * dolor... } \score { \relative c' { a'1 } } } give you ideas? Many thanks! It works like a charm. I was really upset by the quoted string as being the way to introduce the annotation and did not come to such a simple workaround. And I wanted to avoid the use of another variable in my project just for this particular case. Thanks also for teaching me how to use \put-adjacent: I can even type Lorem ipsum \footnote * \put-adjacent #X #LEFT \justify {the long text} * Nice way to put whatever plus text in the annotation. Cheers, Jean-Charles ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond