Browse Source

Transformation de chords en module

pull/3/head
Louis 11 years ago
parent
commit
27fa92062c
  1. 3
      latex/chords.sty
  2. 166
      latex/chords.tex

3
latex/chords.sty

@ -0,0 +1,3 @@
\input chords.tex
\ProvidesPackage{chords}
\endinput

166
latex/chords.tex

@ -3,7 +3,8 @@
\newcommand*{\chordrule}{\mbox{\hspace{1cm}\rule[0.5cm]{15cm}{0.02cm}}\vspace{-.4cm}}
\newcommand*{\chordname}[2]{\makebox[3cm]{\raisebox{.5cm}{\large \textbf{\IfStrEq{\getlang}{english}{#1}{#2}}}}}
\begin{songs}{}
\newcommand{\chords}{
\begin{songs}{}
%hide song number
\definecolor{SongNumberBgColor}{HTML}{FFFFFF}
\renewcommand{\snumbgcolor}{SongNumberBgColor}
@ -26,15 +27,15 @@
\chordrule
\chordname{C\Sharp = D\Flat}{Do\Sharp = Ré\Flat}
\gtab{C#}{4:X02220}
\gtab{C#7}{4:X02020}
\gtab{C#m}{4:X02210}
\gtab{C#m7}{5:XX2213}
\gtab{C\#}{4:X02220}
\gtab{C\#7}{4:X02020}
\gtab{C\#m}{4:X02210}
\gtab{C\#m7}{5:XX2213}
\hspace{1cm}
\gtab*{C#7M}{1:X32000}
\gtab*{C#4}{2:X21000}
\gtab*{C#7}{2:X2120X}
\gtab*{C#6}{1:X02010}
\gtab*{C\#7M}{1:X32000}
\gtab*{C\#4}{2:X21000}
\gtab*{C\#7}{2:X2120X}
\gtab*{C\#6}{1:X02010}
\chordrule
\chordname{D}{}
@ -50,15 +51,15 @@
\chordrule
\chordname{D\Sharp = E\Flat}{\Sharp = Mi\Flat}
\gtab{D#}{6:X02220}
\gtab{D#7}{6:X02020}
\gtab{D#m}{6:X02210}
\gtab{D#m7}{~:XX1322}
\gtab{D\#}{6:X02220}
\gtab{D\#7}{6:X02020}
\gtab{D\#m}{6:X02210}
\gtab{D\#m7}{~:XX1322}
\hspace{1cm}
\gtab*{D#7M}{3:022010}
\gtab*{D#4}{4:X21000}
\gtab*{D#7}{4:X2120X}
\gtab*{D#6}{1:X00202}
\gtab*{D\#7M}{3:022010}
\gtab*{D\#4}{4:X21000}
\gtab*{D\#7}{4:X2120X}
\gtab*{D\#6}{1:X00202}
\chordrule
\chordname{E}{Mi}
@ -86,15 +87,15 @@
\chordrule
\chordname{F\Sharp = G\Flat}{Fa\Sharp = Sol\Flat}
\gtab{F#}{2:022100}
\gtab{F#7}{2:020100}
\gtab{F#m}{2:022000}
\gtab{F#m7}{2:020000}
\gtab{F\#}{2:022100}
\gtab{F\#7}{2:020100}
\gtab{F\#m}{2:022000}
\gtab{F\#m7}{2:020000}
\hspace{1cm}
\gtab*{F#7M}{~:XX4321}
\gtab*{F#4}{2:022200}
\gtab*{F#7}{7:X2120X}
\gtab*{F#6}{~:XX1322}
\gtab*{F\#7M}{~:XX4321}
\gtab*{F\#4}{2:022200}
\gtab*{F\#7}{7:X2120X}
\gtab*{F\#6}{~:XX1322}
\chordrule
\chordname{G}{Sol}
@ -110,15 +111,15 @@
\chordrule
\chordname{G\Sharp = A\Flat}{Sol\Sharp = La\Flat}
\gtab{G#}{4:022100}
\gtab{G#7}{4:020100}
\gtab{G#m}{4:022000}
\gtab{G#m7}{4:020000}
\gtab{G\#}{4:022100}
\gtab{G\#7}{4:020100}
\gtab{G\#m}{4:022000}
\gtab{G\#m7}{4:020000}
\hspace{1cm}
\gtab*{G#7M}{3:XX4321}
\gtab*{G#4}{4:022200}
\gtab*{G#7}{~:XX1122}
\gtab*{G#6}{~:XX1111}
\gtab*{G\#7M}{3:XX4321}
\gtab*{G\#4}{4:022200}
\gtab*{G\#7}{~:XX1122}
\gtab*{G\#6}{~:XX1111}
\chordrule
\chordname{A}{La}
@ -134,15 +135,15 @@
\chordrule
\chordname{A\Sharp = B\Flat}{La\Sharp = Si\Flat}
\gtab{A#}{1:X02220}
\gtab{A#7}{1:X02020}
\gtab{A#m}{1:X02210}
\gtab{A#m7}{1:X02010}
\gtab{A\#}{1:X02220}
\gtab{A\#7}{1:X02020}
\gtab{A\#m}{1:X02210}
\gtab{A\#m7}{1:X02010}
\hspace{1cm}
\gtab*{A#7M}{1:X02120}
\gtab*{A#4}{1:X02230}
\gtab*{A#7}{~:XX3344}
\gtab*{A#6}{~:XX3333}
\gtab*{A\#7M}{1:X02120}
\gtab*{A\#4}{1:X02230}
\gtab*{A\#7}{~:XX3344}
\gtab*{A\#6}{~:XX3333}
\chordrule
\chordname{B}{Si}
@ -180,15 +181,15 @@
\chordrule
\chordname{C\Sharp = D\Flat}{Do\Sharp = Ré\Flat}
\utab{C#}{1:0003}
\utab{C#7}{1:0001}
\utab{C#m}{~:1104}
\utab{C#m7}{4:0000}
\utab{C\#}{1:0003}
\utab{C\#7}{1:0001}
\utab{C\#m}{~:1104}
\utab{C\#m7}{4:0000}
\hspace{1cm}
\utab*{C#7M}{1:0002}
\utab*{C#6}{1:0000}
\utab*{C#aug}{~:2110}
\utab*{C#dim}{~:0104}
\utab*{C\#7M}{1:0002}
\utab*{C\#6}{1:0000}
\utab*{C\#aug}{~:2110}
\utab*{C\#dim}{~:0104}
\chordrule
\chordname{D}{}
@ -204,15 +205,15 @@
\chordrule
\chordname{D\Sharp = E\Flat}{\Sharp = Mi\Flat}
\utab{D#}{1:2220}
\utab{D#7}{3:0001}
\utab{D#m}{1:2210}
\utab{D#m7}{2:1102}
\utab{D\#}{1:2220}
\utab{D\#7}{3:0001}
\utab{D\#m}{1:2210}
\utab{D\#m7}{2:1102}
\hspace{1cm}
\utab*{D#7M}{3:0002}
\utab*{D#6}{3:0000}
\utab*{D#aug}{~:0332}
\utab*{D#dim}{~:2320}
\utab*{D\#7M}{3:0002}
\utab*{D\#6}{3:0000}
\utab*{D\#aug}{~:0332}
\utab*{D\#dim}{~:2320}
\chordrule
\chordname{E}{Mi}
@ -240,15 +241,15 @@
\chordrule
\chordname{F\Sharp = G\Flat}{Fa\Sharp = Sol\Flat}
\utab{F#}{1:2010}
\utab{F#7}{1:2310}
\utab{F#m}{~:2120}
\utab{F#m7}{2:0202}
\utab{F\#}{1:2010}
\utab{F\#7}{1:2310}
\utab{F\#m}{~:2120}
\utab{F\#m7}{2:0202}
\hspace{1cm}
\utab*{F#7M}{2:1302}
\utab*{F#6}{~:0202}
\utab*{F#aug}{1:2110}
\utab*{F#dim}{~:2020}
\utab*{F\#7M}{2:1302}
\utab*{F\#6}{~:0202}
\utab*{F\#aug}{1:2110}
\utab*{F\#dim}{~:2020}
\chordrule
\chordname{G}{Sol}
@ -264,15 +265,15 @@
\chordrule
\chordname{G\Sharp = A\Flat}{Sol\Sharp = La\Flat}
\utab{G#}{3:2010}
\utab{G#7}{1:0212}
\utab{G#m}{1:0231}
\utab{G#m7}{1:0211}
\utab{G\#}{3:2010}
\utab{G\#7}{1:0212}
\utab{G\#m}{1:0231}
\utab{G\#m7}{1:0211}
\hspace{1cm}
\utab*{G#7M}{1:0222}
\utab*{G#6}{1:0202}
\utab*{G#aug}{~:1003}
\utab*{G#dim}{1:0131}
\utab*{G\#7M}{1:0222}
\utab*{G\#6}{1:0202}
\utab*{G\#aug}{~:1003}
\utab*{G\#dim}{1:0131}
\chordrule
\chordname{A}{La}
@ -288,15 +289,15 @@
\chordrule
\chordname{A\Sharp = B\Flat}{La\Sharp = Si\Flat}
\utab{A#}{1:2100}
\utab{A#7}{1:0100}
\utab{A#m}{1:2000}
\utab{A#m7}{1:0000}
\utab{A\#}{1:2100}
\utab{A\#7}{1:0100}
\utab{A\#m}{1:2000}
\utab{A\#m7}{1:0000}
\hspace{1cm}
\utab*{A#7M}{1:1100}
\utab*{A#6}{~:0211}
\utab*{A#aug}{1:2110}
\utab*{A#dim}{~:3101}
\utab*{A\#7M}{1:1100}
\utab*{A\#6}{~:0211}
\utab*{A\#aug}{1:2110}
\utab*{A\#dim}{~:3101}
\chordrule
\chordname{B}{Si}
@ -318,4 +319,5 @@
\endsong
\fi
\end{songs}
\end{songs}
}

Loading…
Cancel
Save