| 1 | // Configuration for ChordPro. |
| 2 | // |
| 3 | // This is a relaxed JSON document, so comments are possible. |
| 4 | |
| 5 | config { |
| 6 | type : style |
| 7 | title : "Modern 3" |
| 8 | description : "Modern look with sans-serif fonts and chords diagrams in a side column." |
| 9 | } |
| 10 | |
| 11 | // Settings for PDF output. |
| 12 | pdf { |
| 13 | |
| 14 | // Appearance of chorus. |
| 15 | chorus { |
| 16 | |
| 17 | // Indent of the chorus, not including bar. |
| 18 | indent : 12 |
| 19 | |
| 20 | // Appearance of side bar. |
| 21 | bar.width : 0.5 |
| 22 | } |
| 23 | |
| 24 | // Appearance of chord diagrams for string instruments. |
| 25 | diagrams { |
| 26 | |
| 27 | // Diagrams for all chords of the song can be shown at the |
| 28 | // "top", "bottom" or "right" side of the first page, |
| 29 | // or "below" the last song line. |
| 30 | show : right |
| 31 | |
| 32 | // Width of each diagram cell. |
| 33 | width : 8 |
| 34 | |
| 35 | // Height of each diagram cell. |
| 36 | height : 8 |
| 37 | |
| 38 | // Horizontal space between diagrams. |
| 39 | hspace : 3.95 |
| 40 | |
| 41 | // Vertical space between diagrams. |
| 42 | vspace : 3 |
| 43 | |
| 44 | // The number of frets shown. |
| 45 | vcells : 4 |
| 46 | |
| 47 | // Thickness of the diagram lines as a fraction of 'width'. |
| 48 | linewidth : 0.1 |
| 49 | } |
| 50 | |
| 51 | // Appearance of chord diagrams for keyboards. |
| 52 | kbdiagrams.show : right |
| 53 | |
| 54 | // A {titles: left} directive may conflict with customized formats. |
| 55 | // Set to true to ignore the directive. |
| 56 | titles-directive-ignore : true |
| 57 | |
| 58 | // Formats. |
| 59 | formats.title { |
| 60 | |
| 61 | // The first page of a song has: |
| 62 | title : [ "%{title}" "" "" ] |
| 63 | subtitle : [ "%{subtitle|%{}|%{subtitle}}" "" "" ] |
| 64 | } |
| 65 | |
| 66 | fonts { |
| 67 | title : "sans-serif bold" |
| 68 | text : sans-serif |
| 69 | chord : "sans-serif bold 12" |
| 70 | comment : "sans-serif 12" |
| 71 | toc : "sans-serif 11" |
| 72 | } |
| 73 | } |
| 74 | // End of config. |