Craig,

\caps is just a short-hand command for \smallCaps, but this situation 
is obviously a code bug. You CAN put the \caps or \smallCaps in the 
header variable itself:

piece = \markup \smallCaps "Piece"

and then it works, but since it seems that you are trying to create a 
custom title that does this automatically, this solution may not be 
suitable for you. I'm forwarding this small example to the bugs-list 
for extermination:

%<------------------------------------

\version "2.19.11"

\paper {
  scoreTitleMarkup = \markup {
    \column {
      \on-the-fly \print-all-headers { \bookTitleMarkup \hspace #1 }
      \fill-line {
        \large \bold \smallCaps \fromproperty #'header:piece
      }
    }
  }
}

\header {
  title = "Title"
  piece = "Piece"  % put the \smallCaps in here and it works
}

{ \repeat unfold 3 { s1 \break } }

%<----------------------------------------------

- Abraham

On Fri, Jan 16, 2015 at 2:00 AM, Craig Dabelstein [via Lilypond] 
<ml-node+s1069038n170544...@n5.nabble.com> wrote:
> Hi Shane,
> 
> \version "2.19.11"
> 
> Even with \smallCaps (how did I miss that!?!!?) the test stays the 
> same. Bold and Large are both working but not the small caps. 
> 
> Craig
> 
> 
> On Fri Jan 16 2015 at 4:39:22 PM Shane Brandes <[hidden email]> wrote:
>> Which version are you using? and is it not \smallcaps that you need 
>> to
>> issue? Also does the font actually have small caps natively?
>> 
>> Shane
>> 
>> On Fri, Jan 16, 2015 at 12:54 AM, Craig Dabelstein
>> <[hidden email]> wrote:
>> > Hi List,
>> >
>> > Can anyone tell me why I can't get small caps working with this 
>> code?
>> >
>> > Many thanks,
>> >
>> > Craig
>> >
>> > scoreTitleMarkup = \markup {
>> >     \column {
>> >       \on-the-fly \print-all-headers { \bookTitleMarkup \hspace #1 
>> }
>> >       \fill-line {
>> >         \large \bold \caps \fromproperty #'header:piece
>> >          }
>> >         }
>> >       }
>> >     }
>> >
>> > _______________________________________________
>> > lilypond-user mailing list
>> > [hidden email]
>> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>> >
> 
> _______________________________________________ 
> lilypond-user mailing list 
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> If you reply to this email, your message will be added to the 
> discussion below:
> http://lilypond.1069038.n5.nabble.com/small-caps-tp170540p170544.html
> To start a new topic under User, email 
> ml-node+s1069038n...@n5.nabble.com 
> To unsubscribe from Lilypond, click here.
> NAML




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/small-caps-tp170540p170552.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to