bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: small caps


From: Abraham Lee
Subject: Re: small caps
Date: Fri, 16 Jan 2015 06:25:20 -0700

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] <address@hidden> 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 address@hidden To unsubscribe from Lilypond, click here.
NAML


reply via email to

[Prev in Thread] Current Thread [Next in Thread]