Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3865 Change to ottavation text

Accepted
nobody
None
Ugly
2014-02-16
2014-02-16
Anonymous
No

Originally created by: *anonymous

Originally created by: PhilEHol...@googlemail.com

Joram Berger said:

considering the statement by Gould below and my personal findings, I would like to see the following change to the ottavation bracket be added to LilyPond like proposed in this thread:
http://lists.gnu.org/archive/html/lilypond-user/2014-02/msg00321.html

An example of how this could look is below, and an image is attached.

\version "2.18.0"

ottavaaI = { % this is an alternative proposal to all the rest
  \ottava 1
  \set Staff.ottavation = \markup  \concat {
   \bold "8" \fontsize #-2 \translate-scaled #'(0 . 0.85) "va"
  }
}

ottavaa = {
  \ottava 1
  \set Staff.ottavation = \markup  \concat {
   \bold "8" \fontsize #-2 \translate-scaled #'(0 . 0.85) "va"
  }
}

ottavab = {
  \ottava -1
  \set Staff.ottavation = \markup \bold \concat{
    "8" \fontsize #-2 "vb" }
}

ottavac = {
  \ottava 2
  \set Staff.ottavation = \markup \bold \concat{
    "15" \fontsize #-2 \translate-scaled #'(0 . 0.85) "ma"
  }
}

ottavad = {
  \ottava -2
  \set Staff.ottavation = \markup \bold \concat{
    "15" \fontsize #-2 "mb" }
}

ottavae = {
  \ottava 3
  \set Staff.ottavation = \markup \bold \concat {
    "22" \tiny \translate-scaled #'(0 . 0.85) "ma"
  }
}

ottavaf = {
  \ottava -3
  \set Staff.ottavation = \markup \bold \concat {
    "22"\fontsize #-2 "mb"
  }
}

<<
  \new Staff \relative c''' {
    \ottava #1 a a
    \ottava #-1 a,, a
    \ottava #2 a''' a
    \ottava #-2 a,,,, a
    \ottava #3 a''''' a
    \ottava #-3 a,,,,,, a
    \ottava #0
  }
  \new Staff \relative c''' {
    \ottavaa a a
    \ottavab a,, a
    \ottavac a''' a
    \ottavad a,,,, a
    \ottavae a''''' a
    \ottavaf a,,,,,, a
    \ottavaaI a'''' a
  }
>>

1 Attachments

Discussion