Previous: Instrument Specific Markup, Up: Text markup commands


B.8.6 Other

\backslashed-digit num (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
          }
     

[image of music]

Used properties:


\char num (integer)

Produce a single character. For example, \char #65 produces the letter ‘A’.

          
          \markup {
            \char #65
          }
     

[image of music]


\fraction arg1 (markup) arg2 (markup)

Make a fraction of two markups.

          
          \markup {
            π ≈
            \fraction 355 113
          }
     

[image of music]

Used properties:


\fromproperty symbol (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
          }
     

[image of music]


\lookup glyph-name (string)

Lookup a glyph by name.

          
          \markup {
            \override #'(font-encoding . fetaBraces) {
              \lookup #"brace200"
              \hspace #2
              \rotate #180
              \lookup #"brace180"
            }
          }
     

[image of music]


\markalphabet num (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
          }
     

[image of music]


\markletter num (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
          }
     

[image of music]


\null

An empty markup with extents of a single point.

          
          \markup {
            \null
          }
     

[image of music]


\on-the-fly procedure (symbol) arg (markup)

Apply the procedure markup command to arg. procedure should take a single argument.

\override new-prop (pair) arg (markup)

Add the first argument in to the property list. Properties may be any sort of property supported by font-interface and text-interface, for example

     \override #'(font-family . married) "bla"
          
          \markup {
            \line {
              \column {
                default
                baseline-skip
              }
              \hspace #2
              \override #'(baseline-skip . 4) {
                \column {
                  increased
                  baseline-skip
                }
              }
            }
          }
     

[image of music]


\page-ref label (symbol) gauge (markup) default (markup)

Reference to a page number. label is the label set on the referenced page (using the \label command), gauge a markup used to estimate the maximum width of the page number, and default the value to display when label is not found.

\slashed-digit num (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
          }
     

[image of music]

Used properties:


\stencil stil (unknown)

Use a stencil as markup.

          
          \markup {
            \stencil #(make-circle-stencil 2 0 #t)
          }
     

[image of music]


\strut

Create a box of the same height as the space in the current font.

\transparent arg (markup)

Make the argument transparent.

          
          \markup {
            \transparent {
              invisible text
            }
          }
     

[image of music]


\verbatim-file name (string)

Read the contents of a file, and include it verbatim.

          
          \markup {
            \verbatim-file #"simple.ly"
          }
     

[image of music]


\whiteout arg (markup)

Provide a white background for arg.

          
          \markup {
            \combine
              \filled-box #'(-1 . 10) #'(-3 . 4) #1
              \whiteout whiteout
          }
     

[image of music]


\with-color color (list) arg (markup)

Draw arg in color specified by color.

          
          \markup {
            \with-color #red
            red
            \hspace #2
            \with-color #green
            green
            \hspace #2
            \with-color #blue
            blue
          }
     

[image of music]


\with-dimensions x (pair of numbers) y (pair of numbers) arg (markup)

Set the dimensions of arg to x and y.

This page is for LilyPond-2.11.58 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español, deutsch.