A.11.8 Other
-
\auto-footnotemkup (markup) note (markup) -
Have footnote note act as an annotation to the markup mkup.
\markup { \auto-footnote a b \override #'(padding . 0.2) \auto-footnote c d }The footnote will be annotated automatically.
Used properties:
-
padding(0.0) -
raise(0.5)
-
-
\backslashed-digitnum (integer) -
A feta number, with backslash. This is for use in the context of figured bass notation.
\markup { \backslashed-digit #5 \hspace #2 \override #'(thickness . 3) \backslashed-digit #7 }
Used properties:
-
thickness(1.6) -
font-size(0)
-
-
\charnum (integer) -
Produce a single character. Characters encoded in hexadecimal format require the prefix
#x.\markup { \char #65 \char ##x00a9 }
-
\eyeglasses -
Prints out eyeglasses, indicating strongly to look at the conductor.
\markup { \eyeglasses }
-
\first-visibleargs (markup list) -
Use the first markup in args that yields a non-empty stencil and ignore the rest.
\markup { \first-visible { \fromproperty #'header:composer \italic Unknown } }
-
\footnotemkup (markup) note (markup) -
Have footnote note act as an annotation to the markup mkup.
\markup { \footnote a b \override #'(padding . 0.2) \footnote c d }The footnote will not be annotated automatically.
-
\fractionarg1 (markup) arg2 (markup) -
Make a fraction of two markups.
\markup { ? ? \fraction 355 113 }
Used properties:
-
font-size(0)
-
-
\frompropertysymbol (symbol) -
Read the symbol from property settings, and produce a stencil from the markup contained within. If symbol is not defined, it returns an empty markup.
\header { myTitle = "myTitle" title = \markup { from \italic \fromproperty #'header:myTitle } } \markup { \null }
-
\left-bracesize (number) -
A feta brace in point size size.
\markup { \left-brace #35 \hspace #2 \left-brace #45 }
-
\lookupglyph-name (string) -
Lookup a glyph by name.
\markup { \override #'(font-encoding . fetaBraces) { \lookup #"brace200" \hspace #2 \rotate #180 \lookup #"brace180" } }
-
\markalphabetnum (integer) -
Make a markup letter for num. The letters start with A to Z and continue with double letters.
\markup { \markalphabet #8 \hspace #2 \markalphabet #26 }
-
\markletternum (integer) -
Make a markup letter for num. The letters start with A to Z (skipping letter I), and continue with double letters.
\markup { \markletter #8 \hspace #2 \markletter #26 }
-
\null -
An empty markup with extents of a single point.
\markup { \null }
-
\on-the-flyprocedure (procedure) arg (markup) -
Apply the procedure markup command to arg. procedure takes the same arguments as
interpret-markupand returns a stencil. -
\overridenew-prop (pair) arg (markup) -
Add the argument new-prop to the property list. Properties may be any property supported by font-interface, text-interface and instrument-specific-markup-interface.
new-prop may be either a single alist pair, or non-empty alist of its own.
\markup { \undertie "undertied" \override #'(offset . 15) \undertie "offset undertied" \override #'((offset . 15)(thickness . 3)) \undertie "offset thick undertied" }
-
\page-linkpage-number (number) arg (markup) -
Add a link to the page page-number around arg. This only works in the PDF backend.
\markup { \page-link #2 { \italic { This links to page 2... } } }
-
\page-reflabel (symbol) gauge (markup) default (markup) -
Reference to a page number. label is the label set on the referenced page (using
\labelor\tocItem), gauge a markup used to estimate the maximum width of the page number, and default the value to display when label is not found.(If the current book or bookpart is set to use roman numerals for page numbers, the reference will be formatted accordingly – in which case the gauge’s width may require additional tweaking.)
-
\patterncount (non-negative, exact integer) axis (non-negative, exact integer) space (number) pattern (markup) -
Prints count times a pattern markup. Patterns are spaced apart by space (defined as for
\hspaceor\vspace, respectively). Patterns are distributed on axis.\markup \column { "Horizontally repeated :" \pattern #7 #X #2 \flat \null "Vertically repeated :" \pattern #3 #Y #0.5 \flat }
-
\property-recursivesymbol (symbol) -
Print out a warning when a header field markup contains some recursive markup definition.
-
\right-bracesize (number) -
A feta brace in point size size, rotated 180 degrees.
\markup { \right-brace #45 \hspace #2 \right-brace #35 }
-
\slashed-digitnum (integer) -
A feta number, with slash. This is for use in the context of figured bass notation.
\markup { \slashed-digit #5 \hspace #2 \override #'(thickness . 3) \slashed-digit #7 }
Used properties:
-
thickness(1.6) -
font-size(0)
-
-
\stencilstil (stencil) -
Use a stencil as markup.
\markup { \stencil #(make-circle-stencil 2 0 #t) }
-
\strut -
Create a box of the same height as the space in the current font.
-
\transparentarg (markup) -
Make arg transparent.
\markup { \transparent { invisible text } }
-
\verbatim-filename (string) -
Read the contents of file name, and include it verbatim.
\markup { \verbatim-file #"en/included/simple.ly" }
-
\whiteoutarg (markup) -
Provide a white background for arg. The shape of the white background is determined by
style. The default isboxwhich produces a rectangle.rounded-boxproduces a rounded rectangle.outlineapproximates the outline of the markup.\markup { \combine \filled-box #'(-1 . 15) #'(-3 . 4) #1 \override #'(thickness . 1.5) \whiteout whiteout-box } \markup { \combine \filled-box #'(-1 . 24) #'(-3 . 4) #1 \override #'((style . rounded-box) (thickness . 3)) \whiteout whiteout-rounded-box } \markup { \combine \filled-box #'(-1 . 18) #'(-3 . 4) #1 \override #'((style . outline) (thickness . 3)) \whiteout whiteout-outline }
Used properties:
-
thickness(()) -
style(box)
-
-
\with-colorcolor (color) arg (markup) -
Draw arg in color specified by color.
\markup { \with-color #red red \hspace #2 \with-color #green green \hspace #2 \with-color "#0000ff" blue }
-
\with-dimensionaxis (integer) val (pair of numbers) arg (markup) -
Set the horizontal dimension of arg to val if axis is equal to
X. If axis is equal toY, set the vertical dimension of arg to val instead. -
\with-dimension-fromaxis (integer) arg1 (markup) arg2 (markup) -
Print arg2 but replace the horizontal dimension with the one from arg1 if axis is set to
X. If axis is set toY, replace the vertical dimension with the one from arg1 instead. -
\with-dimensionsx (pair of numbers) y (pair of numbers) arg (markup) -
Set the horizontal and vertical dimensions of arg to x and y.
-
\with-dimensions-fromarg1 (markup) arg2 (markup) -
Print arg2 with the horizontal and vertical dimensions of arg1.
-
\with-linklabel (symbol) arg (markup) -
Add a link to the page holding label label around arg. This only works in the PDF backend.
\markup { \with-link #'label { \italic { This links to the page containing the label... } } } -
\with-outlineoutline (markup) arg (markup) -
Print arg with the outline and dimensions of outline. The outline is used by skylines to resolve collisions (not for whiteout).
-
\with-true-dimensionaxis (integer) arg (markup) -
Give arg its actual dimension (extent) on axis. Sometimes, the extents of a markup’s printed ink differs from the default extents. The main case is if glyphs are involved. By default, the extents of a glyph are based on the glyph’s metrics (i.e., a default vertical and horizontal size for the glyph), which, for various reasons, are often not identical to its bounding box (i.e., the smallest rectangle that completely encompasses the glyph’s outline) – in most cases, the outline protrudes the box spanned up by the metrics.
\markup \fontsize #10 \override #'((box-padding . 0) (thickness . 0.2)) \box \musicglyph "scripts.trill"
For purposes other than setting text, this behavior may not be wanted. You can use
\with-true-dimensionin order to give the markup its actual printed extent.\markup \fontsize #10 \override #'((box-padding . 0) (thickness . 0.2)) \box \with-true-dimension #X \musicglyph "scripts.trill"
-
\with-true-dimensionsarg (markup) -
\markup \with-true-dimensions argis short for\markup \with-true-dimension #X \with-true-dimension #Y arg, i.e.,\with-true-dimensionshas the effect of\with-true-dimensionon both axes.
![[image of music]](../5e/lily-e07a4f53.png)
![[image of music]](../69/lily-8a537b0e.png)
![[image of music]](../6d/lily-0febdff9.png)
![[image of music]](../38/lily-f240ded8.png)
![[image of music]](../9f/lily-26f95834.png)
![[image of music]](../d9/lily-0bd745e5.png)
![[image of music]](../bb/lily-96ecebc2.png)
![[image of music]](../42/lily-aab4edf7.png)
![[image of music]](../00/lily-3b688333.png)
![[image of music]](../10/lily-d83d47d1.png)
![[image of music]](../ff/lily-41e52510.png)
![[image of music]](../ef/lily-fb856aae.png)
![[image of music]](../93/lily-39c60670.png)
![[image of music]](../7c/lily-4b58c55b.png)
![[image of music]](../4c/lily-ffde738f.png)
![[image of music]](../32/lily-66c81ab7.png)
![[image of music]](../91/lily-c726779b.png)
![[image of music]](../7f/lily-0d0c71a7.png)
![[image of music]](../d7/lily-2cb74d75.png)
![[image of music]](../d3/lily-9eacc13e.png)
![[image of music]](../18/lily-9a932e34.png)
![[image of music]](../8c/lily-86602426.png)
![[image of music]](../33/lily-c8b6aece.png)
![[image of music]](../3d/lily-3f416466.png)
![[image of music]](../27/lily-b7ac3058.png)