Re: long text in composer / invisible TimeSignature

2009-02-09 Thread Robin Bannister

Zbyněk Burget wrote:

Splitting it onto two lines is unavailing. Therefore i want way to expanding 
width of
this line.


The default layout puts poet, instrument and composer all on one line.
This is not compatible with the length of your composer text.
Even if instrument is unused, its (centred) layout is still active and this
obstructs leftward expansion of the composer text.

If you want to stay close to what the default offers, you could
move the composer field down onto its own line:
i.e.   insert } \fill-line {into bookTitleMarkup
using the technique suggested in NR 3.2.2.

Cheers,
Robin

\paper {
  bookTitleMarkup = \markup {
\override #'(baseline-skip . 3.5)
\column {
  \fill-line { \fromproperty #'header:dedication }
  \override #'(baseline-skip . 3.5)
  \column {
\huge \larger \bold
\fill-line {
  \larger \fromproperty #'header:title
}
\fill-line {
  \large \smaller \bold
  \larger \fromproperty #'header:subtitle
}
\fill-line {
  \smaller \bold
  \fromproperty #'header:subsubtitle
}
\fill-line {
   \fromproperty #'header:poet
   { \large \bold \fromproperty #'header:instrument }

}
\fill-line { 
   
   \fromproperty #'header:composer
}
\fill-line {
  \fromproperty #'header:meter
  \fromproperty #'header:arranger
}
  }
}
  }
}


\header { 
  title = title_line 
  poet = poet_line
  instrument = instrument_line
  composer = composer_line_20304050607080
  meter = meter_line
  arranger = arranger_line
}

{s1*50}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: long text in composer / invisible TimeSignature

2009-02-09 Thread Nick Payne
Why not use \bookpart and have a separate title page with all that
information. You can format that exactly as you wish without using the
predefined fields:

%===

\version 2.12.2

date = #(strftime %d/%m/%Y (localtime (current-time)))
copywrite = #(strftime Copyright C %Y (localtime (current-time)))

#(define-markup-command (bookpart-page-number layout props) ()
(let ((first-page-number (ly:output-def-lookup layout
'first-page-number))
(page-number (chain-assoc-get 'page:page-number props 0)))
(interpret-markup layout props (format ~a (1+ (-
page-number first-page-number))

\paper {
#(set-paper-size a4)
top-margin = 1.5\cm
bottom-margin = 1.5\cm
line-width = 18\cm
%   ragged-bottom = ##f
%   ragged-last-bottom = ##f
oddHeaderMarkup = \markup \fill-line {
\on-the-fly #not-first-page \fromproperty
#'header:instrument
\on-the-fly #print-page-number-check-first
\bookpart-page-number
}
oddFooterMarkup = \markup \fill-line {
\on-the-fly #part-last-page \fromproperty
#'header:parttagline
}
evenHeaderMarkup = \markup \fill-line {
\on-the-fly #print-page-number-check-first
\bookpart-page-number
\on-the-fly #not-first-page \fromproperty
#'header:instrument
}
evenFooterMarkup = \markup \fill-line {
\on-the-fly #part-last-page \fromproperty
#'header:parttagline
}
}

\header {
title = \markup {
\lower #40 \column \center-align { 
\fontsize #4 \bold Title line
\lower #2 \fontsize #3 Poet line
\lower #4 \fontsize #2 Instrument line
\lower #5 \fontsize #-3
composer_line_203040506070_
___80
\lower #8 \fontsize #2 Meter line
\lower #8 \fontsize #2 Arranger line
}
}
tagline = ##f
}

\markup \null

\bookpart {
\header {
title = \markup Title goes here
parttagline = \markup {
\center-align
\fontsize #-3.5
{
\center-align
{
\fill-line {   Typeset by me 
\date  \copywrite  }
}
}
}
}
\score {
{s1*50}
\layout {
\context {
}
}
}
}
%===


Nick

 -Original Message-
 From: lilypond-user-bounces+nick.payne=internode.on@gnu.org
 [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On
 Behalf Of Robin Bannister
 Sent: Monday, 9 February 2009 21:11
 To: Zbyněk Burget; Lilypond
 Subject: Re: long text in composer / invisible TimeSignature
 
 Zbyněk Burget wrote:
  Splitting it onto two lines is unavailing. Therefore i want way to
  expanding width of this line.
 
 The default layout puts poet, instrument and composer all on one line.
 This is not compatible with the length of your composer text.
 Even if instrument is unused, its (centred) layout is still active and
 this obstructs leftward expansion of the composer text.
 
 If you want to stay close to what the default offers, you could move
 the composer field down onto its own line:
 i.e.   insert } \fill-line {into bookTitleMarkup
 using the technique suggested in NR 3.2.2.
 
 Cheers,
 Robin
 
 
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.0.233 / Virus Database: 270.10.19/1940 - Release Date:
 02/08/09 17:57:00



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: long text in composer / invisible TimeSignature

2009-02-08 Thread Robin Bannister

Zbyněk Burget wrote:


How I can write long text to composer to header?

Try
 composer = \markup \right-align  Some long text ... 

If this isn't what you want, have a look at NR 3.2.1 where
the demo splits the composer text onto two lines using \center-column.



Why don't hide TimeSignature?

I think this is because
- break-visibility is (mainly) to do with responding to line breaks,
- the start of the first line does not involve a line break.
Not very convincing? Read more in NR 5.4.6 / Using break-visibility.

So just override the stencil.
Removing the engraver may disable other things as well.

Cheers,
Robin



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: long text in composer / invisible TimeSignature

2009-02-08 Thread Zbyněk Burget

Robin Bannister napsal(a):

Zbyněk Burget wrote:


How I can write long text to composer to header?

Try
 composer = \markup \right-align  Some long text ... 

If this isn't what you want, have a look at NR 3.2.1 where
the demo splits the composer text onto two lines using \center-column.


a bit of spaci is absent for my text in composer. Splitting it onto two
lines is unavailing. Therefore i want way to expanding width of this line.
BTW - if text is splitted onto two lines and simultaneously is defined
arranger, spacing between lines is wrong (at default).






Why don't hide TimeSignature?

I think this is because
- break-visibility is (mainly) to do with responding to line breaks,
- the start of the first line does not involve a line break.
Not very convincing? Read more in NR 5.4.6 / Using break-visibility.

   ^
I read it number of times, but misconcieve :-[
removing time signature engraver it was what I want

Thanks,
Zbynek



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: long text in composer / invisible TimeSignature

2009-02-08 Thread Zbyněk Burget

Marek Klein napsal(a):

Hi,

\score {
 \new Staff {
   \clef treble
   \key c \major
  \override Staff.TimeSignature #'stencil = ##f
   \relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. }
 }
}
\score {
 \new Staff {
   \clef treble
   \key c \major
   \relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. }
 }
  \layout {
\context {
  \Staff
  \remove Time_signature_engraver
}
  }
}


Thanks!!! It is what I want!!!




See also:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-big-page#Transcribing-Gregorian-chant


I read what I found, but this go unnoticed for me :-(


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


long text in composer / invisible TimeSignature

2009-02-07 Thread Zbyněk Burget

Hi,
I've two new problems.

1. How I can write long text to composer to header?
2. Why don't hide TimeSignature?

Zbynek



\version 2.12.2

\header{
  composer = Some long text. Long, long, long, long, long, long, long, 
long, long.

}

\score {
  \new Staff {
\clef treble
\key c \major
\override Staff.TimeSignature #'break-visibility = #all-invisible
\relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. }
  }
}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: long text in composer / invisible TimeSignature

2009-02-07 Thread Marek Klein
Hi,

Concerning time signatur I have found two possibilities:
%%
\version 2.12.1

\score {
 \new Staff {
   \clef treble
   \key c \major
   \override Staff.TimeSignature #'break-visibility = #all-invisible
   \relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. }
 }
}
\score {
 \new Staff {
   \clef treble
   \key c \major
  \override Staff.TimeSignature #'stencil = ##f
   \relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. }
 }
}
\score {
 \new Staff {
   \clef treble
   \key c \major
   \relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. }
 }
  \layout {
\context {
  \Staff
  \remove Time_signature_engraver
}
  }
}

See also:

http://lilypond.org/doc/v2.12/Documentation/user/lilypond-big-page#Transcribing-Gregorian-chant



-- 
Marek Klein
http://gregoriana.sk



2009/2/7 Zbyněk Burget zbur...@burgnet.cz

 Hi,
 I've two new problems.

 1. How I can write long text to composer to header?
 2. Why don't hide TimeSignature?

 Zbynek



 \version 2.12.2

 \header{
  composer = Some long text. Long, long, long, long, long, long, long,
 long, long.
 }

 \score {
  \new Staff {
\clef treble
\key c \major
\override Staff.TimeSignature #'break-visibility = #all-invisible
\relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. }
  }
 }


 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user