Peter,
Here's what I've done that works nicely, but requires a slight manual
intervention (changes/additions in *BOLD*):
1. DON'T remove Bar_engraver because Clefs can only be printed after a bar
line (even an invisible one, like with \bar "")
2. Set Timing.defaultBarType = "" which correctly keeps the hidden barline
from taking up space, but still allows clefs to be printed at the beginning
of each system
3. Manually put \bar "" before each \break or \pageBreak since you are
ALWAYS mid-measure without barlines. I usually put this in my own variable
like myBreak = { \bar "" \break } to keep typing to a minimum.
%<---------- SNIP ----------
\version "2.18.2"
\language "english"
\layout {
ragged-right = ##t
}
*myBreak = { \bar "" \break }*
*myPageBreak = { \bar "" \pageBreak }*
\score {
\new Staff \with {
\remove "Bar_number_engraver"
\remove "Time_signature_engraver"
*%\remove "Bar_engraver"*
} \new Voice \with {
\remove "Stem_engraver"
} \relative c {
*\set Timing.defaultBarType = ""*
\key c \major
\clef bass
{ g4_5 a_4 b_3 c_2 d_1 }
*\myBreak*
{ g,4 a g a b a b a }
*\myBreak*
{g4 af g af bf a bf a }
}
}
%<---------- SNIP ----------
HTH,
Abraham
On Thu, Apr 9, 2015 at 8:50 AM, Peter Toye [via Lilypond] <
[email protected]> wrote:
> I'm trying to typeset some finger patterns for exercises and don't want
> bar numbers or barlines. This works fine for the first line, but after a
> \break command to force a new line for the next pattern the clef isn't
> shown.
>
> Obviously I'm doing something wrong, but as a relative Lilypond newbie who
> hasn't used it for a year, I can't work out what. Can some kind soul please
> help?
>
> \version "2.18.2"
>
> \language "english"
>
> \layout {
> ragged-right = ##t
> }
>
> \score {
>
> \new Staff \with {
> \remove "Bar_number_engraver"
> \remove "Time_signature_engraver"
> \remove "Bar_engraver"
>
> }
>
> \new Voice \with {
> \remove "Stem_engraver"
> }
>
> \relative c {
> \key c \major
> \clef bass
>
> { g4_5 a_4 b_3 c_2 d_1 }
> \break
>
> { g,4 a g a b a b a }
> \break
>
> {g4 af g af bf a bf a }
>
> }
>
> }
>
> Regards,
>
> Peter
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=174273&i=0>
> www.ptoye.com
> _______________________________________________
> lilypond-user mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=174273&i=1>
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://lilypond.1069038.n5.nabble.com/Problem-with-break-command-tp174273.html
> To start a new topic under User, email [email protected]
> To unsubscribe from Lilypond, click here
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=>
> .
> NAML
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Problem-with-break-command-tp174273p174277.html
Sent from the User mailing list archive at Nabble.com._______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user