The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse Contributing Snippet database

Results 1−10 of 12 for fromproperty

Using header fields in arbitrary markup [0.25000]

…so that one can access header fields via \fromproperty #'header:fieldname in such markups. This does not … …toplevel markup or markup inside a score, so \fromproperty returns an empty string in this case. The \…

…way, one can re-use the same functions (using fromproperty #'header:field) in the header block and as … …example, the title field of this score is: \fromproperty #'header:title and the composer is: \fromproperty #'header:composer } }

Using header fields in arbitrary markup

Ready-to-use LilyPond macros: advanced layout and titles, using a special stylesheet [0.14286]

…combine \null \vspace #6 \fill-line { \fontsize #8 \italic \fromproperty #'header:composer } \combine \null \vspace #1 \fill-line { \fontsize … …fromproperty #'toc:page } } tocSectionMarkup = \markup \italic \column { \fill-line { \fromproperty #'toc:text } } tocChapterMarkup = \markup \large \italic \column { \combine \null \vspace #1 \fontsize #2 \fill-line { \fromproperty #'toc:text } \combine \null \vspace #1 } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Markup commands …

Ready-to-use LilyPond macros: advanced layout and titles, using a special stylesheet

logo at the top [0.14286]

…if \on-first-page-of-part % version 2.23.3 % \raise #8 \fromproperty #'header:dedication % to ajust and uncomment for dedication % \… …header:instrument } \fromproperty #'header:composer } \fill-line { \fromproperty #'header:meter \fromproperty #'header:arranger } } } \raise #5 % \if \should-print-page-number %version 2.23.4 \if \should-print-page-number %version 2.23.3 \fromproperty #'page:page-number-string } evenHeaderMarkup = \oddHeaderMarkup %----- ragged-bottom = ##t print-page-number = …

logo at the top

Printing the title on every page of your score [0.13393]

…Schneider on Feb. 2014 \paper{ oddHeaderMarkup = \markup \fill-line { \fromproperty #'header:title " " % This will make sure that the … …fromproperty #'page:page-number-string } evenHeaderMarkup = \markup \fill-line { \if \should-print-page-number \fromproperty #'page:page-number-string " " \fromproperty #'header:title } } \header { title = "This title will be …

Printing the title on every page of your score

Headers for all pages in bookpart [0.13393]

…oddHeaderMarkup = \markup \fill-line { " " \on-the-fly #part-not-first-page \fontsize #-4.0 \fromproperty #'header:subtitle \if \should-print-page-number \fromproperty #'page:page-number-string } evenHeaderMarkup = \markup \fill-line { \if \should-print-page-number \fromproperty #'page:page-number-string \on-the-fly #part-not-first-page \fontsize #-4.0 \fromproperty #'header:subtitle " " } } %LSR End of the part to …

Headers for all pages in bookpart

Book parts [0.12500]

…field only on book first page. \if \on-first-page \fromproperty #'header:copyright } \fill-line { %% Part tagline header field only on each part last page. \if \on-last-page-of-part \fromproperty #'header:parttagline } \fill-line { %% Tagline header field only on book last page. \if \on-last-page \fromproperty #'header:tagline } } } } %% book header, which is inherited by …

Book parts

Toc Section Command [0.12500]

…know the page number! tocCollMarkup = \markup { \fill-line { \bold \fromproperty #'toc:text \vspace #1 \null } } tocPartMarkup = \markup { \fill-line { \concat { \hspace #2 \fromproperty #'toc:text } \vspace #0 \fromproperty #'toc:page } } } % some music pieces ... \bookpart { \markuplist { \override-lines …

Toc Section Command

Alphabetically sorted index [0.12500]

…Index" \null } \hspace #1 } indexItemMarkup = \markup \large \fill-line { \fromproperty #'index:text \fromproperty #'index:page } indexSectionMarkup = \markup \column { \hspace #1 \fill-line { \sans \bold \fontsize #3 \fromproperty #'index:text } \hspace #1 } } #(define-markup-list-command (index layout …

Alphabetically sorted index

Modifying default font properties for piece titles [0.10714]

…should-print-all-headers { \bookTitleMarkup \hspace #1 } \fill-line { \fontsize #3 \bold \fromproperty #'header:piece \fromproperty #'header:opus } } } tagline = ##f } \markuplist { \vspace #1 \fill-line { \…

Modifying default font properties for piece titles

Footnotes / Remarks in the footer [0.10714]

…6mm for page-number \footer-items #(* (magstep mm) 6) \fromproperty #'page:page-number-string } } evenFooterMarkup = \markup { \fill-line { \fromproperty #'page:page-number-string % fill in footer-items, reserve 6mm for …

Footnotes / Remarks in the footer

1 2 Next ⇨