guitar inlays / labels

2012-11-23 Thread Curt
Hi, I'm thinking of generating guitar fret diagrams to drill note names for beginning guitar, and I've gotten this far:Can anyone think of a way to put the fretboard inlay markers in there? Either on the diagram, or as labels above or below the fret diagram in the right fret location? dots on 3rd, 5th, 7th, 9th, double on the 12th.(lilypond code below)\version "2.16.00"\include "english.ly"\paper{ indent=0\mm line-width=120\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f scoreTitleMarkup = ##f}\score {	 	\new Staff \with {  	  	\clef treble  	\remove Time_signature_engraver  }  \transpose c c \relative fs' {   	  \override TextScript #'size = #'3.0 	  	 			a^\markup {			   \override #'(fret-diagram-details . ( (finger-code . in-dot) (dot-label-font-mag . 0.6)  (orientation . landscape) (xo-font-magnification . 0.4) (fret-count . 12)  (xo-padding . 0.3))) {			\fret-diagram-verbose			 #'( (place-fret 2 10 "A" inverted) )	  		  		}}  } 		  \layout {		\context {			\Staff   		\remove Bar_engraver  	}  }	\midi {		\context {			\Score \with			\settingsFrom { \tempo 4=180 }	  }	}}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: guitar inlays / labels

2012-11-23 Thread Hugh Myers
It has been practically forever since I did any serious LP work, but just
looking at you code, the ability to draw the 'dot' with the 'A' implies the
possibility of what you want IF you can a. control the vertical location of
the dot and cause it to be filled in as black. Given that, then your only
remaining concern would be the ability of overlaying an inlay with needed
dot notation as you have shown. Trivial in postscript less so here. It is
as my fellow programmers would say 'just another SMOP' Small Matter Of
Programming :) Luck...

--hsm


On Fri, Nov 23, 2012 at 3:04 AM, Curt accou...@museworld.com wrote:

 Hi, I'm thinking of generating guitar fret diagrams to drill note names
 for beginning guitar, and I've gotten this far:

 Can anyone think of a way to put the fretboard inlay markers in there?
  Either on the diagram, or as labels above or below the fret diagram in the
 right fret location?  dots on 3rd, 5th, 7th, 9th, double on the 12th.

 (lilypond code below)

 \version 2.16.00
 \include english.ly

 \paper{
   indent=0\mm
   line-width=120\mm
   oddFooterMarkup=##f
   oddHeaderMarkup=##f
   bookTitleMarkup = ##f
   scoreTitleMarkup = ##f
 }

 \score {
 
   \new Staff \with {
 \clef treble
 \remove Time_signature_engraver
 }
 \transpose c c \relative fs' {
 \override TextScript #'size = #'3.0




  a^\markup {
   \override #'(fret-diagram-details . (
(finger-code . in-dot)
(dot-label-font-mag . 0.6)
(orientation . landscape)
(xo-font-magnification . 0.4)
(fret-count . 12)
(xo-padding . 0.3))) {
  \fret-diagram-verbose
   #'( (place-fret 2 10 A inverted) )


  }
  }
 }
  

 \layout {
 \context {
  \Staff
   \remove Bar_engraver
 }
 }
 \midi {
  \context {
  \Score \with
 \settingsFrom { \tempo 4=180 }
  }
 }
 }

 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


PastedGraphic-2.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: guitar inlays / labels

2012-11-23 Thread Gerard McConnell
If this sort of work is done just for your own students then the *extremely
easy and fast* way to do it is by taking Lilypond's SVG output and editing
it in Inkscape.  That will allow you to do ANY sort of graphics work
(colors, pictures, etc.)  on your score with pinpoint accuracy.


On Fri, Nov 23, 2012 at 10:04 AM, Curt accou...@museworld.com wrote:

 Hi, I'm thinking of generating guitar fret diagrams to drill note names
 for beginning guitar, and I've gotten this far:

 Can anyone think of a way to put the fretboard inlay markers in there?
  Either on the diagram, or as labels above or below the fret diagram in the
 right fret location?  dots on 3rd, 5th, 7th, 9th, double on the 12th.

 (lilypond code below)

 \version 2.16.00
 \include english.ly

 \paper{
   indent=0\mm
   line-width=120\mm
   oddFooterMarkup=##f
   oddHeaderMarkup=##f
   bookTitleMarkup = ##f
   scoreTitleMarkup = ##f
 }

 \score {
 
   \new Staff \with {
 \clef treble
 \remove Time_signature_engraver
 }
 \transpose c c \relative fs' {
 \override TextScript #'size = #'3.0




 a^\markup {
   \override #'(fret-diagram-details . (
(finger-code . in-dot)
(dot-label-font-mag . 0.6)
(orientation . landscape)
(xo-font-magnification . 0.4)
(fret-count . 12)
(xo-padding . 0.3))) {
 \fret-diagram-verbose
   #'( (place-fret 2 10 A inverted) )


  }
 }
 }
 

 \layout {
 \context {
 \Staff
   \remove Bar_engraver
 }
 }
 \midi {
 \context {
 \Score \with
 \settingsFrom { \tempo 4=180 }
 }
 }
 }

 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


PastedGraphic-2.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: guitar inlays / labels

2012-11-23 Thread Eluze
Curt Siffert wrote
 Hi, I'm thinking of generating guitar fret diagrams to drill note names
 for beginning guitar, and I've gotten this far:
 
 
 Can anyone think of a way to put the fretboard inlay markers in there? 
 Either on the diagram, or as labels above or below the fret diagram in the
 right fret location?  dots on 3rd, 5th, 7th, 9th, double on the 12th.

here is a way (to be refined) - but I have no idea if this withholds
attempts to scale it!

guitarInlay.ly
http://lilypond.1069038.n5.nabble.com/file/n136738/guitarInlay.ly  
guitarInlay.png
http://lilypond.1069038.n5.nabble.com/file/n136738/guitarInlay.png  

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/guitar-inlays-labels-tp136730p136738.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Question about page number position and ornamentation

2012-11-23 Thread Rustik
It works, bot now i have a new problem. Copyright line is disappear. I
entered «\on-the-fly #not-first-page » at footerMarkup block. Without
results.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Question-about-page-number-position-and-ornamentation-tp136399p136740.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Question about page number position and ornamentation

2012-11-23 Thread Nick Payne

On 24/11/12 06:10, Rustik wrote:

It works, bot now i have a new problem. Copyright line is disappear. I
entered «\on-the-fly #not-first-page » at footerMarkup block. Without
results.


I don't think there is a corresponding not-last-page unless there have 
been recent changes. This is what I use in the \paper block to have no 
page number on the first page, the page number centred at the bottom of 
the page for pages 2 to n-1, and the tagline on the final page:


\paper {
%% cf. ly/titling-init.ly
#(define (not-last-page layout props arg)
(if (and (chain-assoc-get 'page:is-bookpart-last-page props #f)
(chain-assoc-get 'page:is-last-bookpart props #f))
empty-stencil
(interpret-markup layout props arg)))
oddHeaderMarkup = \markup \fill-line {   }
evenHeaderMarkup = \markup \fill-line {   }
oddFooterMarkup = \markup \fill-line { \column { \fontsize #-1
\on-the-fly #not-first-page
\on-the-fly #not-last-page
\fromproperty #'page:page-number-string
\on-the-fly #last-page \fromproperty #'header:tagline
} }
evenFooterMarkup = \oddFooterMarkup
}


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Centering / Indenting a paragraph?

2012-11-23 Thread Bric
Hi, I'm new to this list and to lilypond

I just learned that I can do this:


\markup {
  \fill-line {
\hspace #1
\column {
  \line { This is my first verse  }
  \line { For Column 1 as a  supplemental }
  \line { Text blurb below the score }
  \line { This is when I don't }
  \line { Want to align multiple  }
  \line { Verses directly beneath the score staves }
}
\hspace #2

\column {
  \line { This is my second verse  }
  \line { It is for Column 2 }
  \line { of the second  }
  \line { Blurb. }
  \line { Pretty cool and all is well  }
  \line { Wit these two columns }
}
\hspace #3

}

The above is rendered fine, with two columns well balanced.

the problem is:  How do I add a third paragraph, centered and indented?

If I add the following after the above...

\markup {
  \fill-line {
\column  {
  \line { \italic { I want this  } }
  \line { \italic { Centered underneath } }
  \line { \italic { The above two verses } }
  \line { \italic { Apparently, that isn't easy! } }

}
\hspace #4
  }
}

it is left-justified, left-aligned.  How do I shift the paragraph?

Also, while we're on this topic:

(2) How do I add an empty line (forced newline, paragraphbreak, or some such),
in the above sets of lines?

(3) How can I add other things like solid horizontal line (rules), etc.., etc. ?

Thanks

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Centering / Indenting a paragraph?

2012-11-23 Thread SoundsFromSound
Bric wrote
 Hi, I'm new to this list and to lilypond
 
 How do I shift the paragraph?
 
 Also, while we're on this topic:
 
 (2) How do I add an empty line (forced newline, paragraphbreak, or some
 such),
 in the above sets of lines?
 
 (3) How can I add other things like solid horizontal line (rules), etc..,
 etc. ?
 
 Thanks

Hi Bric,

Welcome to the list! 

Does this thread help at all with your question?

http://lilypond.1069038.n5.nabble.com/Adding-3-column-section-to-score-td136474.html

Ben



-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Centering-Indenting-a-paragraph-tp136743p136744.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Centering / Indenting a paragraph?

2012-11-23 Thread Bric
On November 23, 2012 at 3:29 PM SoundsFromSound soundsfromso...@gmail.com
wrote:
 Bric wrote
  Hi, I'm new to this list and to lilypond
 
  How do I shift the paragraph?
 
  Also, while we're on this topic:
 
  (2) How do I add an empty line (forced newline, paragraphbreak, or some
  such),
  in the above sets of lines?
 
  (3) How can I add other things like solid horizontal line (rules), etc..,
  etc. ?
 
  Thanks

 Hi Bric,

 Welcome to the list!

 Does this thread help at all with your question?

 http://lilypond.1069038.n5.nabble.com/Adding-3-column-section-to-score-td136474.html

Changinge \column to \center-column  doesn't center the column.  It only
shoves the verse further leftward, beyond gutter (left) margin.

(the rounded box is rendered fine, though)



 Ben



 -
 composer | sound designer
 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/Centering-Indenting-a-paragraph-tp136743p136744.html
 Sent from the User mailing list archive at Nabble.com.

 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom articulations/pitched single-note trills

2012-11-23 Thread shutterfreak
Hi all,

I'm now confronted with an unfamiliar single note pitched trill (a f sharp
trill with a 3za mark - i.e., one third above f sharp as the trilled
note). In looking for a solution, I came across the following older post:

http://lilypond.1069038.n5.nabble.com/Custom-articulations-pitched-single-note-trills-td40530.html

I tried running convert-ly to update the code from post #4 in that thread
from version 2.11.57 to 2.16.1 but sadly the code doesn't display any
articulation or pitched articulation.

Here's the output from convert-ly:

% BEGIN
\version 2.16.1

pitchedArtic =
#(define-music-function (parser location str main-note paren next-note)
   (string? ly:music? ly:music? ly:music?)
   (let* ((get-notes (lambda (ev-chord)
   (filter
(lambda (m) (eq? 'NoteEvent (ly:music-property m
'name)))
(ly:music-property ev-chord 'elements
  (paren-notes (get-notes paren)))

 (if (pair? paren-notes)
 (begin
  (let*
   ((paren-pitch (ly:music-property (car paren-notes) 'pitch))
(forced (ly:music-property (car paren-notes ) 'force-accidental
#f)))

   (if (ly:pitch? paren-pitch)
   (begin
(ly:music-set-property! main-note 'elements
  (cons (make-music
 'TrillSpanEvent
 'force-accidental forced
 'pitch paren-pitch
 'span-direction START)
(ly:music-property main-note 'elements)))

(ly:music-set-property! next-note 'elements
  (cons stopTrillSpan
(ly:music-property next-note 'elements
   (begin
(ly:warning (_ Second argument should be single note: ))
(display paren-notes)))
   )))
 (make-music 'SequentialMusic
   'origin location
   'elements (list #{
 %\once \override TrillSpanner #'style = #'dashed-line
 %\once \override TrillSpanner #'style = #'none
 \once \override TrillSpanner #'(bound-details left text) =
 #(make-musicglyph-markup (format scripts.~a str))
   #}
   main-note next-note

\relative c' {
  \pitchedArtic mordent cis b
  \pitchedArtic prall c des
  c2
  \pitchedArtic trill fis ais
  c2
}
% END

What is missing or what went awry in converting between LilyPond versions
with convert-ly?

Best regards,

Olivier



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-articulations-pitched-single-note-trills-tp40530p136747.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Centering / Indenting a paragraph?

2012-11-23 Thread Eluze
Bric wrote
 Also, while we're on this topic:
 
 (2) How do I add an empty line (forced newline, paragraphbreak, or some
 such),
 in the above sets of lines?
 
 (3) How can I add other things like solid horizontal line (rules), etc..,
 etc. ?

the text markup commands are well explained in
http://lilypond.org/doc/v2.17/Documentation/notation-big-page#text-markup-commands
- please read it and come back with open questions!

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Centering-Indenting-a-paragraph-tp136743p136748.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Tuplet bracket collides with fingering when slurred

2012-11-23 Thread Olivier Biot
Dear LilyPond users,

How can I avoid the tuplet bracket colliding with fingerings in case the
tuplet has a slur?

Example of tuplet without and with slur, illustrating the problem:


% BEGIN
\version 2.16.1

\score {

  \new Staff {
\relative c, {
  \key g \major
  \time 2/4
  \clef bass
  \times 2/3 { c16--\f e'-3 c'-4  c e, c,  }
  \times 2/3 { c16--\f ( e'-3 c'-4 )  c ( e, c, ) }
}
  }

  \layout {
\context {
  \Staff
  \override Fingering #'add-stem-support = ##t
  \override Fingering #'avoid-slur = #'outside
  \override TupletBracket #'bracket-visibility = ##t
  \override TupletBracket #'avoid-slur = ##t
  \override TupletNumber #'avoid-slur = ##t
}
  }
}
% END

Is this related to the following issue?
http://code.google.com/p/lilypond/issues/detail?id=2397

Best regards,

Olivier
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Question about page number position and ornamentation

2012-11-23 Thread Rustik
If i try
 
\paper {
 #(define (not-first-page layout props arg)
 (if (and (chain-assoc-get 'page:is-bookpart-first-page props #f)
 (chain-assoc-get 'page:is-first-bookpart props #f))
 empty-stencil
 (interpret-markup layout props arg))) 
  oddHeaderMarkup = \markup \fill-line { \on-the-fly #not-first-page
\column {
\line { \fontsize #-1
\override #'(font-name . Times New Roman)
  My
\fontsize #-1
\override #'(font-name . Arial)
header}}}
  evenHeaderMarkup = \oddHeaderMarkup
  oddFooterMarkup = \markup \fill-line
  { \on-the-fly #not-first-page
\concat {
  \override #'(font-name . Arial) \fontsize #2
  - 
  \override #'(font-name . Times New Roman) \fontsize #2 
\fromproperty #'page:page-number-string 
\override #'(font-name . Arial) \fontsize #2 - 
 } 
   \on-the-fly #first-page \fromproperty #'header:copyright
  }
  evenFooterMarkup = \oddFooterMarkup
}
 
first page number is no disappear. All page numbers are not align to center,
they are located to the left of the center. Copyright line is appear to the
right of the сenter.
 
If i try
 
\paper {
oddHeaderMarkup = \markup \fill-line { \on-the-fly #not-first-page
\column {
\line { \fontsize #-1
\override #'(font-name . Times New Roman)
  My
\fontsize #-1
\override #'(font-name . Arial)
header}}}
  evenHeaderMarkup = \oddHeaderMarkup
  oddFooterMarkup = \markup \fill-line
  { \on-the-fly #not-first-page
\concat {
  \override #'(font-name . Arial) \fontsize #2
  - 
  \override #'(font-name . Times New Roman) \fontsize #2 
\fromproperty #'page:page-number-string 
\override #'(font-name . Arial) \fontsize #2 - 
 } 
   \on-the-fly #first-page \fromproperty #'header:copyright
  }
  evenFooterMarkup = \oddFooterMarkup
}
 
everything is the same except for first page number. First page number is
disappear.
 
What i can make in this situation?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Question-about-page-number-position-and-ornamentation-tp136399p136753.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: guitar inlays / labels

2012-11-23 Thread Curt
Wow, Eluze.  Just, wow!

Works great for my purposes.  The inlay doesn't scale if I increase the size of 
the fret diagram itself, but it all scales just fine if I change the global 
staff size - that works even if I don't attach the fret to a staff.  Thanks so 
much!

It's not for any particular students I have - I'm going to make an Anki 
flashcard deck to help people (including me) learn the guitar fretboard in 
general.  First B's and C's, then E's and F's, and then filling in the rest.

Curt

On Nov 23, 2012, at 5:27 AM, Eluze elu...@gmail.com wrote:

 Curt Siffert wrote
 Hi, I'm thinking of generating guitar fret diagrams to drill note names
 for beginning guitar, and I've gotten this far:
 
 
 Can anyone think of a way to put the fretboard inlay markers in there? 
 Either on the diagram, or as labels above or below the fret diagram in the
 right fret location?  dots on 3rd, 5th, 7th, 9th, double on the 12th.
 
 here is a way (to be refined) - but I have no idea if this withholds
 attempts to scale it!
 
 guitarInlay.ly
 http://lilypond.1069038.n5.nabble.com/file/n136738/guitarInlay.ly  
 guitarInlay.png
 http://lilypond.1069038.n5.nabble.com/file/n136738/guitarInlay.png  
 
 Eluze
 
 
 
 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/guitar-inlays-labels-tp136730p136738.html
 Sent from the User mailing list archive at Nabble.com.
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Centering / Indenting a paragraph?

2012-11-23 Thread Bric
On November 23, 2012 at 4:08 PM Thomas Morley thomasmorle...@googlemail.com
wrote:
 2012/11/23 Bric b...@flight.us:
  Hi, I'm new to this list and to lilypond
 
  I just learned that I can do this:
 
 
  \markup {
\fill-line {
  \hspace #1
  \column {
\line { This is my first verse  }
\line { For Column 1 as a  supplemental }
\line { Text blurb below the score }
\line { This is when I don't }
\line { Want to align multiple  }
\line { Verses directly beneath the score staves }
  }
  \hspace #2
 
  \column {
\line { This is my second verse  }
\line { It is for Column 2 }
\line { of the second  }
\line { Blurb. }
\line { Pretty cool and all is well  }
\line { Wit these two columns }
  }
  \hspace #3
 
  }
 
  The above is rendered fine, with two columns well balanced.
 
  the problem is:  How do I add a third paragraph, centered and indented?
 
  If I add the following after the above...
 
  \markup {
\fill-line {
  \column  {
\line { \italic { I want this  } }
\line { \italic { Centered underneath } }
\line { \italic { The above two verses } }
\line { \italic { Apparently, that isn't easy! } }
 
  }
  \hspace #4
}
  }
 
  it is left-justified, left-aligned.  How do I shift the paragraph?

 Lily does what you told her:
 \fill-line with \column { ... } on the left and \hspace #4 on the right.
 Visible, if you add \box before \hspace #4.
 Deleting \hspace #4 will center it horizontally on the page.


Nope.  Removed all the \hspaces.  The third paragraph (set of \line's) is
still rammed all the way to the left, crossing the gutter.

Actually, changing \column to \center-column shoves the paragraph left,
beyond the absolute margin ( pixel 0)

When it's \column the paragraph is left-aligned, but with a 2-cm or so left
margin

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Centering / Indenting a paragraph?

2012-11-23 Thread Eluze
Bric wrote
 Lily does what you told her:
 \fill-line with \column { ... } on the left and \hspace #4 on the right.
 Visible, if you add \box before \hspace #4.
 Deleting \hspace #4 will center it horizontally on the page.

 
 Nope.  Removed all the \hspaces.  The third paragraph (set of \line's)
 is
 still rammed all the way to the left, crossing the gutter.
 
 Actually, changing \column to \center-column shoves the paragraph
 left,
 beyond the absolute margin ( pixel 0)
 
 When it's \column the paragraph is left-aligned, but with a 2-cm or so
 left
 margin

better send the new code instead of quoting the old one …

for me Harm's solution works perfectly!

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Centering-Indenting-a-paragraph-tp136743p136757.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Centering / Indenting a paragraph?

2012-11-23 Thread Trevor Daniels

Bric, you wrote Friday, November 23, 2012 10:57 PM
 
 Nope.  Removed all the \hspaces.  The third paragraph (set of \line's) is
 still rammed all the way to the left, crossing the gutter.
 
 Actually, changing \column to \center-column shoves the paragraph left,
 beyond the absolute margin ( pixel 0)
 
 When it's \column the paragraph is left-aligned, but with a 2-cm or so left
 margin

If you look at the example at the end of section 2.1.3 in the Notation 
Reference,
and add the following to the end, it will add a centered sixth verse.  You
should be able to work out from this what you need to do.  Here's the
extra verse - make sure you get fill-line (which centres a single argument)
and line (which makes a single argument from two) right!

\markup {
  \fill-line {
\line {
  \bold 6.
  \column {
This is verse six.
It has two lines.
  }
}
  }
}

Trevor

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


vspace with non-integer argument does not work

2012-11-23 Thread Olivier Biot
Hi all,

Is it possible to specify non-integer values for vertical spacing with
vspace? I read once that it was possible, but apparently not (anymore) in
version 2.16.0 or 2.16.1.

The following does compile without errors but the non-integer values are
apparently silently transformed into 1:

% BEGIN
\version 2.16.1
\markup {
  \center-column {
This
is
a
\vspace #1
\bold {test}
\vspace #2
And
\vspace #2/300
this
\vspace #.01
too.
\vspace #3
\line {\italic {I think.}}
  }
}
% END

Best regards,

Olivier
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: guitar inlays / labels

2012-11-23 Thread Eluze
Curt Siffert wrote
 Wow, Eluze.  Just, wow!

glad I could help

 Works great for my purposes.  The inlay doesn't scale if I increase the
 size of the fret diagram itself, but it all scales just fine if I change
 the global staff size - that works even if I don't attach the fret to a
 staff.  Thanks so much!

using \override TextScript.size doesn't impress the inlay part (who knows
why?), but you can /\markup \scale #'(.3 . .3) …/ so that relations are
preserved (at least it worked in my litttle examples)

 It's not for any particular students I have - I'm going to make an Anki
 flashcard deck to help people (including me) learn the guitar fretboard in
 general.  First B's and C's, then E's and F's, and then filling in the
 rest.

btw, reversing the order of combining seems more appropriate to hide the
inlay and bring forth the note
 
if it's useful for more people we could raise an enhancement request to make
it more conform to LilyPond standards.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/guitar-inlays-labels-tp136730p136761.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Centering / Indenting a paragraph?

2012-11-23 Thread Thomas Morley
2012/11/23 Bric b...@flight.us:
 On November 23, 2012 at 4:08 PM Thomas Morley thomasmorle...@googlemail.com
 wrote:
[...]
 Deleting \hspace #4 will center it horizontally on the page.


 Nope.  Removed all the \hspaces.  The third paragraph (set of \line's) is
 still rammed all the way to the left, crossing the gutter.
[...]

Please excuse, if I'm a bit grumpy today.
Being a music-teacher in germany, I can confirm: german so called
learning-an-instrument-pupil are the worsest you can ever imagine.
So I will not further explain anything at the end of this horrible day.

Maybe the code below will give you some hints.
Some links included. (Compile the code and you can simply click on them.)

\version 2.16.0

\markup \rounded-box \fill-line {
\override #'(font-name . Comic Sans MS Bold)
\center-column {
\fontsize #5  It's all in the docs
\smaller Some examples (with links) below
}
}


\markup \fill-line {
\center-column {

\vspace #2
\line \bold \large { The \\paragraph markup-command }
\with-url
#http://lilypond.org/doc/v2.17/Documentation/extending-big-page#index;
\line \bold \large { From \Extending\ }
\with-url

#http://lilypond.org/doc/v2.17/Documentation/extending-big-page#new-markup-list-command-definition;
\line \bold \large { 2.5.4 New markup list command definition }
\null
}
}

#(define-markup-list-command (paragraph layout props args) (markup-list?)
   #:properties ((par-indent 2))
   (interpret-markup-list layout props
 #{\markuplist \justified-lines { \hspace #par-indent #args } #}))

\markuplist {
  \paragraph {
The art of music typography is called \italic {(plate) engraving.}
The term derives from the traditional process of music printing.
Just a few decades ago, sheet music was made by cutting and stamping
the music into a zinc or pewter plate in mirror image.
  }
  \override-lines #'(par-indent . 10) \paragraph {
The plate would be inked, the depressions caused by the cutting
and stamping would hold ink.  An image was formed by pressing paper
to the plate.  The stamping and cutting was completely done by
hand.
  }
  \vspace #2
}

\markup \fill-line { \center-column {
\with-url
#http://lilypond.org/doc/v2.17/Documentation/notation-big-page#index;
\line \bold \large { From \Notation Reference\ }
\with-url
#http://lilypond.org/doc/v2.17/Documentation/notation-big-page#align;
\line \bold \large { A.10.2 Align }
\null
}
}

\markup \fill-line {
  \override #'(line-width . 40)
  \justify-string #Lorem ipsum dolor sit amet, consectetur
  adipisicing elit, sed do eiusmod tempor incididunt ut labore
  et dolore magna aliqua.


  Ut enim ad minim veniam, quis nostrud exercitation ullamco
  laboris nisi ut aliquip ex ea commodo consequat.


  Excepteur sint occaecat cupidatat non proident, sunt in culpa
  qui officia deserunt mollit anim id est laborum
}

\markup \vspace #2

\markup {
  \fill-line {
\hspace #1
\column {
  \line { This is my first verse  }
  \line { For Column 1 as a  supplemental }
  \line { Text blurb below the score }
  \line { This is when I don't }
  \line { Want to align multiple  }
  \line { Verses directly beneath the score staves }
}
\hspace #2

\column {
  \line { This is my second verse  }
  \null
  \line { It is for Column 2 }
  \null
  \line { of the second  }
  \line { Blurb. }
  \line { Pretty cool and all is well  }
  \line { Wit these two columns }
}
\hspace #3
  }
}

\markup {
  \column {
\vspace #1
\draw-hline
  }
}

\markup {
  \fill-line {
\column  {
  \vspace #1
  \line { \italic { I want this  } }
  \line { \italic { Centered underneath } }
  \line { \italic { The above two verses } }
  \line { \italic { Apparently, that isn't easy! } }

}
  }
}

\markup {
  \column {
\vspace #2
\draw-hline
  }
}

\markup \fill-line {
\center-column {
\vspace #2
\with-url
#http://lsr.dsi.unimi.it/LSR/;
\line { \italic Btw, do you know the LSR? }
}
}


-Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vspace with non-integer argument does not work

2012-11-23 Thread Thomas Morley
2012/11/24 Olivier Biot olivier.b...@gmail.com:
 Hi all,

 Is it possible to specify non-integer values for vertical spacing with
 vspace? I read once that it was possible, but apparently not (anymore) in
 version 2.16.0 or 2.16.1.

vspace works with integers: \vspace #1 etc
numbers: \vspace #1.23
(even \vspace #(* 4 (atan 1)) is valid input)
and fractions: \vspace #1/2


 The following does compile without errors but the non-integer values are
 apparently silently transformed into 1

No, don't forget that the \center-column-command uses a baseline-skip
with value 3
Very little divergations (0.01 or 2/300) will hardly be noticeable.

-Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


use of 1/2 staff divisio maior in gregorian chant.

2012-11-23 Thread Keith N. McKenna

Greetings All;

In many some of the Gregorian Chant's I have access to they show the 
divisio Maior as starting slightly above the third line of the staff and 
continuing to just below the second line of the staff instead of a full 
bar line like the Divisio Maxima only less bold. Is it possible to get 
this configuration using lilypond 2.16?


Regards
Keith


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: review of a Mutopia file (why TabStaff gives error here?)

2012-11-23 Thread Keith OHara

Federico Bruni fedelogy at gmail.com writes:


I've updated to 2.16 the following piece of Mutopia:
http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=636
Can anyone review it?


I made one pass through, and made potential-corrections as I went. (attached)  
Hopefully you can use a 'diff' program to see the changes.

You could use \open or -0 to indicate open strings.

Some string numbers were applied to a whole chord (single-note chords 
presumably because fingering to the left only works within chords) so they 
didn't print.  I put string numbers for the bass notes below the staff.

With a few more fingerings to resolve ambiguity, you could leave the string 
numbers un-printed.  I suppose LilyPond still needs them in the input to 
generate tablature.

The more-usual bar numbering for alternatives is available in 2.16
\set Score.alternativeNumberingStyle = #'numbers

You can put the coda on its own line, and ragged-right, with
\bar || \break
%% Coda
%{ ... the music in the coda ... %}
\bar |. \stopStaff s1

You might not have seen that Nick posted a much nicer formatting for barre 
indications.
http://lists.gnu.org/archive/html/lilypond-user/2012-11/msg00570.html
It avoids taking apart LilyPond's internal data structures, which makes it 
better for mutopiaproject.

You can adjust Nick's function to use it as \barre 3 { %{ music %} } and have 
it set minimumFret=3 so you don't need so many string number entries.  Scheme 
can convert to Roman numerals.
barre = #(define-music-function (parser location
strg music) (number? ly:music?)
#{
  \set TabStaff.minimumFret = $strg
  \set TabStaff.restrainOpenStrings = ##t
  \once\override TextSpanner #'(bound-details left text)
= #(format #f B ~@r strg)
   %{ ... Nick's other style settings ...%}
  \startTextSpan
  $music
  \stopTextSpan
  \unset TabStaff.minimumFret
  \unset TabStaff.restrainOpenStrings
#})

guitar.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\repeat volta

2012-11-23 Thread MING TSANG
Hi, lily user,

The following lily code did not produce \bar|: at the beginning.


\version 2.17.7
\relative c' {
\key c \major \time 6/8 
\bar||:  \repeat volta 2 {c4 e4. g8 | e8( d8) d4 r8 c8 | c4 e4. g8 | e2 r8 d8 
| 

} \alternative {{ c2. d2. } {d2. d2.}}  e4 e8 f4 f8 \bar|.
}

The output is attached.
 
Blessing in+,attachment: 2012-11-23_222621.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \repeat volta

2012-11-23 Thread SoundsFromSound
MING TSANG wrote
 Hi, lily user,
 
 The following lily code did not produce \bar|: at the beginning.
 
 
 \version 2.17.7
 \relative c' {
 \key c \major \time 6/8 
 \bar||:  \repeat volta 2 {c4 e4. g8 | e8( d8) d4 r8 c8 | c4 e4. g8 | e2
 r8 d8 | 
 
 } \alternative {{ c2. d2. } {d2. d2.}}  e4 e8 f4 f8 \bar|.
 }
 
 The output is attached.
  
 Blessing in+,
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

I'm confused.  Why would you want a repeat bar at the very beginning of a
piece?  In this case it should only go at the end.  See here:

From LilyPond documentation:
volta
The repeated music is not written out but enclosed between repeat bar lines.
If the repeat is at the beginning of a piece, a repeat bar line is only
printed at the end of the repeat. Alternative endings (volte) are printed
left to right with brackets. This is the standard notation for repeats with
alternatives.





-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/repeat-volta-tp136766p136767.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \repeat volta

2012-11-23 Thread SoundsFromSound
MING TSANG wrote
 Hi, lily user,
 
 The following lily code did not produce \bar|: at the beginning.
 
 
 \version 2.17.7
 \relative c' {
 \key c \major \time 6/8 
 \bar||:  \repeat volta 2 {c4 e4. g8 | e8( d8) d4 r8 c8 | c4 e4. g8 | e2
 r8 d8 | 
 
 } \alternative {{ c2. d2. } {d2. d2.}}  e4 e8 f4 f8 \bar|.
 }
 
 The output is attached.
  
 Blessing in+,
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

If you really must insert a repeat at the beginning, you can use this
snippet from the documentation:
___
Printing a repeat sign at the beginning of a piece

A |: bar line can be printed at the beginning of a piece, by overriding the
relevant property:

\relative c'' {
  \once \override Score.BreakAlignment #'break-align-orders =
#(make-vector 3 '(instrument-name
  left-edge
  ambitus
  span-bar
  breathing-sign
  clef
  key-signature
  time-signature
  staff-bar
  custos
  span-bar))
  \bar |:
  c1
  d1
  d4 e f g
}
___

At least, I think you can still do this - I know you could in previous
versions of LilyPond.

Ben
 



-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/repeat-volta-tp136766p136768.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: review of a Mutopia file (why TabStaff gives error here?)

2012-11-23 Thread Keith E OHara

Federico Bruni fedelogy at gmail.com writes:


I've updated to 2.16 the following piece of Mutopia:
http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=636
Can anyone review it?


I made one pass through, and made potential-corrections as I went. (attached)  
Hopefully you can use a 'diff' program to see the changes.

Some string numbers were applied to a whole chord (single-note chords 
presumably because fingering to the left only works within chords) so they 
didn't print.  I put string numbers for the bass notes below the staff.

With a few more fingerings to resolve ambiguity, you could leave the string 
numbers un-printed.  I suppose LilyPond still needs them in the input to 
generate tablature.

The more-usual bar numbering for alternatives is available in 2.16
  \set Score.alternativeNumberingStyle = #'numbers

You can put the coda on its own line, and ragged-right, with
  \bar || \break
  %% Coda
  %{ ... the music in the coda ... %}
  \bar |. \stopStaff s1

You might not have seen that Nick posted a much nicer formatting for barre 
indications.
http://lists.gnu.org/archive/html/lilypond-user/2012-11/msg00570.html
It avoids taking apart LilyPond's internal data structures, which makes it 
better for mutopiaproject.

You can adjust Nick's function to use it as \barre 3 { %{ music %} } and have 
it set minimumFret=3 so you don't need so many string number entries.  Scheme 
can convert to Roman numerals.
barre = #(define-music-function (parser location
  strg music) (number? ly:music?)
  #{
\set TabStaff.minimumFret = $strg
\set TabStaff.restrainOpenStrings = ##t
\once\override TextSpanner #'(bound-details left text)
  = #(format #f B ~@r strg)
 %{ ... Nick's other style settings ...%}
\startTextSpan
$music
\stopTextSpan
\unset TabStaff.minimumFret
\unset TabStaff.restrainOpenStrings
  #})

guitar.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: review of a Mutopia file (why TabStaff gives error here?)

2012-11-23 Thread Keith E OHara

Federico Bruni fedelogy at gmail.com writes:


I've updated to 2.16 the following piece of Mutopia:
http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=636
Can anyone review it?


I made one pass through, and made potential-corrections as I went. (attached)  
Hopefully you can use a 'diff' program to see the changes.

You could use \open or -0 to indicate open strings.

Some string numbers were applied to a whole chord (single-note chords 
presumably because fingering to the left only works within chords) so they 
didn't print.  I put string numbers for the bass notes below the staff.

With a few more fingerings to resolve ambiguity, you could leave the string 
numbers un-printed.  I suppose LilyPond still needs them in the input to 
generate tablature.

The more-usual bar numbering for alternatives is available in 2.16
   \set Score.alternativeNumberingStyle = #'numbers

You can put the coda on its own line, and ragged-right, with
   \bar || \break
   %% Coda
   %{ ... the music in the coda ... %}
   \bar |. \stopStaff s1

You might not have seen that Nick posted a much nicer formatting for barre 
indications.
http://lists.gnu.org/archive/html/lilypond-user/2012-11/msg00570.html
It avoids taking apart LilyPond's internal data structures, which makes it 
better for mutopiaproject.

You can adjust Nick's function to use it as \barre 3 { %{ music %} } and have 
it set minimumFret=3 so you don't need so many string number entries.  Scheme 
can convert to Roman numerals.
barre = #(define-music-function (parser location
   strg music) (number? ly:music?)
   #{
 \set TabStaff.minimumFret = $strg
 \set TabStaff.restrainOpenStrings = ##t
 \once\override TextSpanner #'(bound-details left text)
   = #(format #f B ~@r strg)
  %{ ... Nick's other style settings ...%}
 \startTextSpan
 $music
 \stopTextSpan
 \unset TabStaff.minimumFret
 \unset TabStaff.restrainOpenStrings
   #})

guitar.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: review of a Mutopia file (why TabStaff gives error here?)

2012-11-23 Thread Federico Bruni

Il 24/11/2012 03:34, Keith OHara ha scritto:

Federico Bruni fedelogy at gmail.com writes:


I've updated to 2.16 the following piece of Mutopia:
http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=636
Can anyone review it?


I made one pass through, and made potential-corrections as I went.
(attached) Hopefully you can use a 'diff' program to see the changes.



Thanks Keith!
I see that you've fixed a lot of fingerings, now it makes sense. You 
just missed a string number in the second voice of bar 15.


I've also added the right harmonic (fifth fret of third string) in the 
last bar:

\harmonicByFret #5 g,4.\3\fermata^Octav.

The barré formatting is awesome.
\version 2.16.0

#(define RH rightHandFinger)

% Function contributed by Thomas Morley:
% http://lsr.dsi.unimi.it/LSR/Item?id=857
barre =
#(define-music-function (parser location strg music)(number? ly:music?)
  #{
\set TabStaff.minimumFret = $strg
\set TabStaff.restrainOpenStrings = ##t
 \once\override TextSpanner #'(bound-details left text) = #(format #f B ~@r strg)
 \once\override TextSpanner #'font-shape = #'upright
 \once\override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER
 \once\override TextSpanner #'style = #'line
 \once\override TextSpanner #'bound-details #'right #'text = \markup \draw-line #'(0 . -1)
 \once\override TextSpanner #'to-barline = ##t
 \once\override TextSpanner #'(bound-details right padding) = #1.5
\startTextSpan
$music
\stopTextSpan
\unset TabStaff.minimumFret
\unset TabStaff.restrainOpenStrings
  #})

\header 	{
  title = Sicilienne (Op 78)
  composer = Gabriel Fauré
  copyright  = Domaine Public - Transcription guitare Ludovic Alexandre Morin - revue et doigtée Olivier Flatrès - 20/11/05
  mutopiatitle = Sicilienne
  mutopiacomposer = FaureG
  mutopiaopus = O 78
  mutopiainstrument = Guitar
  date = 19th Century
  source = Transcription
  style = Romantic
  typesetter = Olivier Flatrs
  maintainer = Federico Bruni
  lastupdated = \markup {
\simple #(strftime %x (localtime (current-time)))
  }
  footer = Mutopia-2005/11/25-636
  tagline = \markup {
\override #'(box-padding . 1.0) \override #'(baseline-skip . 2.7)
\box \center-column { \small
  \line { Sheet music from \with-url #http://www.MutopiaProject.org; \line { \teeny www. MutopiaProject \teeny .org \hspace #0.5 } • \hspace #0.5 \italic Free to download, with the \italic freedom to distribute, modify and perform. }
  \line { \small \line { Typeset using \with-url #http://www.LilyPond.org; \line { \teeny www. LilyPond \teeny .org } by \typesetter \hspace #-1.0 • Updated by \maintainer on \lastupdated } }
  \line { \teeny \line { This sheet music has been placed in the public domain by the typesetter, for details see: \hspace #-0.5 \with-url #http://creativecommons.org/licenses/publicdomain; http://creativecommons.org/licenses/publicdomain } } }
  }
}


global = {
  \set Score.alternativeNumberingStyle = #'numbers
  \time 6/8
  \key bes \major
}

first =  \relative c {
  \global
  
  \partial 8 d\5-3-\RH #2 8_
  \repeat volta 2 {
%\override StringNumber #'padding = #1.5
g-\RH #3 16- d\5-3-\RH #2  g\4-4-\RH #4  d\5 \barre3 { bes'\3-1-\RH #3 - g\4-\RH #2  d'-\RH #3 - f,-\RH #1  bes-\RH #2  d-\RH #3  g-\RH #4 8- } |
bes-1-\RH #3 16- d,\3-3-\RH #2  g\2-4-\RH #4  a- g8\2- \barre3 { a16-4 c,\3 d c\3 d8- } |
\barre1 { d-\RH #3 8.- c-1-\RH #3 16- e8- d8.- c16- e8- } |
d-2-\RH #3 16- fis,-3-\RH #1  a-1-\RH #2  fis a fis d'-\RH #4 8 a-\RH #3  d,\4\open-\RH #2 - |
g16- d\5-3-\RH #2  g\4-\RH #4  d\5 \barre 3 { bes'\3-1-\RH #3 - g\4 d'- f, bes d f8\2- } |
\barre 1 { aes-4-\RH #4 16- aes,-\RH #2  c-\RH #3  g'-3-\RH #4 - f8- } g-2-\RH #4 16- g, b g f'8\2- |
e\open-\RH #4 16- g,\4-4-\RH #1  bes-2-\RH #2  g ees'-3-\RH #4 8- d-2-\RH #4 16- fis,-4 a-1 fis bes-18-^\coda |
  }
  \alternative {
{ g\3-\RH #3 8- g\4-4-\RH #2 16 d\5-\RH #1  g\4 d\5 g-\RH #3 4- d\5-\RH #2 8- | }
{ g8- g16\4 d\5 g\4 d\5 g4- r8 | }
  }
  
  \repeat volta 2 {
\barre 5 { b'-4-\RH #4 16- g,-\RH #1  d'-3-\RH #2  g-4-\RH #3 - a-1-\RH #4 8- bes-3-\RH #3 16- g,-\RH #1  c-\RH #2  c'-4-\RH #3 - cis-4-\RH #4 8- } |
\barre 8 { d-3-\RH #4 16- ees,-\RH #2  a-3-\RH #3   ees-\RH #2 - f-\RH #3 8- } \barre 1 { g-4-\RH #4 16- f,-3-\RH #1  aes-\RH #1  f-3-\RH #1  d'-4-\RH #3 8- } |
bes-4-\RH #3 16- bes,-2-\RH #1  d-\RH #1  g-\RH #3 - a-2-\RH #4 8- \barre 1 { bes-4-\RH #3 16- ees,-\RH #1  bes'-\RH #2  c-\RH #3 - cis-2-\RH #4 8- } | 
d-2-\RH #3 16- fis,-3-\RH #1  a-1-\RH #2  e'\open-\RH #3 - fis-1-\RH #4 8- \barre 3 g-\RH #4 d-\RH #3 bes-\RH #2 4- r8 | 
  }
  \break
  \repeat volta 2 {
g\2-4-\RH #4 16- a,-1\4-\RH #2  ees'-3\3-\RH #3  a,\4 ees'8\3 \barre 3 { d-1-\RH #4 16 g,-4 bes-1 g bes8 } |
\barre 6 { bes'-1-\RH #4 16- bes,-2-\RH #1  des-1-\RH #2  a'-4-\RH #3 - g-3-\RH #2 8- } \barre 5 { a-1-\RH #4 16- a,-2-\RH #1  c-1-\RH #2  g'-4-\RH #3 - fis-3-\RH