lilypond-user
[Top][All Lists]
Advanced

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

Re: how to include various ascii characters (like: !) in the text?


From: Mats Bengtsson
Subject: Re: how to include various ascii characters (like: !) in the text?
Date: Tue, 17 Jun 2003 15:09:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

You could say \\char214 which will just be forwarded to the
TeX output. However, I recommend to insert the 8bit character
directly into the file instead, since it enables Lilypond to
calculated the correct width of each syllable when it determines
the spacing between the notes.

   /Mats

ario wrote:
On Tue, 2003-06-17 at 14:02, Mats Bengtsson wrote:

If you want ASCII character 214, you just need a text editor that
enables you to input that ASCII value as a character.
In Emacs, for example, type
CTRL-Q 3 2 6 RETURN
(since 326 is octal for 214). If you have a German or nordic
keyboard, you can also press Ö, since it has character code 214 in
the Latin 1 encoding. If you have a Cyrillic keyboard, I'm sure you
can just press the desired key directly unless your editor plays
some funny games.

To set the font, you'll have to say something like:
\property Lyrics . LyricText \override #'font-name = #"wncyr10"


Yes, I did that. I use keyboard USA/International here.
Isn't there some string indicating (as in HTML code) to lily (or is it
finally TeX that would have to do it?) that I want a specific character
number such and so from the font?

Thanks for your help.
arie


  /Mats

ario wrote:

On Tue, 2003-06-17 at 06:47, Graham Percival wrote:


On Tue, 17 Jun 2003 05:31:43 +0200
ario <address@hidden> wrote:



If I include a '!' in the lyrics, lilypond complains.
I tried using typing "!", and '!' but none works.
I need this feature to use the complete Cyrillic character set.
Does anybody know how to include all ascii characters?
Having to input the ascii numbering would do too for me.

I believe you want \\!


Thanks for answering Graham, I made a mistake, I put words={

} "!"

With the "!" within the brackets it works :/
But still I'm afraid that this is not the solution. When I do

WordsFouFO = \lyrics {"#"} it says:

ly2dvi:error: LaTeX failed on the output file.
ly2dvi:error: The error log is as follows:
! You can't use `macro parameter character #' in restricted horizontal
mode.
<argument> ...utscale \magfontOLYUomMMBo \hbox {##
                                                 }
With \lyrics{\\#} it says:
Parsing...Backtrace:
0* }
ERROR: In expression }:
ERROR: Unbound variable: }

etc...

Isn't there a method to tell that I want ascii character 214 from font
wncyr10 for instance?
And does one know where I can get the Cyrillic R, mirrorred about its
vertical axis, and this character which resembles most the 'X', but with
some more small lines? (sorry, I don't know the name of it).

thanks,
arie




Cheers,
- Graham





_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================






_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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