Dear Eric,

I don't get what you're trying to do in your example.  It looks like you're
trying to invoke the \rN outside of a markup context.  It's best used in a
lyrics context or as markup attached to a note (there don't seem to be any
in your example).

And Roman numeral notation in LaTeX is easy with math mode:
V$^4_3$
should do the trick.

I hope this helps,
Kevin Barry


Message: 7
> Date: Tue, 22 Jan 2013 19:01:23 -0800
> From: Eric Swenson <e...@swenson.org>
> To: David Nalesnik <david.nales...@gmail.com>
> Cc: lilypond-user@gnu.org
> Subject: Re: roman numeral chord notation
> Message-ID:
>         <CAPD=
> n0mhutre1weo+_3kqtsmpmhzpyvcm5ybmyoovbdkgm1...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks David.
>
> This appears to work fine when adding markup to a staff (as in annotating
> below the staff).  However, I'm trying to reference chords using this
> notation in text, in a music theory discussion regarding chord resolution.
>  Since this isn't within lilypond markup, I don't think I can use this.
>
> I tried the obvious in my .lytex file:
>
> \lilypondfile[quote,noindent]{rN.ly}
>
> \begin[fragment,quote,staffsize=26,verbatim]{lilypond}
>   \rN { V 4/3 }
> \end{lilypond}
>
> As well as preceeding the \rN with \markup, and both result in errors such
> as:
>
> lilypond-book --output=out --pdf bar.lytex
> lilypond-book (GNU LilyPond) 2.16.2
> Reading bar.lytex...
> Running `pdflatex' on file
> `/var/folders/4m/_ndvz2k14wj63vptwlb4fs740000gn/T/tmpg_VEGR.tex' to detect
> default page settings.
>
> Dissecting...
> Writing snippets...
> Processing...
> Running lilypond...
> GNU LilyPond 2.16.2
> Processing `snippet-map--2975239498719330227.ly'
> Parsing...
> Processing `bar.lytex'
> Parsing...
> bar.lytex:29:2: error: unknown escaped string: `\rN'
>
>   \rN { V 4/3 }
> bar.lytex:29:2: error: syntax error, unexpected STRING
>
>   \rN { V 4/3 }
> bar.lytex:21:0: error: errors found, ignoring music expression
>
> {
> fatal error: failed files: "ee/lily-62b9e5aa.ly"
>
> Any suggestions?  Or should I just try to figure out the
> superscript-subscript tex macros to make this work?  Thanks.
>
> -- Eric
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to