| 1 | // Configuration for ChordPro |
| 2 | // |
| 3 | // This is a really relaxed JSON document, see |
| 4 | // https://metacpan.org/pod/JSON::Relaxed#REALLY-RELAXED-EXTENSIONS |
| 5 | |
| 6 | config { |
| 7 | type : style |
| 8 | title : "Modern 2" |
| 9 | description : "Modern look with sans-serif fonts and chords in a side column." |
| 10 | } |
| 11 | |
| 12 | // Settings for PDF output. |
| 13 | pdf { |
| 14 | |
| 15 | // Appearance of chorus. |
| 16 | chorus { |
| 17 | |
| 18 | // Indent of the chorus, not including bar. |
| 19 | indent : 12 |
| 20 | |
| 21 | // Appearance of side bar. |
| 22 | bar.width : 0.5 |
| 23 | } |
| 24 | |
| 25 | // Alternative songlines with chords in a side column. |
| 26 | // Value is the column position. |
| 27 | chordscolumn : 300 |
| 28 | |
| 29 | // Value for Capo heading when using chordscolumn. |
| 30 | capoheading : "%{capo|Capo: %{}}" |
| 31 | |
| 32 | // A {titles: left} directive may conflict with customized formats. |
| 33 | // Set to true to ignore the directive. |
| 34 | titles-directive-ignore : true |
| 35 | |
| 36 | // Formats. |
| 37 | formats.title { |
| 38 | |
| 39 | // The first page of a song has: |
| 40 | title : [ "%{title}" "" "" ] |
| 41 | subtitle : [ "%{subtitle|%{}|%{subtitle}}" "" "" ] |
| 42 | } |
| 43 | |
| 44 | // "fonts" maps output elements to fonts as defined in "fontconfig". |
| 45 | fonts { |
| 46 | title : "sans-serif bold" |
| 47 | text : sans-serif |
| 48 | chord : "sans-serif bold 12" |
| 49 | comment : "sans-serif 12" |
| 50 | toc : sans-serif |
| 51 | } |
| 52 | } |
| 53 | // End of config. |