Jump to content

Slashed sixth in chord mode: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
If you need a slashed sixth degree, commonly found in figured bass, but in chordmode, here is a very basic way of formatting the markup to get it done.
If you need a slashed sixth degree, commonly found in figured bass, but in chordmode, here is a very basic way of formatting the markup to get it done.


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



Revision as of 18:56, 16 November 2025

If you need a slashed sixth degree, commonly found in figured bass, but in chordmode, here is a very basic way of formatting the markup to get it done.

\version "2.24"

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

\paper { tagline = ##f }

myChordDefinitions = {
  <es g ais c>-\markup \super {
    \combine
    6
    \raise #0.3 \rotate #-75 \bold /
  }
}

myChordExceptions = #(append
  (sequential-music-to-chord-exceptions myChordDefinitions #t)
  ignatzekExceptions)

myChordInit = {
  \set chordNameExceptions = #myChordExceptions
}

music = \relative c' {
  c2 f
}

chord = \chords {
  \myChordInit
  c2 f:m6+
}

\score {
  <<
    \chord
    \new Staff \music
  >>
}