[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Display score title differently on odd or even pages
From: |
David Nalesnik |
Subject: |
Re: Display score title differently on odd or even pages |
Date: |
Fri, 2 Mar 2012 16:35:14 -0600 |
Hi Jay,
>> Is it possible to check whether the page is odd or even in creating
>> the score title markup. I'm setting a group of hymns and I'd like the
>> hymn number on the outside of the page.
:
From define-markup-commands.scm, I took the definition of \page-ref discussed in the link and adapted it so that it returns a markup justified to the left or right sides of the page, depending on whether the page number is even or odd.
Notice that I used "piece" for the title of each item. I'm not sure why substituting "title" gives no output.
Hope this helps!
-David
title-alignment-by-even-or-odd.ly
Description: Binary data