lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tableau en markup


From: Daniel Cartron
Subject: tableau en markup
Date: Fri, 29 Mar 2013 07:51:20 +0100
User-agent: KMail/4.8.5 (Linux/3.2.0-38-generic; KDE/4.8.5; i686; ; )

Bonjour,

J'essaye de dessiner un tableau à double entrée dans un markup, et je galère 
pas mal, notamment avec les espacements et surtout le fait que si je centre 
les colonnes elles es mettent à se chevaucher, donc si qqun maitrise ça je 
veux bien un coup de main.

Mon code, où tout se télescope joyeusement : 

\markup { \fill-line { \large \bold "Structure du morceau"}}
\markup {
        \draw-line #'(120 . 0)
}
\markup {
                \column {
                        \draw-line #'(0 . -25)
                }
                \column {
                        \hspace #0.5
                        \bold { " "}
                        \draw-line #'(15 . 0)
                        \bold { "Diato"}
                        \bold { "Clavier"}
                        \bold { "Guitare"}
                        \bold { "Gt. Ryt."}
                        \bold { "Basse"}
                }
                \hspace #0.1
                \column {
                        \draw-line #'(0 . -25)
                }
                \hspace #10
                \center-column {
                        \hspace #0.5
                        \bold { "Intro"}
                        \draw-line #'(20 . 0)
                        "A A A" 
                        "Intro"
                        " "
                        "Intro"
                        "Intro"
                }
                \hspace #0.1
                \column {
                        \draw-line #'(0 . -25)
                }
                \center-column {
                        \hspace #0.5
                        \bold { "Partie 1"}
                        \draw-line #'(25 . 0)
                        "A A B B A A B B"
                        "  "
                        "  "
                        "A A B B A A B B"
                        "A A B B A A B B"
                }
                \hspace #0.1
                \column {
                        \draw-line #'(0 . -25)
                }
                \center-column {
                        \hspace #0.5
                        \bold { "Break"}
                        \draw-line #'(15 . 0)
                        "Solo de batterie"
                        "12 mesures"
                }
                \hspace #15
                \column {
                        \draw-line #'(0 . -25)
                }
                \center-column {
                        \hspace #0.5
                        \bold { "Partie 2"}
                        \draw-line #'(15 . 0)
                        "A A B B"
                        " "
                        " "
                        "A A B B"
                        "A A B B"
                }
                \hspace #15
                \column {
                        \draw-line #'(0 . -25)
                }
                \center-column {
                        \hspace #0.5
                        \bold { "Fin"}
                        \draw-line #'(15 . 0)
                        "B"
                        " "
                        " "
                        "B"
                        "B"
                }
                \hspace #3
}
\markup {\draw-line #'(120 . 0)}

-- 
Cordialement, Daniel Cartron
« Un jeune enfant, sur son pot, s'efforçait.
  Moralité : Le petit poussait »
Alphonse Allais




reply via email to

[Prev in Thread] Current Thread [Next in Thread]