int(0) Changing fret orientations - LilyPond wiki Jump to content

Changing fret orientations

From LilyPond wiki

Fret diagrams can be oriented in three ways. By default the top string or fret in the different orientations will be aligned.

\version "2.24.0"

\include "predefined-guitar-fretboards.ly"

<<
  \chords {
    c1
    c1
    c1
  }
  \new FretBoards {
    \chordmode {
      c1
      \override FretBoard.fret-diagram-details.orientation =
        #'landscape
      c1
      \override FretBoard.fret-diagram-details.orientation =
        #'opposing-landscape
      c1
    }
  }
  \new Voice {
    c'1
    c'1
    c'
  }
>>