Re: Key signature color one item

2017-02-07 Thread Tiago Morin
Hi David,

Thank's for the reply. It doesn't seem to work on 2.18.2:

 error: GUILE signaled an error for the expression beginning here
  #
   (key-signature::special-print `((2 . ,red)))
Unbound variable: key-signature::special-print


Any guess?

Thank's

Tiago

On 7 February 2017 at 13:14, David Nalesnik <david.nales...@gmail.com>
wrote:

> Tiago,
>
> On Tue, Feb 7, 2017 at 6:39 AM, Tiago Morin <tiagomo...@gmail.com> wrote:
> > Is there a way to color just one of the accidentals of a key signature?
> > For example: I'd like to color in red the d sharp of the "\key e \major"
> ,
> > leaving the rest of the accidentals in default color.
> >
>
> Try the code here:
> http://www.mail-archive.com/lilypond-user@gnu.org/msg104047.html
>
> For your example, you'd write
>
>  \override Staff.KeySignature.stencil =
>   #(key-signature::special-print `((2 . ,red)))
>  \key e \major
>
> Hope this helps!
>
> David
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Key signature color one item

2017-02-07 Thread Tiago Morin
Is there a way to color just one of the accidentals of a key signature?
For example: I'd like to color in red the d sharp of the "\key e \major" ,
leaving the rest of the accidentals in default color.

Thanks in advance.

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


Re: printing A4 pages on A3 paper

2010-12-20 Thread Tiago Morin
Hi,

Here's the Latex source I use for such situation:

The booklet has to be done manually.

\documentclass[a4paper,landscape]{article}
\paperwidth=420mm
\paperheight=297mm
\pdfpagewidth=\paperwidth
\pdfpageheight=\paperheight
\usepackage{pdfpages}
\begin{document}
\includepdf[pages={2,1},nup=2x1,fitpaper=false,trim=0 0 0 0,delta=0
0,offset=0 
0,scale=1.0,turn=true,noautoscale=true,column=false,columnstrict=false,openright=false]{cover.pdf}
\includepdf[pages={16,1,2,15,14,3,4,13,12,5,6,11,10,7,8,9},nup=2x1,fitpaper=false,trim=0
0 0 0,delta=0 0,offset=0
0,scale=1.0,turn=true,noautoscale=true,column=false,columnstrict=false,openright=false]{inside.pdf}

\end{document}

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


Re: an output question

2008-05-21 Thread Tiago Morin
After many hours struggling with evince and cupsdrivers, and many
paper wasted, I chose to latex the document. taking the idea from
pdfnup I arranjed the sourced to get the result I wanted:

\documentclass[a4paper,landscape]{article}
\paperwidth=420mm
\paperheight=297mm
\pdfpagewidth=\paperwidth
\pdfpageheight=\paperheight
\usepackage{pdfpages}
\begin{document}
\includepdf[pages={1,2,11,10,3,4,9,8,5,6,7},nup=2x1,fitpaper=false,trim=0
0 0 0,delta=0 0,offset=0
0,scale=1.0,turn=true,noautoscale=true,column=false,columnstrict=false,openright=true]{yourfile.pdf}
\end{document}

this was the only way I could get a booklet on A3 pages AND the source
file unresized or uncroped.

On Wed, May 21, 2008 at 3:42 PM, Reinhold Kainhofer
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am Mittwoch, 21. Mai 2008 schrieb David Pirotte:
 evince [gnome document viewer] will do that for you as well,

 Just as KPDF does (as it's using KDE's printing dialog, you can do n-up,
 duplex and even booklet printing, poster printing, etc.)
 Cheers,
 Reinhold

 - --
 - --
 Reinhold Kainhofer, Vienna University of Technology, Austria
 email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
  * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
  * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
  * Chorvereinigung Jung-Wien, http://www.jung-wien.at/
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)

 iD8DBQFINDTzTqjEwhXvPN0RAoa8AJ9pwqCim9aTepPgofWPk79/NlQkaACgzyNY
 kCjPbp5PQJxMR/TIUOhSDyQ=
 =GlPd
 -END PGP SIGNATURE-


 ___
 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


Re: Adding a tremolo for beamed notes

2008-03-03 Thread Tiago Morin
have you tried

e'8:32[ e'16 e'] ?

works nice on 2.10.33

It would help if you copy the lilypond code

Regards

Tiago

On Mon, Mar 3, 2008 at 9:17 PM, Risto Vääräniemi [EMAIL PROTECTED] wrote:
 Dear all,

  I came up with a piece of music that combines a tremolo with a beamed
  eight note. It looks a bit unorthodox (as I cannot find a solution in
  the manual) but it conveys the meaning very well.

  Can you tell me if there's a way to make some kind of a workaround to
  get the desired result or can you suggest an alternative that's more
  by the book? I tried to check the Feta font for a suitable candidate
  that could be used as the tremolo beam. I also tried to create an
  alternative voice with a single quarter note tremolo on top of the
  beamed eight note. Didn't work though.

  I've included two images: one is the result I'd like to get and the
  other is what I get in real life. :-)

  -Risto

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


attachment: test.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


horizontally centered rests

2008-01-16 Thread Tiago Morin
Hi lilyponders,

I'd like to have the rest (r1 or r2 depending on \time 4/4 or 2/4)
centered horizontally between the measure bars instead of the location
where the (absence) of note should be (in the beginning of the
measure). How to?

regards

Tiago


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


Re: hungarian characters

2008-01-13 Thread Tiago Morin
Szia!

Lilypond suports UTF8 as character encoding input. Save your file in
UTF8 encoding and it will appear in the pdf like you wrote it.

Tiago

On Jan 13, 2008 8:48 PM, Nemeth Pal [EMAIL PROTECTED] wrote:
 Hi!

 I have a question of lilypond (\version 2.10.10) in Windows XP
 I want to use special characters in lyrics (é á ú ü ű ő ö ó í)
 How can I do that?
 Thanks!

 Németh Pál

 Fót 2151
 Károlyi István u.1
 [EMAIL PROTECTED]



 ___
 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


Re: spacing between systems

2008-01-03 Thread Tiago Morin
check section 11.2.2 in the manual:
\layout{
\context { \Staff \override VerticalAxisGroup #'minimum-Y-extent = 
#'(-7 . 7)
}
}


On Jan 3, 2008 12:43 PM, Stefan Thomas [EMAIL PROTECTED] wrote:
 Dear Lilypond-users,
 I have a question concerning the layout.
 I want to increase the space between between systems.
 I mean the space between the last  (e.g.double bass) and the first
 (e.g.piccolo) staff of the score.
 How can I do this?
 Thanks for support,
 Stefan



 ___
 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


Re: Few more questions from a beginner

2008-01-02 Thread Tiago Morin
 * Put some naturals in parentheses (e.g., measures 8 and 9)
Section 6.1.3 in the manual ( c? will put accidental in parentheses)

 * Move rests to correct height.  Many of the rests aren't appearing at
 the same height as their voices. (e.g., measures 3 and 7)
Section 6.1.9 (part 2) in the manual (b8\rest will put an 8th rest in
place of b)

 * In 4/4 isn't it better to break 8th notes into groups of two instead
 of groups of four? (e.g., last measure) Is it possible to do that in
 Lilypond?
Section 2.2.5 in the manual (c8[ d] e[ f]); deeper 6.5.5 and 6.5.6

 * Some of the notes are stacked on top of each other. (e.g., measure 4)
  Should I just use padding to move each note individually?
you were explained here:
http://www.nabble.com/Questions-from-new-lilypond-user-td14564682.html
what meant \voiceOne and so on.
Or you can check Section 6.3 in the manual.


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


textspanner too short

2007-12-16 Thread Tiago Morin
Hi lilyponders

I'm having some trouble with the textspanner line. In the following example:

\version 2.10.33
\paper {
  raggedright = ##f
}
\score{

\new Staff{

{e''8.[ c''16] b'8.[ c''16]
\once \override TextSpanner #'edge-text = #'(III . )
\once \override TextSpanner #'direction = #1
\once \override TextSpanner #'style = #'line
\once \override TextSpanner #'edge-height = #'(0 . 0.5)
\once \override TextSpanner #'dash-fraction = #'()
d''8.[\startTextSpan e''16]\stopTextSpan }\\{g2 e c' g' b'4 }
s4 s s s s s s s s s s
}}

the spanner line is not printed, still I think there is some space
left to print it. It seems to me that the text is printed far to right
related to the note head it refers.

Is there a way to offset left the text so more space is left; or
center the text to the notehead; or reduce the gap between the text
and the line?

Thank you

Tiago


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


VoltaBracket padding

2007-12-16 Thread Tiago Morin
Hi lilyponders

I don't know why the voltabracket is printed on the text. Anyway the
manual padding is not working.
\version 2.10.33
\paper {
  raggedright = ##f
}
\score{

\new Staff{
c'4 c' c' c'
\override VoltaBracket #'padding = #5
\set Score.repeatCommands = #'((volta 1.))
f c' f' a' c'' f''2^\markup{\center-align {\italic
I}}^\markup{\center-align {\smaller 6}} e''8.[ f''16]
\set Score.repeatCommands = #'((volta #f))
}}

any ideas?

Thank you

Tiago


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


Re: tremolo

2007-12-13 Thread Tiago Morin
Hi Stefan,

Sometimes I find myself in situations where problems don't seem to
have any obvious solutions. In such cases I try to tune the object to
my needs. In this case:
{
\once \override Beam #'positions = #'(-8 . -8)
\repeat tremolo 8 { c, e,16  e 16 }
 \repeat tremolo 4 { c f, 16 f16 }
\repeat tremolo 4 {cis f,16 f16 }
\once \override Beam #'positions = #'(-6 . -6)
\repeat tremolo 8 {cis g16 f16 }
\repeat tremolo 4 {d g16 f16 }
 \repeat tremolo 4 {d gis16 e16 }
\once \override Beam #'positions = #'(-6 . -6)
\repeat tremolo 8 {d a16 f16 }
\once \override Beam #'positions = #'(-6 . -6)
 \repeat tremolo 8 {d b16 f16 }

this might reduce the ugliness of your score.

Maybe anyone has any idea why the beam is not directed down as it is a
second voice in a staff

Tiago


On Dec 13, 2007 9:38 PM, Stefan Thomas [EMAIL PROTECTED] wrote:
 Dear Lilypondusers,
 I have a special problem with tremolo. What could be the reason, that
 the below quoted file looks so strange?

 \version 2.10.10
 upper =  \relative c'
  {
 \clef treble
 \key c \major
 \time 4/4
 e c 1^\markup { Grundgeruest, Textstelle:  ''Er schwur mit tausend
 Eiden'' }  f c  g d  \break
  {e'2.^\markup {dasselbe, verziert mit chromatischen Durchgaengen}
 c4 f2. e4 cis1 d4 r f2. f,4 a2. g4} \\
  {
 \repeat tremolo 8 { c, e,16  e 16 }
  \repeat tremolo 4 { c f, 16 f16 }
 \repeat tremolo 4 {cis f,16 f16 }
 \repeat tremolo 8 {cis g16 f16 }
 \repeat tremolo 4 {d g16 f16 }
  \repeat tremolo 4 {d gis16 e16 }
 \repeat tremolo 8 {d a16 f16 }
  \repeat tremolo 8 {d b16 f16 }
 }
 f2 e4 r \break
 }


 lower = \relative c {
 \clef bass
 \key c \major
 \time 4/4
 gis1 a b
 gis a b~ b2. r4 g1~ g2 r
 }

 \score {
 \new PianoStaff 
 \set PianoStaff.instrumentName = Klavier 
 \new Staff = upper \upper
 \new Staff = lower \lower
 
 \layout { }
 }
 \header {title = Tristan, Szene 3, Akt 1 subtitle = Deutung
 einiger harmonisch komplizierter Stellen }
 Stefan Thomas
 Siebengebirgsallee 9
 50939 Köln
 Tel.Fax:0049(0)221/412529
 mail: [EMAIL PROTECTED]



 ___
 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


Re: Underlined + double underlined fingering instructions for accordion scores

2007-07-07 Thread Tiago Morin

Hi

I could write in french, but this might be usefull for someone else, it was
a pain in the but for me to find this out.

I'm a guitarrist, so I adapted the code for the four fingers, as the thumb
is not used in the Left Hand.
In the code bellow, you find code for fingering for the left end (Ln - none,
Li - index, LM - long, La - ring, Lm - little), and underlines (Lui), double
underline (Luui). I trust in your cleverness to continue the job! ;)
You'll have to tweak the -1.4 -0.2 moveto to align the postscripts.

I didn't need anything else than lilypond to obtain an output whith the
following code. I'm running linux.

\version  2.10.25
Ln = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 0 }
Li = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 1 }
LM = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 2 }
La = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 3 }
Lm = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 4 }

Lun = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 0 \postscript # 0.08 setlinewidth -1.46 -0.2 moveto 0.88 0
rlineto stroke}
Lui = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 1 \postscript #0.08 setlinewidth -1.4 -0.2 moveto 0.85 0
rlineto stroke}
LuM = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 2 \postscript #0.08 setlinewidth -1.5 -0.2 moveto 0.95 0
rlineto stroke}
Lua = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 3 \postscript #0.08 setlinewidth -1.4 -0.2 moveto 0.8 0
rlineto stroke}
Lum = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 4 \postscript # 0.08 setlinewidth -1.55 -0.2 moveto 1 0
rlineto stroke}

Luui = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 1 \postscript #0.08 setlinewidth -1.4 -0.2 moveto 0.85 0
rlineto stroke \postscript #0.08 setlinewidth -2 -0.4 moveto 0.85 0
rlineto stroke}

\new Staff {
c^\Li
d^\Lui
d^Luui
\once \override TextScript #'extra-offset = #'(0 . 1) d^\Luui
}

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


Re: Underlined + double underlined fingering instructions for accordion scores

2007-07-04 Thread Tiago Morin

Hi

I managed to output underlined fingering with the following code:

Ln = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 0 \postscript #0.08 setlinewidth -1.46 -0.2 moveto 0.88 0
rlineto stroke}
Li = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 1 \postscript #0.08 setlinewidth -1.4 -0.2 moveto 0.85 0
rlineto stroke}
LM = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 2 \postscript #0.08 setlinewidth -1.5 -0.2 moveto 0.95 0
rlineto stroke}
La = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 3 \postscript #0.08 setlinewidth -1.4 -0.2 moveto 0.8 0
rlineto stroke}
Lm = \markup{\override #'(font-size . -5) \override #'(font-encoding .
fetaNumber) 4 \postscript #0.08 setlinewidth -1.55 -0.2 moveto 1 0
rlineto stroke}

You should be able to add as many \postscript as you want, thus printing
double underline. You'll have to search for the right variables on the
\postscript command to output what you want.

If you're using lilypond-book mind that your postscript output might not
appear in the .ps frame.

Tiago


On 7/4/07, Ledocq-Boccart [EMAIL PROTECTED] wrote:


Hello!

For left hand keyboard of accordion, fingering instructions are annoted
with figures as 2,3,4,5 for the middle button row; with simple
underlined figures (_2_, _3_, _4_, _5_),  the following row , and
double-underlined figures for the last bass button row (I caanot give
example with the font of the editor of my e-mail text processor).

I tried with
c^ \markup { \underline 2 }
in a score, for example, but without succes (I did not find any
\underline instruction.in the doc)

Does this topics have already been solved by Lilyponders?

Thank you for answering.

Charlie


___
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


clashing notes

2007-02-11 Thread Tiago Morin
Hi

I'm trying to reduce beamed stem length to avoid stem clash:
{g'2}\\{
\stemUp
\override Stem #'details #'beamed-lengths = #'(1.25 )
g8[ d'] f'[ d']
}\\{ \stemDown g2}

the Stem #'details #'beamed-lengths allows to increase the stem
but not reduce... :(

any suggestions?

Thank's

Tiago Morin



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


more than one TextSpanner

2007-01-11 Thread Tiago Morin
Hi

I'm trying to place two textspanner over a voice. one of them down all over the
melody (pizzicatto) and another one temporarily for barre indication.
something like:

\textSpannerDown
\once \override TextSpanner #'padding = #1
\override TextSpanner #'edge-text = #'(Pizzicatto  . )
d8[\startTextSpan fis b d']

{
\textSpannerUp
\once \override TextSpanner #'edge-text = #'(II  . )
\once \override TextSpanner #'direction = #1
\once \override TextSpanner #'style = #'line
\once \override TextSpanner #'edge-height = #'(0 . 0.5)
\once \override TextSpanner #'padding = #1.5
\once \override TextSpanner #'dash-fraction = #'()
a8[ cis' e'\startTextSpan a']\stopTextSpan
}

d8[ fis b d']\stopTextSpan

\stopTextSpan

I tried also to put the new spanner in a voice { %spannerhere% }\\{} but the
spanner does not get the TextSpanner settings.

Thank's for your help.

Tiago Morin



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