On 16/01/15 13:25, Abraham Lee wrote:
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:

https://code.google.com/p/lilypond/issues/detail?id=1482

Is it anything to do with this?

James



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

\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]
<[email protected]> 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
[email protected] To unsubscribe from Lilypond, click
here.
NAML
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond




_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to