• Willkommen im Forum „Archiviertes Lilypond Forum (2017)“.
 

Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at lilypondforum.de.

Hauptmenü

Kursive Schrift mit geladenen Windows Fonts?

Begonnen von Lebostein, Dienstag, 12. Februar 2008, 11:47

Vorheriges Thema - Nächstes Thema

Lebostein

Hallo,

das Attribut #'italic bei font-shape scheint nur mit der eingebauten Lilypond-Schriftart zu funktionieren. Wenn man andere Schriften lädt, funktioniert es einfach nicht. Liegt es an mir oder am Programm?  ???

\version "2.10.33"
\include "deutsch.ly"

#(define-markup-command (formatNormal layout props text) (string?)
(interpret-markup layout props
(markup
#:override '(font-shape . italic)
#:override '(font-size . 6)
text
)
)
)


#(define-markup-command (formatEigens layout props text) (string?)
(interpret-markup layout props
(markup
#:override '(font-name . "Times New Roman")
#:override '(font-shape . italic)
#:override '(font-size . 6)
text
)
)
)

\markup \formatNormal #"Benutze Standardfont: Das ist ein Test"
\markup \formatEigens #"Eigener Font: Das ist ein Test"

{ a b c}

\layout {}

etilli33

Ich weiß auch nicht, ich habe gerade ein Schnipsel gefunden, mit dem es funktioniert. Der Nachteil: damit wird die Schrift global festgelegt. Schau hier im Link: http://kainhofer.com/~lilypond/input/lsr/snippets/Text.html ziemlich weit unten: changing-the-default-text.ly

Till