Closed uliska closed 12 years ago
Maybe one could use \frac of the math mode for time signatures?
Which font is used by LilyPond for time signatures? if it were the Emmentaler numbers, then they are at their normal char positions - and the plus also???
if that's true one could simply have a command like
\newcommand{\lilyTime}[2]{<...font...> $\frac...
which would be called like
\lilyTime{11+4}{8}
OK, PGF basically works (see the pgfstart branch), but with quite severe restricitions so far. We have to find a way to deal with the scaling. With my first trials the image broke when scaling explicitely (through [scale=2]) or through font size commands. Probably we'll have to use strictly one unit (e.g. pt?) for any path coordinates.
Now solved using a different approach: Create symbols with LilyPond, create small PDF files and include these.
Works as with the Emmentaler glyphs (options are recognised.
New Python script to batch process the building of PDFs and LaTeX commands
as stated in #4, it is not sufficient to use Emmentaler's glyphs. there are many elements that have to be drawn. if there are no serious objections I will use PGF/TikZ for this purpose.
besides the stems connecting noteheads and flags one could think of (e.g.) tuplets, slurs in any context, time signatures etc.
the use of PGF also opens the option of extending the thing on the users side (who can enter graphics in a consistent manner, say for analytical elements).