Stacked letters in markup

2015-10-01 Thread Urs Liska
Sorry, I have to ask this *without* looking for a solution before. Just
don't have any time left this time:

How can I overlay letters in lyrics? I want to print two "D"s that
overlap, one left-top, the other bottom-right. The default symbol for a
double dominant.

TIA and sorry again
Urs

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


Re: Stacked letters in markup

2015-10-01 Thread Klaus Blum
Hi Urs, 

double dominant symbol as ready-to-use markup:
http://lsr.di.unimi.it/LSR/Item?id=967

overlay function:
http://lsr.di.unimi.it/LSR/Item?id=628

HTH, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Stacked-letters-in-markup-tp181856p181857.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Stacked letters in markup

2015-10-01 Thread Cynthia Karl

> Message: 1
> Date: Thu, 1 Oct 2015 15:33:51 +0200
> From: Urs Liska 
> To: lilypond-user 
> Subject: Stacked letters in markup
> Message-ID: <560d363f.9010...@openlilylib.org>
> Content-Type: text/plain; charset=utf-8
> 
> Sorry, I have to ask this *without* looking for a solution before. Just
> don't have any time left this time:
> 
> How can I overlay letters in lyrics? I want to print two "D"s that
> overlap, one left-top, the other bottom-right. The default symbol for a
> double dominant.
> 
How about:

\version "2.19.26"

music = \relative c'' { c d e f }
Lyrics = \lyricmode {
\markup {
   \raise #.5 D
   \hspace #-1.8
   \raise #-.5 D
}
}

\score {
\new Staff \music
\addlyrics \Lyrics
}


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


Re: Stacked letters in markup

2015-10-01 Thread Simon Albrecht

On 01.10.2015 15:33, Urs Liska wrote:

Sorry, I have to ask this *without* looking for a solution before. Just
don't have any time left this time:

How can I overlay letters in lyrics? I want to print two "D"s that
overlap, one left-top, the other bottom-right. The default symbol for a
double dominant.


How about this:
\markup { \combine D \translate-scaled #'(.5 . .27) D }
The numbers are somewhat random, #'(.4 . .2) also looks good, though 
less clear perhaps.

(Translate-scaled makes it robust against font size changes.)

Yours, Simon

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


Re: Stacked letters in markup

2015-10-01 Thread Pierre Perol-Schneider
Hi Urs,

How about:

\markup\concat {
  "D"
  \hspace #-1.2
  \translate #'(0 . -.5)
  "D"
}

Cheers,
Pierre

2015-10-01 15:33 GMT+02:00 Urs Liska :

> Sorry, I have to ask this *without* looking for a solution before. Just
> don't have any time left this time:
>
> How can I overlay letters in lyrics? I want to print two "D"s that
> overlap, one left-top, the other bottom-right. The default symbol for a
> double dominant.
>
> TIA and sorry again
> Urs
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Stacked letters in markup

2015-10-01 Thread Pierre Perol-Schneider
Or even :

\markup\concat {
  "D"
  \hspace #-1.2
  \lower #.5
  "D"
}

P.

2015-10-01 19:42 GMT+02:00 Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com>:

> Hi Urs,
>
> How about:
>
> \markup\concat {
>   "D"
>   \hspace #-1.2
>   \translate #'(0 . -.5)
>   "D"
> }
>
> Cheers,
> Pierre
>
> 2015-10-01 15:33 GMT+02:00 Urs Liska :
>
>> Sorry, I have to ask this *without* looking for a solution before. Just
>> don't have any time left this time:
>>
>> How can I overlay letters in lyrics? I want to print two "D"s that
>> overlap, one left-top, the other bottom-right. The default symbol for a
>> double dominant.
>>
>> TIA and sorry again
>> Urs
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Stacked letters in markup

2015-10-01 Thread Robin Bannister

Urs Liska wrote:


How can I overlay letters in lyrics? I want to print two "D"s that
overlap, one left-top, the other bottom-right. The default symbol for a
double dominant.



maybe:

\markup \combine \translate #(cons 0.3 -0.3) "D" \translate #(cons -0.3 
0.3) "D"


and, not just by itself:

\markup \concat { \combine \translate #(cons 0.3 -0.3) "D" \translate 
#(cons -0.3 0.3) "D" ouble }



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


Re: Stacked letters in markup

2015-10-01 Thread Urs Liska
Thank you all for your suggestions and for not flooding me with RTFM.

I'll go with this variation:

dd = \markup {
  \combine
  \translate-scaled #'(0 . .25) D
  \translate-scaled #'(.5 . -.25) D
}

which seems to work well in combination with other, non-stacked symbols.

Best
Urs

Am 01.10.2015 um 15:33 schrieb Urs Liska:
> Sorry, I have to ask this *without* looking for a solution before. Just
> don't have any time left this time:
>
> How can I overlay letters in lyrics? I want to print two "D"s that
> overlap, one left-top, the other bottom-right. The default symbol for a
> double dominant.
>
> TIA and sorry again
> Urs
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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