Changing fret orientations: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Fret diagrams can be oriented in three ways. By default the top string or fret in the different orientations will be aligned.
Fret diagrams can be oriented in three ways. By default the top string or fret in the different orientations will be aligned.


<lilypond version="2.24.0">
<lilypond version="2.24">
\include "predefined-guitar-fretboards.ly"
\include "predefined-guitar-fretboards.ly"


Line 10: Line 10:
     c1
     c1
   }
   }
   \new FretBoards {
   \new FretBoards \chordmode {
    \chordmode {
    c1
      c1
    \override FretBoard.fret-diagram-details.orientation =
      \override FretBoard.fret-diagram-details.orientation =
      #'landscape
        #'landscape
    c1
      c1
    \override FretBoard.fret-diagram-details.orientation =
      \override FretBoard.fret-diagram-details.orientation =
      #'opposing-landscape
        #'opposing-landscape
    c1
      c1
    }
   }
   }
   \new Voice {
   \new Voice {
Line 31: Line 29:
[[Category:Fretted strings]]
[[Category:Fretted strings]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]