Jump to content

Slashed sixth in chord mode: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Lemzwerg moved page Slashed sixth in chordmode to Slashed sixth in chord mode without leaving a redirect
 
(4 intermediate revisions by 2 users not shown)
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


Line 43: Line 43:
[[Category:Symbols and glyphs]]
[[Category:Symbols and glyphs]]
[[Category:Chords]]
[[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
  >>
}