Jump to content

Remove time signature, keep barlines: 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 following lines create a new staff without the time signature mark but they do print the barlines, which are positioned manually in the example.
The following lines create a new staff without the time signature mark but they do print the barlines, which are positioned manually in the example.


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


Line 21: Line 21:
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Contexts and engravers]]
[[Category:Contexts and engravers]]
[[Category:Snippet]]

Latest revision as of 23:24, 21 November 2025

The following lines create a new staff without the time signature mark but they do print the barlines, which are positioned manually in the example.

\version "2.24"

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

%LSR odified by P.P.Schneider on Feb.2014

\score{
  \new Staff 
  \with { 
    \omit TimeSignature 
    % or:
    %\remove "Time_signature_engraver" 
  }
  { 
   c' d' e' f'  g' f' e'  d'  c' 
  }
}