Does the layer property not work across systems?

2018-09-11 Thread caagr98 caagr98
I have a couple of scores with limited space. For readability, I sometimes draw white outlines around overlapping elements (to cut out parts of volta brackets or similar). This works fine within the same system, but in some cases, the overlapping elements (an articulation and a volta bracket) are i

Re: Does the layer property not work across systems?

2018-09-11 Thread caagr98 caagr98
parts. Is there any way (either through Lilypond or postscript or similar) to subtract and/or intersect two stencils/paths? On Tue, Sep 11, 2018, 17:22 David Kastrup wrote: > caagr98 caagr98 writes: > > > I have a couple of scores with limited space. For readability, I > > s

Japanese text with furigana

2017-12-06 Thread Caagr98
I'm trying to insert a bit of Japanese text in some markup. Putting the text itself works fine, but as soon as I try adding furigana (small kana above the kanji), it looks terrible. Is there anything I can do about that? —— \version "2.19.80" #(define-markup-command (furi layout props kanj

Re: Japanese text with furigana

2017-12-06 Thread Caagr98
That works for that particular example, yes. Doesn't work for anything other than exactly two kana per kanji, though. On 12/06/17 23:50, Carl Sorensen wrote: > > > On 12/6/17, 2:00 PM, "Caagr98" wrote: > > I'm trying to insert a bit of Japanese text

Re: DrumStaff vs Staff for instrument name

2017-12-13 Thread Caagr98
In `engraver-init.ly` (line 111 on my version), there is a line saying `\alias "Staff"`. That line makes the DrumStaff context listen to `\set Staff.*` as well as `\set DrumStaff.*`. (DrumVoice is similarly aliased to Voice.) They're both equal, so I'd recommend using `Staff.*` for consistency.

Re: DrumVoice vs non-existent RhythmicVoice

2017-12-13 Thread Caagr98
A DrumVoice has different musical content than a Voice (uses the `drum-type` NoteEvent property rather than `pitch`, generating different midi output, etc). However, a RhythmicStaff only changes how the staff looks, not the actual musical content. Thus, there's no need for a separate RhythmicVoi

Re: Font for headers

2017-12-13 Thread Caagr98
This should work: \paper { bookTitleMarkup = \markup \sans \bookTitleMarkup } You might also want to modify `scoreTitleMarkup`, `oddHeaderMarkup`, and `evenHeaderMarkup` the same way. On 12/13/17 16:58, Edward Neeman wrote: > I apologize if this is an obvious question: is there a way to set

Auto-beaming

2017-12-14 Thread Caagr98
I'm currently writing some sheet music in 2/4. I'd like measures containing four eights to be all beamed together, but everything except that should use Lilypond's default rules. How can I achieve this? ___ lilypond-user mailing list lilypond-user@gnu.

Re: Auto-beaming

2017-12-14 Thread Caagr98
I tried that at first, but it made *everything* beam together, including rest+three eights or stuff containing sixteenths. On 12/15/17 02:54, Ben wrote: > On 12/14/2017 8:21 PM, Caagr98 wrote: >> I'm currently writing some sheet music in 2/4. I'd like measures containing &

Re: Auto-beaming

2017-12-14 Thread Caagr98
That gives exactly the same output as the baseMoment version. On 12/15/17 04:26, Vaughan McAlley wrote: > On 15 December 2017 at 12:58, Caagr98 <mailto:caag...@gmail.com>> wrote: > > I tried that at first, but it made *everything* beam together, including > rest+

Function to add articulation to all notes

2017-12-28 Thread Caagr98
Sometimes when having a long section of staccato, it's a bit tedious to add -. to all notes, so then it's useful to have a function which automatically adds an articulation to all notes. I have one such function here: addArticulation = #(define-music-function (event music) (ly:event? ly:music?)

Re: Function to add articulation to all notes

2017-12-28 Thread Caagr98
That function seems rather destructive: removes all properties on existing articulations (including tweaks, direction, and midi stuff), and doesn't seem to handle anything other than ArticulationEvents at all. Dynamics, slurs, ties, etc are removed. Also, this version has no way to exclude a not

Re: Function to add articulation to all notes

2017-12-28 Thread Caagr98
st property to determine whether it should be placed at the start or end of the tie. I feel kinda bad for requesting this without having anything to contribute in return :( On 12/28/17 21:42, David Nalesnik wrote: > Hi, > > On Thu, Dec 28, 2017 at 1:37 PM, Caagr98 wrote: >>

Re: include puzzlement

2017-12-29 Thread Caagr98
On 12/29/17 20:26, Carl Sorensen wrote: > Variables can only be defined at the top level. See the Notation Reference > 3.1.4 That's not entirely true. You can define variables in \paper, \layout, and \midi blocks too. Also, you could use the (ly:parser-define! k v) function inside a bookpart,

Holes in spanners for tall notes

2018-01-01 Thread Caagr98
\repeat volta 2 {R1} \alternative { {a4 a a a a a a a} {R1} } In this example, the volta is moved very far up because of that one note. This is very ugly IMO. Is there any way to insert a hole in the line and have the note stick up over the volta? ___

Re: Name of the command

2018-01-01 Thread Caagr98
Are you thinking of `\set tieWaitForChord = ##t \grace {blah} blah \unset tieWaitForChord`? On 01/02/18 00:07, Mark Stephen Mrotek wrote: > Hello, > >   > > A command exists that allows the notes of a grace to be tied to the following > chord, e.g., > > \grace {c8~ e~ g~} 2. > >   > > I tho

Re: Holes in spanners for tall notes

2018-01-01 Thread Caagr98
\tweak Y-offset #0 \tweak outside-staff-priority ##f -\markup { \with-dimensions #'(0 . 0) #'(0 . 0) \with-color #white \filled-box #x #y #0 } #}) On 01/01/18 19:36, Trevor wrote: > > > "Caagr98" wrote 01/01/2018 18:17:37 >

Re: Name of the command

2018-01-01 Thread Caagr98
Dammit. I did look it up in the source code, but then I wrote it wrong here. On 01/02/18 00:19, David Kastrup wrote: > Caagr98 writes: > >>> On 01/02/18 00:07, Mark Stephen Mrotek wrote: >>>> Hello, >>>> >>>>   >>>> >>&

Re: Holes in spanners for tall notes

2018-01-04 Thread Caagr98
I checked with `lilypond scheme-sandbox` to see that it didn't exist...? On 01/04/18 18:56, Kieren MacMillan wrote: > Hi "Caagr98", > >> I also made this function to add holes in the bracket (requires setting the >> bracket's layer to -1): >> whiteo

Re: Holes in spanners for tall notes

2018-01-04 Thread Caagr98
Okay, thanks for the heads-up. I guess I'll rename it to `hole` instead. On 01/04/18 19:05, Kieren MacMillan wrote: >> I checked with `lilypond scheme-sandbox` to see that it didn't exist...? > > Lilypond contains both a function > > http://lilypond.org/doc/v2.18/Documentation/snippets/editorial

Re: Function or command to omit only certain accidentals of a chord?

2018-01-31 Thread Caagr98
You could try \single instead of \once, as in . On 01/31/18 21:27, Stefano Troncaro wrote: > Hello again everyone! > > Suppose I have the following example: > > \version "2.19.80" \language "english" command = { %What should go here to > omit the sharp while keeping the natural? } \score { \new

Re: Function or command to omit only certain accidentals of a chord?

2018-01-31 Thread Caagr98
won't work with edition-engraver or similar.) On 01/31/18 21:56, Stefano Troncaro wrote: > I just tried it, but unfortunately it appears to only work when used inside > the chord, and I need to find a way to do it from outside.// > > 2018-01-31 17:39 GMT-03:00 Caagr98 <mailto:caag

Re: Tying chords

2018-01-31 Thread Caagr98
If you attach the tilde to the individual notes rather than the entire chord, that should work. That is, ` ` rather than `~ `. On 02/01/18 00:30, Rohan Srinivasan wrote: > Hi all, > > I am tying two chords together. Is it possible to have the top tie be above > the note and the bottom tie to b

Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Caagr98
x27; add tweak./ > > > That is going to be a huge improvement! > > > @David > > /I have seen no comment whatsoever about what you find wrong with using/ > /\single \omit Accidental in the way I showed in the code example I gave./ > > > I'm sorry,

Re: Bug with tuples with rest?

2018-02-02 Thread Caagr98
1) Lilypond won't place lyrics on rests, and not on tied or slurred notes (except the first). Since everything in the tuplet is disqualified by one of those criteria, the lyric must go on the e. 2) \relative only affects the next music expression; in this case the tuplet. Thus, the e isn't insid

Re: MIDI dynamics

2018-02-04 Thread Caagr98
I'd suggest either moving the DynamicsPerformer to the Staff context or replacing the \upper with << \upper \dynamics >> (and the same for \lower). Normally, dynamics only affect the voice they are in, which in your example is a different voice from the ones the notes are in. On 02/04/18 01:55,

Why do lyric extenders require an associated voice?

2018-02-16 Thread Caagr98
It doesn't seem that voice is actually used for anything; setting assocatedVoice to "" lets extenders be used without any other apparent effects. So why is there such a difference between having no associated voice and having a nonexistent one? ___ li

Re: Why do lyric extenders require an associated voice?

2018-02-16 Thread Caagr98
Okay, that makes some amount of sense (but not much). But why doesn't it give a warning or anything? And I still don't know why extenders need an associated voice in the first place. On 02/16/18 10:49, Torsten Hämmerle wrote: > Hi, > > As soon as associatedVoice has been set to /anything/, Lily

Re: scheme function returning two scores

2018-02-25 Thread Caagr98
On 02/25/18 14:50, David Kastrup wrote: > In the mean time, you could define a void function and let it just call > toplevel-score-handler on your scores. Of course, this would no longer > allow you to place those scores in a book or bookpart. Why not call add-score (defined in scm/lily-library

Re: scheme function returning two scores

2018-02-25 Thread Caagr98
On 02/25/18 22:24, Gianmaria Lari wrote: > > > On 25 February 2018 at 15:05, Caagr98 <mailto:caag...@gmail.com>> wrote: > > > > On 02/25/18 14:50, David Kastrup wrote: > > In the mean time, you could define a void function and let it just call &g

Re: Having trouble understanding optional and variable amount of arguments

2018-02-28 Thread Caagr98
I think \tempo (and a few other commands such as \repeat\alternative, \set, and \override) are hardcoded in the Lilypond compiler using methods not accessible through Scheme, so you can't make that kind of functions yourself. You can make functions with optional arguments, though. I think the sy

Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Caagr98
In my opinion, Lilypond is excellent for writing sheet music, but not very good for composing. I usually use MuseScore or Qtractor for composing, then (manually) convert it to Lilypond to make sheet music. On 03/22/18 16:35, Jonas Daverio wrote: > That may seem like a stupid question, but I've b

Book with bookpart stored in variable: expecting real number

2018-04-18 Thread Caagr98
This code: ⋘ \version "2.19.81" bk = \book{\bookpart{\score{a}}} \bk ⋙ gives a strange error: ⋘ GNU LilyPond 2.19.81 Processing `bpart.ly' Parsing.../usr/share/lilypond/2.19.81/scm/lily-library.scm:243:5: In procedure ly:book-process in expression (process-procedure book paper ...): /usr/share/

Re: disabling \break

2018-05-09 Thread Caagr98
If you want a more lightweight way to do it, this function should also work: ⋘ removeBreaks = #(define-music-function (mus) (ly:music?) (music-filter (lambda (v) (not (music-is-of-type? v 'break-event))) mus)) ⋙ On 05/08/18 14:17, Jan-Peter Voigt wrote: > Hi Herbie, > > this

Is there any way to use dynamics as prefixes?

2017-02-28 Thread caagr98
I think it's rather weird that you write `c'4\ff d'` instead of `\ff c'4 d'`. Other constructs such as `\tempo` and `\mark` are before the notes they affect - why aren't dynamics? For a more practical example, playing the same thing multiple times with different dynamics with prefix dynamics w

Re: Is there any way to use dynamics as prefixes?

2017-02-28 Thread caagr98
On 02/28/17 20:14, David Kastrup wrote: Well, but slurs can start at the same note where another slur ends, and `c'4( d')( e')' is a lot clearer to me than `(c'4 (d') d')' I can honestly say I've never seen that, and I can't really imagine how that'd even be played. I agree that that looks lik

Re: Is there any way to use dynamics as prefixes?

2017-02-28 Thread caagr98
On 02/28/17 20:26, Thomas Morley wrote: Hi, 2017-02-28 19:53 GMT+01:00 : I think it's rather weird that you write `c'4\ff d'` instead of `\ff c'4 d'`. Other constructs such as `\tempo` and `\mark` are before the notes they affect - why aren't dynamics? Here's a little misunderstanding. \ma

Convert Scheme symbol to pitch

2017-03-02 Thread caagr98
Is it possible to convert a symbol (such as `'bes'`) to a pitch (in this case `(ly:make-pitch 1 0 0)`)? I know you can do `#{ bes' #}` to get a pitch, but that only appears to work for constants. Or, for a more general question: is there some way to eval() a string as Lilypond code?

Re: Convert Scheme symbol to pitch

2017-03-02 Thread caagr98
On 03/02/17 23:41, Jeffery Shivers wrote: Where does the string originate? If it is produced by some other programming interface/language, maybe it be easier to adjust your code so that the string is wrapped in something like `\myMusic = { }`. What does the input look like? A bunch of strings

Re: Convert Scheme symbol to pitch

2017-03-02 Thread caagr98
On 03/02/17 23:39, David Kastrup wrote: caag...@gmail.com writes: Is it possible to convert a symbol (such as `'bes'`) to a pitch (in this case `(ly:make-pitch 1 0 0)`)? I know you can do `#{ bes' #}` to get a pitch, but that only appears to work for constants. Or, for a more general questio

Ties, \lyricsto and Score.skipTypesetting causes misaligned lyrics

2017-03-06 Thread caagr98
Using those three in combination seems to be a have a tendency to get the lyrics misaligned. ``` \version "2.18.2" << \new Voice = "staff" { \set Score.skipTypesetting = ##t \set Score.skipTypesetting = ##f a~ a

Re: Composing music functions

2017-03-12 Thread caagr98
You can't call music functions directly from Scheme code. You have to either wrap the call in #{ #} or use `ly:music-function-extract` to extract the procedure itself and call that. (In general, `Wrong type to apply` means you're trying to call something that isn't a procedure.) On 03/12/17

Is it possible to compute a \lyricsto before running further processing?

2017-03-12 Thread caagr98
There are several types of postprocessing that break \lyricsto's auto-alignment*. Is there some way to tell the `\lyricsto` to align its syllables to the correct position so further processing won't affect it? (I'm guessing no, because if it was possible, it'd be the default.) * A few examples

Re: exporting a parsed fragment to a .ly file

2017-03-16 Thread caagr98
You can use `\set Score.skipTypesetting = ##t` (and `##f`) to tell Lily to not typeset a region. If you do that for everything except the part you want, that should do the trick. Since it works on the Score context, it's enough to put it in one staff and it'll affect the entire score. It's a b

How to simulate MuseScore's horizontal frame?

2017-03-19 Thread caagr98
The best I've managed to do is to show the clef and keysig. However, I haven't managed to fix the brackets, or reposition the coda or clefs. See the attached images for details. Is there some way to do this? ___ lilypond-user mailing list lilypond-use

Re: How to simulate MuseScore's horizontal frame?

2017-03-19 Thread caagr98
Alright, here's a small example. The Devnulls are my workaround for multiple marks at the same place. Other than those, there's nothing too remarkable. On 03/19/17 21:34, Jeffery Shivers wrote: On Sun, Mar 19, 2017 at 4:14 PM, wrote: The best I've managed to do is to show the clef and keysi

Re: How to simulate MuseScore's horizontal frame?

2017-03-20 Thread caagr98
Using some stuff from that thread, I've managed to get everything to look as I want, except the brackets themselves (as well as forbidding line breaks): \context Devnull = "coda" \tweak self-alignment-X #RIGHT \mark "D.S. al coda" \bar "||" \stopStaff \cadenzaOn \noBreak s1

Re: Drawing a contour on a staff

2017-03-22 Thread caagr98
You could try \makeClusters. They are a bit thicker than in the image, but they might be useful. (I have no idea what they are actually meant for, though.) On 03/22/17 13:18, Kevin Barry wrote: Hi All, I am setting a large volume of examples by a now-deceased composer, some of which use conto

Re: Parallel Square Premusic

2017-03-23 Thread caagr98
Isn't that basically a music box? On 03/23/17 12:04, msk...@ansuz.sooke.bc.ca wrote: On Thu, 23 Mar 2017, David Kastrup wrote: Punch cards seem to the best medium for your format. Not just that they are rigidly column-based, but you'll also easily distinguish letters With careful programming

Is it possible \quoteDuring from a different position?

2017-03-24 Thread caagr98
For example, quoting the start of the music when you are a few measures in? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: LSR down?

2017-03-25 Thread caagr98
It's down for me. http://lsr.di.unimi.it/LSR/Snippet?id=1007 says something about timezones (CEST in unrecognized). While the search page works, the results are empty. On 03/26/17 08:48, Malte Meyn wrote: Am 26.03.2017 um 07:21 schrieb Andrew Bernard: Is LSR down for others? Not for me: h

Re:

2017-03-26 Thread caagr98
You're setting options on the TabStaff while in the Staff context. Since there is no TabStaff context at the moment, one is temporarily created. You could fix it by setting the properties in a \with {} block on the TabStaff insteadd. On 03/26/17 22:49, Rob Torop wrote: I'm finding that when I

Re: TabStaff answer

2017-03-26 Thread caagr98
No problem, but I think you're supposed to reply to the list, not just me. On 03/27/17 00:33, Rob Torop wrote: Thank you! -- Forwarded message - From: mailto:lilypond-user-requ...@gnu.org>> Date: Sun, Mar 26, 2017 at 4:58 PM Subject: lilypond-user Digest, Vol 172, Issue 145 To:

Re: Combining \tag with \quoteDuring does not work

2017-03-27 Thread caagr98
On 03/27/17 19:26, Kaj Persson wrote: I thought, that tags always change the source, but obviously I was wrong. Tags don't actually do anything; they just add a new property to the tagged music expression. \{remove,with}WithTag then recurses through the music expression and removes everything

Re: LSR down?

2017-03-27 Thread caagr98
Works for me. The snippet took a little longer to load than usual, but that was probably just my internet. Any idea what made it break (other than just "daylight saving time")? On 03/27/17 22:25, Thomas Morley wrote: 2017-03-27 9:24 GMT+02:00 Malte Meyn : Am 27.03.2017 um 02:30 schrieb Andr

Re: TabStaff answer

2017-03-27 Thread caagr98
You could use \tag to remove the \set, or you could use <<>> to combine \solo with another staff containing only \set and spacer rests. I like using that technique to keep tempos and marks (structure) separate from the actual content. Or, as David mentioned, you could just set Staff.minimumFre

Re: Is there a better way of assigning an instrument name to Voice?

2017-04-04 Thread caagr98
You can use a \with block: \new Voice = "mel" \with { instrumentName = "Melody" } { \melody } On 04/04/17 18:56, Mike Dean wrote: < < \new Voice = "mel" { \melody } *\set Voice.instrumentName = #"Melody"* \new PianoStaff << \set PianoStaff.instrumentName = #"Piano " \new Staff

Re: Is there a better way of assigning an instrument name to Voice?

2017-04-04 Thread caagr98
Yeah, I don't think Voice supports instrumentName; my bad. I'd recommend replacing the \new Voice with a \new Staff. Aside from working properly with certain \with properties, I personally think it makes more sense. It's certainly more consistent with the piano staff, at least. I would also re

Re: Is there a better way of assigning an instrument name to Voice?

2017-04-04 Thread caagr98
Still not using \with? On 04/04/17 19:39, Mike Dean wrote: After trial by errors and caagr98's (thanks much!!!) help: << \new Staff = "mel" { \melody } << \set Staff.instrumentName = "Melody" >> \new PianoStaff << \set Pian

Re: Is there a better way of assigning an instrument name to Voice?

2017-04-04 Thread caagr98
orgot to reply-list again. On 04/04/17 19:47, Mike Dean wrote: Still had struggles getting the output correct with "\with" Mike Dean On Tue, Apr 4, 2017 at 1:41 PM, mailto:caag...@gmail.com>> wrote: Still not using \with? On 04/04/17 19:39, Mike Dean wrote: Aft

Re: Line break on a subtitle

2017-04-07 Thread caagr98
I think you can use \column, \center-column, \right-column, or other similar functions, depending on how you want it aligned: \markup \column { "First line" "Second line" } On 04/07/17 21:35, Son_V wrote: I've searched on google but I wasn't able to find an answer. How can I break a lo

Fwd: Re: Line break on a subtitle

2017-04-08 Thread caagr98
Forwarded Message Subject:Re: Line break on a subtitle Date: Sat, 8 Apr 2017 16:41:55 +0200 From: Vincenzo Auer To: caag...@gmail.com Thanks, your answer got the goal. 2017-04-07 21:38 GMT+02:00 mailto:caag...@gmail.com>>: I think you can use \column,

Multiple ossia problems

2017-04-11 Thread caagr98
The first ossia is extended too far to the left (due to system start). The second is extended too far to the right (due to grace notes). The third is cut of at the left (also due to grace notes). The fourth has an end-barline, which I'd prefer if it didn't. All of them are also unnecessarily plac

Re: Separate Emmentaler/Fonts

2017-04-11 Thread caagr98
If it's just the alteration symbols you need, you could try just using the standard Unicode ones: ♩♪♫♬♭♮♯ (U+2669 to U+266F). On 04/11/17 14:35, tisimst wrote: Hi, Urs/Andrew/Johan! On Tue, Apr 11, 2017 at 6:10 AM, Urs Liska [via Lilypond] <[hidden email] > wrote: Am 11.04.2017 um 13:

\transpose and \quoteDuring

2017-04-17 Thread caagr98
It appears \transpose has no effect on \quoteDuring. \transposition can be abused to fix it, but that doesn't affect midi playback. How can I work around this? ``` \version "2.18.2" foo = {c' d' e' f'} \addQuote foo \foo << \new Staff \quoteDuring foo s1 \new Staff \transpose c c' \quoteDu

Re: \transpose and \quoteDuring

2017-04-17 Thread caagr98
Looks a bit silly, but I suppose it'll have to do. Thanks. On 04/17/17 17:55, Kieren MacMillan wrote: Hi, It appears \transpose has no effect on \quoteDuring. Yes, this is the reality. (There’s a technical explanation somewhere on the list, but it does seem a puzzling restriction.) How ca

Re: How can I put \tempo "Adagio" closer to the score than a crescendo?

2017-04-17 Thread caagr98
I would recommend trying `outside-staff-priority`. The lower it is, the closer the object is to the staff. The default is 1000 on MetronomeMark and 250 on DynamicLineSpanner, so `\override MetronomeMark.outside-staff-priority = 249` or `\override DynamicLineSpanner.outside-staff-priority = 1001

Re: Discern post-event in music function

2017-04-20 Thread caagr98
There's a `post-event?` predicate defined in scm/define-music-display-methods.scm. I don't think that one's easily accessible outside that module, but you can copy it: (define (post-event? m) (music-is-of-type? m 'post-event)) On 04/20/17 16:59, Simon Albrecht wrote: Hello, I currently us

Re: Discern post-event in music function

2017-04-20 Thread caagr98
You could just do (let ((post (music-is-of-type? e 'post-event))) (stuff)). No point in creating a lambda for it. On 04/20/17 17:43, Simon Albrecht wrote: Am 20.04.2017 um 17:25 schrieb caag...@gmail.com: There's a `post-event?` predicate defined in scm/define-music-display-methods.scm. I don'

Re: What does anyone want? (4)

2017-04-20 Thread caagr98
For that matter, I have no idea what he's trying to say at all. It seems like just insane rambling. On 04/20/17 21:36, H. S. Teoh wrote: On Thu, Apr 20, 2017 at 03:24:23PM -0400, Jeffery Shivers wrote: Hi Miroslaw, On Thu, Apr 20, 2017 at 2:42 PM, Mirosław Doroszewski wrote: [trimmed gobble

Re: Header for each page

2017-04-21 Thread caagr98
I'm pretty sure the `instrument` header is already printed on each page. Otherwise, you could try setting `oddHeaderMarkup` and `evenHeaderMarkup`, or doing #(define make-header (foo)) inside your \paper. On 04/21/17 11:42, Johannes Roeßler wrote: Hi, for printing parts I'd like to place the

Re: Header for each page

2017-04-21 Thread caagr98
} } P.S. Anyone have any idea how to paste stuff into Thunderbird without line wrapping? On 04/21/17 13:16, Johannes Roeßler wrote: > Hi Michael, Hi caagr98 > > nice to see you too Michael... (its you from the HDE? Right?) > > I wasn't aware that the "instrument" fr

Re: Header for each page

2017-04-21 Thread caagr98
On 04/21/17 13:45, Kieren MacMillan wrote: Actually, the header is controlled by oddHeaderMarkup and evenHeaderMarkup: Indeed, but that's not all Johannes asked about. On 04/21/17 13:16, Johannes Roeßler wrote: Bt.. On the first page it will appear below(!) title and subtitle - how do I

Re: Header for each page

2017-04-21 Thread caagr98
On 04/21/17 15:25, Simon Albrecht wrote: Please never use tabs for indenting LilyPond code, always two spaces per indentation level (as Frescobaldi automatically does it, and as the LilyPond source does). Sounds like a good idea. I prefer tabs, but I've noticed that doesn't work very well whe

Lines to edges of \center-column

2017-04-22 Thread caagr98
Is there some way to make a center-column draw lines from slightly outside the text to the edges of the column (see example)? In this specific case, I have both English and Japanese names for stuff, and without those lines, I think it's a bit unclear exactly what part the Japanese refers to.

Can't refer to variable directly after defining it

2017-04-22 Thread caagr98
For some reason, it seems I can't refer to a variable directly after defining it. As soon as I do /anything/ else, it works, but `foo={...} \foo` gives errors. ``` $ cat bug.ly \version "2.18.2" foo = {c' c' c' c'} % bar = {d' d' d' d'} % {e' e' e' e'} % #foo \foo $ lilypond bug.ly GNU LilyPond

Re: Can't refer to variable directly after defining it

2017-04-22 Thread caagr98
4On 04/22/17 23:47, Thomas Morley wrote: The reason for it: The parser needs to check whether there is something else which needs to be added to the definition of 'foo', (most common example for those stuff is 'addlyrics') or, something else makes clear the declaration of 'foo' is complete. Ah,

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
That's certainly a possibility, it's not working too well. I have to do the alignment manually, and I can't change the line style. Also, it's a bit buggy: putting box-drawers after kanji works fine, but if it's after a kana, it's not selectable, and it has a different width. There are also smal

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
This is great, thanks! I was trying to mess around with \hbracket and \whiteout, but this is far better. Just a few questions: Is it possible to scale the protrusions (and other things) by font size? How can I change the color of the lines? What does "mols" mean? On 04/23/17 00:34, David Nales

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
On 04/23/17 01:53, David Wright wrote: I tried to provoke a problem, but I don't know my kanji from my kana, and am not sure what you mean by "selectable". I mean they're marked in blue by ctrl-A or dragging (selected.png). The greatest zoom I can manage is 1600%, and I can't see the joins.

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
On 04/23/17 03:47, David Wright wrote: Then I don't know what you mean. When you drag over them, they turn blue because you _have_ selected them (drag.png, apologies for the size). Then you can paste them into, say, a bash shell command line (pasted.png, the box at the right is the inactive curso

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
I did some further work on it. It looks pretty great, IMO. It works with left- and right-aligning, too. No scaling horizontally (just 1sp margins), but it automatically scales vertically. ``` #(define (expand-add pair n) (cons (- (car pair) n) (+ (cdr pair) n))) #(define (expand-mul mul pair)

Re: Lines to edges of \center-column

2017-04-24 Thread caagr98
Seems the latest devel version (2.19.59) has fixed that bug, so it's probably not important anymore. On 04/24/17 19:43, David Wright wrote: Well, I can't take a view on that because AFAICT the source in the OP only contained kanji (complicated-looking) characters. Would that be correct? Could y

Is it possible to change the PDF title?

2017-04-24 Thread caagr98
By PDF title I mean the one shown in the PDF viewer's title bar. It seems to be extracted from the header:title field, but in my case, the title contains some complex markup and isn't extracted properly. Can I override the title somehow? ___ lilypond

Re: Is it possible to change the PDF title?

2017-04-24 Thread caagr98
``` title = \markup { \concat { "W" \scale #'(15/22 . 15/22) \combine "o" \translate-scaled #'(0 . 1.2) "a" "ndering" } } ``` This is extracted as "Wandering" (or at least that's what Atril shows). I want it to be "W[ao]ndering" (or maybe "Wꜵndering"), because it's s

Re: Is it possible to change the PDF title?

2017-04-24 Thread caagr98
`pdftitle` seems to be exactly what I was looking for. I also added `midititle = #pdftitle` for good measure. On 04/25/17 02:21, Thomas Morley wrote: 2017-04-25 2:18 GMT+02:00 Thomas Morley : 2017-04-25 1:43 GMT+02:00 : ``` title = \markup { \concat { "W" \scale #'(15/22 . 15/22

Polymark: draw marks horizontally

2017-05-01 Thread caagr98
I'm using Polymark (LSR 976) to be able to print song names (in medleys), codas, etc. at the same time as rehearsal marks. However, using a `\polyMark Center` (or empty) at the same time as a `\polyMark Left` draws the Left diagonally above the Center (assuming the Left is defined last). I'd li

Re: Apply event function *within* music-function

2017-05-02 Thread caagr98
Wouldn't the <>\stopGroup extend the group one note too far? On 05/02/17 10:06, Thomas Morley wrote: 2017-05-02 8:29 GMT+02:00 Urs Liska : Hi all, I'm trying to apply event functions to music passed into a music function like that: \version "2.19.57" test = #(define-music-function (mus)(ly:m

Doing some strange stuff with multi-measure rests

2017-05-05 Thread caagr98
Basically, I want to show a rest with indeterminate length for all parts, except the drumset, which is to make undefined creepy noises, and the cymbal, which should do a drumroll-crescendo (not sure if there's any fancy name for that) before the rest of the parts resume playing. I've attached

Re: Doing some strange stuff with multi-measure rests

2017-05-05 Thread caagr98
Yeah, that seems to work, thanks! I'd prefer if it didn't reduce the left margin, but there's no point in being picky. I guess it can be fixed by tweaking the X-offset and the scaling factor. I'm considering experimenting with modifying the stencil expression itself, though. Getting the drum

Re: Appreciation

2017-05-08 Thread caagr98
Source please? Most search engines aren't particularly helpful when searching special characters. On 05/08/17 23:28, Dave Hartley wrote: # finally get my head around the difference between $( ) and #( ) 😁 ___ lilypond-user mailing list lilypond-user

Re: How to attach markup to several notes

2017-05-09 Thread caagr98
You could also try using the technique described here: http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-attached-to-notes , *Creating a delayed turn*. On 05/09/17 12:36, Kaj wrote: On 2017-05-09 at 10:47, Ivanov Dmitry wrote: Code: \version "2.18.2" \relative f'{ f8_\ma

Re: multi language score

2017-05-18 Thread caagr98
http://lilypond.org/doc/v2.19/Documentation/notation/different-editions-from-one-source That link should contain most information you need. If you want the scores in different PDFs, replace the `\score {...}` with `\book { \bookOutputSuffix "French" \score {...} }`. On 05/18/17 10:20, Gianmar

Re: Trouble with Polyphony

2017-05-27 Thread caagr98
On 05/27/17 05:06, Jon Arnold wrote: I'm trying to print a note simultaneous to a rest but have the rest be in normal \oneVoice position. (This is to illustrate a harp muffle of a single note.) This is basically how I'm doing it (minus the complicated code of replacing the stem glyph):

Re: Predicate for a string representing an integer

2017-05-30 Thread caagr98
On 05/30/17 11:13, Jan-Peter Voigt wrote: I doubt that checking all characters in the string are in the range '0'-'9' is faster then string->number. Don't forget the optional leading hyphen, base specifiers (#x, #o, #d, #b), etc. However, do keep in mind that (integer? (string->number x)) ac

Re: \transposition does nothing?

2017-05-31 Thread caagr98
\transposition doesn't affect the generated score, it only affects the midi output. To transpose the score, do \new Staff { \transposition f \transpose f c {...} }. (In your case, the << >> can replace the inner {}.) On 05/31/17 19:09, Jérôme Plût wrote: I am typing a horn part in F. In the at

Re: pushing items "through" or "beyond" other contexts

2017-06-02 Thread caagr98
Couldn't you do \new Dynamics { \alignAboveContext = "upper" s4/p }? On 06/02/2017 09:00 PM, Kieren MacMillan wrote: Hello all, No compilable code/snippet here… just a thought-experiment/question for discussion. Is there any way (currently possible, or relatively easily coded) that items in

Re: encapsulating woodwind diagrams

2017-06-13 Thread caagr98
Try removing the brackets ({ ... }) around the \markup. On 06/13/2017 04:46 PM, Jaime Oliver La Rosa wrote: Hi all, I am using the following code to place diagrams in a score: c^\markup \center-column { \override #'(size . .75) \override #'(thickness . 0.05){ \wood

How to write anti-accent (breve)

2017-06-15 Thread caagr98
As in https://en.wikipedia.org/wiki/Accent_%28music%29#Anti-accent_marks. How do I write the first of those? \lheel is similar, but it's not the same. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-

Re: How to write anti-accent (breve)

2017-06-15 Thread caagr98
I'd rather not have to install extra fonts for my scores to work... Isn't there any way to do it with markup or stencils? On 06/15/2017 03:38 PM, Kieren MacMillan wrote: Hi caagr98, As in https://en.wikipedia.org/wiki/Accent_%28music%29#Anti-accent_marks. How do I write the firs

  1   2   >