summaryrefslogtreecommitdiff
path: root/Documentation/snippets/time-signature-in-parentheses---method-3.ly
blob: 5eebaacc095b7eb687dc1da3a415c1d656040409 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
%% DO NOT EDIT this file manually; it is automatically
%% generated from LSR http://lsr.dsi.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\version "2.17.6"

\header {
  lsrtags = "specific-notation, staff-notation, tweaks-and-overrides"

  texidoc = "
Another way to put the time signature in parenthesis

"
  doctitle = "Time signature in parentheses - method 3"
} % begin verbatim


\relative c'' {
  \override Staff.TimeSignature.stencil = #(lambda (grob)
    (parenthesize-stencil (ly:time-signature::print grob) 0.1 0.4 0.4 0.1 ))
  \time 2/4
  a4 b8 c
}