Re: [WISH] about \super and \sub

2013-10-21 Thread Pierre Perol-Schneider
Dear Janek,

I'm 100% ok with your code.
I don't understand Werner's remark : \sub is at the right height even for
chords.
I've also compared with Sibelius, Finale, and some books I have here; looks
fairely good to me.
Don't know what else to say...
Cheers,
Pierre


2013/10/20 Janek Warchoł janek.lilyp...@gmail.com

 Hi Pierre,

 2013/10/16 Janek Warchoł janek.lilyp...@gmail.com:
 
  2013/10/16 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com:
  There is something I found disturbing for years : I think \super and
 \sub
  are not properly settled. []
 
  Here's a patch that fixes it:
  http://code.google.com/p/lilypond/issues/detail?id=3619
  http://codereview.appspot.com/14438075
 
  Please follow the discussion there - if there are any objections to my
  patch, i'll need your help.

 This is the moment when i need your help and involvement.
 Writing the patch took me 15 minutes, but there are doubts whether to
 accept it in the current state.  It needs to be discussed, pros and
 cons need to be examined and maybe a compromise found.  Doing all this
 - getting the patch through review process - would take me an hour or
 two (much more than writing the patch itself!), and is a distraction
 from my other (paid) work on LilyPond.  I'm very busy and i don't have
 this time, so if you don't step in and help with the discussion i will
 abandon the patch, sorry!

 best,
 Janek

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


Re: [WISH] about \super and \sub

2013-10-21 Thread Werner LEMBERG

 I don't understand Werner's remark : \sub is at the right height
 even for chords.

Not \sub, but \sup.

 I've also compared with Sibelius, Finale, and some books I have
 here; looks fairely good to me.

Hmm.  Look at the attached two images, extracted from
https://code.google.com/p/lilypond/issues/detail?id=3619#c2.

Is it really OK that digit 7 is that low?  For my taste, it should be
moved up a bit.


Werner
inline: 7-before.pnginline: 7-after.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [WISH] about \super and \sub

2013-10-21 Thread Janek Warchoł
2013/10/21 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com:
 Dear Janek,

 I'm 100% ok with your code.
 I don't understand Werner's remark : \sub is at the right height even for
 chords.
 I've also compared with Sibelius, Finale, and some books I have here; looks
 fairely good to me.
 Don't know what else to say...

There are two things you can do:
- provide scanned examples of chords showing where super- and
subscripts are placed. (note that Finale/Sibelius places them at this
height by default will not be convincing for us, as we don't regard
these programs's default output as something authoritative.  However,
examples from published good quality books *will* be convincing for
virtually anyone on the list).
- prepare a test file containing:
  - ordinary text with super- and subscripts (with various
combinations of digits and upper and lower case letters used),
  - chord names with various modifications, including accidentals,
  - other text including musical symbols in super- and subscripts
and compile this file with various amounts of super-/subscripts
displacement.  Send the results to us.

With these materials, i'm sure that we can reach a good connsensus.
best,
Janek

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


Re: [WISH] about \super and \sub

2013-10-21 Thread Pierre Perol-Schneider
2013/10/21 Werner LEMBERG w...@gnu.org


 Not \sub, but \sup.


Sorry Werner it's a typo
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [WISH] about \super and \sub

2013-10-21 Thread Pierre Perol-Schneider
2013/10/21 Janek Warchoł janek.lilyp...@gmail.com


 There are two things you can do:
 - provide scanned examples of chords showing where super- and
 subscripts are placed. (note that Finale/Sibelius places them at this
 height by default will not be convincing for us, as we don't regard
 these programs's default output as something authoritative.  However,
 examples from published good quality books *will* be convincing for
 virtually anyone on the list).
 - prepare a test file containing:
   - ordinary text with super- and subscripts (with various
 combinations of digits and upper and lower case letters used),
   - chord names with various modifications, including accidentals,
   - other text including musical symbols in super- and subscripts
 and compile this file with various amounts of super-/subscripts
 displacement.  Send the results to us.

 With these materials, i'm sure that we can reach a good connsensus.
 best,
 Janek


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


Re: [WISH] about \super and \sub

2013-10-20 Thread Janek Warchoł
Hi Pierre,

2013/10/16 Janek Warchoł janek.lilyp...@gmail.com:

 2013/10/16 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com:
 There is something I found disturbing for years : I think \super and \sub
 are not properly settled. []

 Here's a patch that fixes it:
 http://code.google.com/p/lilypond/issues/detail?id=3619
 http://codereview.appspot.com/14438075

 Please follow the discussion there - if there are any objections to my
 patch, i'll need your help.

This is the moment when i need your help and involvement.
Writing the patch took me 15 minutes, but there are doubts whether to
accept it in the current state.  It needs to be discussed, pros and
cons need to be examined and maybe a compromise found.  Doing all this
- getting the patch through review process - would take me an hour or
two (much more than writing the patch itself!), and is a distraction
from my other (paid) work on LilyPond.  I'm very busy and i don't have
this time, so if you don't step in and help with the discussion i will
abandon the patch, sorry!

best,
Janek

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


Re: [WISH] about \super and \sub

2013-10-16 Thread Urs Liska

Hi Pierre,

such requests should be directed to bug-lilyp...@gnu.org (have done it 
this time).


Urs

Am 16.10.2013 16:28, schrieb Pierre Perol-Schneider:


Dear Developers, Dear List,

There is something I found disturbing for years : I think \super and 
\sub are not properly settled.

Here's a little code to show what I'm talking about :

%

\version 2.17.28

#(set-global-staff-size 30)

\markup\column {

\line\typewriter { % Here's what \super does : }

\concat { E  =  mc\super 2 }

\vspace#.5

\line\typewriter { % Here's what \super should do : }

\concat { E  =  mc\raise#.7 \teeny 2 }

\vspace#1

\line\typewriter { % Here's what \sub does : }

\concat { H\sub 2 O }

\vspace#.5

\line\typewriter { % Here's what \super should do : }

\concat { H \raise#-.3 \teeny 2 O }

}

%

I've also joined a LateX output for info.

Cheers,
Pierre



___
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: [WISH] about \super and \sub

2013-10-16 Thread Helge Kruse
Shouldn't the characters in a chemical set without italics? You just want
to show the expected position of the sub-indexed number.

Helge




2013/10/16 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com


 Dear Developers, Dear List,

 There is something I found disturbing for years : I think \super and \sub
 are not properly settled.
 Here's a little code to show what I'm talking about :

 %

 \version 2.17.28

 #(set-global-staff-size 30)

 \markup\column {

 \line\typewriter { % Here's what \super does : }

 \concat { E  =  mc\super 2 }

 \vspace#.5

 \line\typewriter { % Here's what \super should do : }

 \concat { E  =  mc\raise#.7 \teeny 2 }

 \vspace#1

 \line\typewriter { % Here's what \sub does : }

 \concat { H\sub 2 O }

 \vspace#.5

 \line\typewriter { % Here's what \super should do : }

 \concat { H \raise#-.3 \teeny 2 O }

 }
 %

 I've also joined a LateX output for info.

 Cheers,
 Pierre


 ___
 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: [WISH] about \super and \sub

2013-10-16 Thread Janek Warchoł
Hi,

2013/10/16 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com:
 There is something I found disturbing for years : I think \super and \sub
 are not properly settled. []

Here's a patch that fixes it:
http://code.google.com/p/lilypond/issues/detail?id=3619
http://codereview.appspot.com/14438075

Please follow the discussion there - if there are any objections to my
patch, i'll need your help.
Let me know if you need help testing the patch.

best,
Janek

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


Re: [WISH] about \super and \sub

2013-10-16 Thread Pierre Perol-Schneider
Thank you all,
sorry for the wrong list.


2013/10/16 Janek Warchoł janek.lilyp...@gmail.com

 Hi,

 2013/10/16 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com:
  There is something I found disturbing for years : I think \super and \sub
  are not properly settled. []

 Here's a patch that fixes it:
 http://code.google.com/p/lilypond/issues/detail?id=3619
 http://codereview.appspot.com/14438075

 Please follow the discussion there - if there are any objections to my
 patch, i'll need your help.
 Let me know if you need help testing the patch.

 best,
 Janek

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