X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Ftext.itely;h=ac5436b94b6fcde8e9119c01396a6e4aef43f745;hb=3c907f2dd5ba3dd91e30454922d8361225ca28d5;hp=7b056dbdbd3fe4e67625ad60acba4278e0469f82;hpb=522f419e3ed3e09ecf834bbb5315ac1777ab13e0;p=lilypond.git diff --git a/Documentation/notation/text.itely b/Documentation/notation/text.itely index 7b056dbdbd..ac5436b94b 100644 --- a/Documentation/notation/text.itely +++ b/Documentation/notation/text.itely @@ -7,7 +7,7 @@ Guide, node Updating translation committishes.. @end ignore -@c \version "2.16.0" +@c \version "2.17.6" @node Text @section Text @@ -124,7 +124,7 @@ margins requires additonal calculations. In cases where slightly faster performance is desired, use @example -\override Score.PaperColumn #'keep-inside-line = ##f +\override Score.PaperColumn.keep-inside-line = ##f @end example @@ -140,7 +140,7 @@ multiple notes with dotted lines. Such objects, called following syntax: @lilypond[verbatim,quote,relative=2] -\override TextSpanner #'(bound-details left text) = "rit." +\override TextSpanner.bound-details.left.text = "rit." b1\startTextSpan e,\stopTextSpan @end lilypond @@ -155,7 +155,7 @@ obtained using @code{\markup} blocks, as described in @ref{Formatting text}. @lilypond[quote,relative=2,verbatim] -\override TextSpanner #'(bound-details left text) = +\override TextSpanner.bound-details.left.text = \markup { \upright "rit." } b1\startTextSpan c e,\stopTextSpan @@ -261,22 +261,28 @@ bar, they can be placed above the bar line or between notes. When specified at a line break, the mark will be printed at the beginning of the next line. -@lilypond[quote,verbatim,relative=2] +@lilypond[quote,verbatim,relative=2,ragged-right] \mark "Allegro" c1 c \mark "assai" \break c c @end lilypond +@funindex \markLengthOn +@funindex markLengthOn +@funindex \markLengthOff +@funindex markLengthOff + +@predefined +@code{\markLengthOn}, +@code{\markLengthOff}. +@endpredefined @snippets @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] {printing-marks-at-the-end-of-a-line.ly} -@lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] -{aligning-marks-with-various-notation-objects.ly} - @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] {printing-marks-on-every-staff.ly} @@ -1116,9 +1122,10 @@ An exhaustive list of graphics-specific commands can be found in @seealso Notation Reference: -@ref{Graphic}, +@ref{Align}, +@ref{Dimensions}, @ref{Editorial annotations}, -@ref{Align}. +@ref{Graphic}. Installed Files: @file{scm/define-markup-commands.scm}, @@ -1166,11 +1173,7 @@ in markup mode: @lilypond[quote,verbatim,relative=1] g1 bes -ees-\markup { - \finger 4 - \tied-lyric #"~" - \finger 1 -} +ees\finger \markup \tied-lyric #"4~1" fis_\markup { \dynamic rf } bes^\markup { \beam #8 #0.1 #0.5 @@ -1397,18 +1400,26 @@ Three families of text fonts are made available: the @emph{roman} @emph{sans} font and the monospaced @emph{typewriter} font -- these last two families are determined by the Pango installation. +@warning{There are no default fonts associated with the @emph{sans} +and @emph{typewriter} font-families. An input file that specifies +either of these can lead to different output on different computers. +To ensure consistent output among multiple platforms, fonts must be +specified by name, and those fonts must be available on any system +that processes the file. See @ref{Single entry fonts} and +@ref{Entire document fonts}.} + Each family may include different shapes and series. The following example demonstrates the ability to select alternate families, shapes, series and sizes. The value supplied to @code{font-size} is the required change from the default size. @lilypond[quote,verbatim,relative=2] -\override Score.RehearsalMark #'font-family = #'typewriter +\override Score.RehearsalMark.font-family = #'typewriter \mark \markup "Ouverture" -\override Voice.TextScript #'font-shape = #'italic -\override Voice.TextScript #'font-series = #'bold +\override Voice.TextScript.font-shape = #'italic +\override Voice.TextScript.font-series = #'bold d2.^\markup "Allegro" -\override Voice.TextScript #'font-size = #-3 +\override Voice.TextScript.font-size = #-3 c4^smaller @end lilypond @@ -1459,8 +1470,8 @@ Any font that is installed on the operating system and recognized by FontConfig may be used in a score, using the following syntax: @lilypond[quote,verbatim,relative=2] -\override Staff.TimeSignature #'font-name = #"Bitstream Charter" -\override Staff.TimeSignature #'font-size = #2 +\override Staff.TimeSignature.font-name = #"Bitstream Charter" +\override Staff.TimeSignature.font-size = #2 \time 3/4 a1_\markup { @@ -1476,8 +1487,8 @@ a1_\markup { @funindex show-available-fonts -The following command displays a list of all available fonts on the -operating system: +Running lilypond with the following option displays a list of all +available fonts on the operating system: @example lilypond -dshow-available-fonts x @@ -1501,8 +1512,9 @@ Snippets: It is possible to change the fonts to be used as the default fonts in the @emph{roman}, @emph{sans} and @emph{typewriter} font families by -specifying them, in that order, as shown in the example below. For an -explanation of fonts, see @ref{Fonts explained}. +specifying them, in that order, as shown in the example below, which +automatically scales the fonts with the value set for the global staff +size. For an explanation of fonts, see @ref{Fonts explained}. @cindex font families, setting @cindex fonts, changing for entire document @@ -1511,12 +1523,11 @@ explanation of fonts, see @ref{Fonts explained}. @lilypond[verbatim,quote] \paper { - myStaffSize = #20 #(define fonts (make-pango-font-tree "Times New Roman" "Nimbus Sans" "Luxi Mono" - (/ myStaffSize 20))) + (/ staff-height pt 20))) } \relative c'{