[Top][All Lists]

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

How do I stop circles from wobbling?

From: David Kastrup
Subject: How do I stop circles from wobbling?
Date: Tue, 28 Dec 2010 18:25:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

The following is wobbly, likely because of different vertical extends of
the strings.  But the vertical extent should fit in the circles
necessitated by the horizontal extent.

Can anybody tell me what to do to keep the circles from wobbling?

#(define-markup-list-command (buttons layout props str) (string?)
  (map (lambda (str)
        (interpret-markup layout props (markup #:hcenter-in 10 #:circle 
#:hcenter-in 4 str)))
   (string-split str #\-)))

\markup {
  \left-column {
  \line { \hspace #10 \buttons #"D-F-G♯-H-d-f-g♯-h" }
  \line { \hspace #8 \buttons #"C♯-E-G-A♯-c♯-e-g-a♯" }
  \line { \hspace #6 \buttons #"C-D♯-F♯-A-c-d♯-f♯-a" }

David Kastrup

reply via email to

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