Jump to content

Time signatures fraction style for 4/4 and 2/2: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The symbol of the time signature can be customized with the style property. Setting it to #'() uses fraction style for 4/4 and 2/2 time.
The symbol of the time signature can be customized with the style property. Setting it to #'() uses fraction style for 4/4 and 2/2 time.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=179
%% http://lsr.di.unimi.it/LSR/Item?id=179


Line 22: Line 22:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Snippet]]

Latest revision as of 23:26, 21 November 2025

The symbol of the time signature can be customized with the style property. Setting it to #'() uses fraction style for 4/4 and 2/2 time.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=179

%LSR modified by P.P.Schneider on Feb.2104

{
    \time 4/4 c'1
    \time 2/2 c'1
    
  \numericTimeSignature
  % or: 
  %\override Staff.TimeSignature.style = #'numbered
    \time 4/4 c'1
    \time 2/2 c'1
}