summaryrefslogtreecommitdiff
path: root/Documentation/snippets/time-signature-in-parentheses---method-3.ly
blob: 75b46ffe3a5f3932e7a5df09946b750146b9a7b2 (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.di.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.18.0"

\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
}