Jump to content

Slashed sixth in chord mode: Difference between revisions

From LilyPond wiki
No edit summary
m Lemzwerg moved page Slashed sixth in chordmode to Slashed sixth in chord mode without leaving a redirect
 
(2 intermediate revisions by the same user not shown)
Line 42: Line 42:
[[Category:Editorial annotations]]
[[Category:Editorial annotations]]
[[Category:Symbols and glyphs]]
[[Category:Symbols and glyphs]]
[[Category:Chords]][[Category:Snippet]]
[[Category:Chords]]
[[Category:Snippet]]

Latest revision as of 06:06, 24 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
  >>
}