<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- header_tag --> <html lang="en"> <head> <title>Other - GNU LilyPond Notation Reference</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="GNU LilyPond Notation Reference"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Text-markup-commands.html#Text-markup-commands" title="Text markup commands"> <link rel="prev" href="Instrument-Specific-Markup.html#Instrument-Specific-Markup" title="Instrument Specific Markup"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- Copyright (C) 1999--2007 by the authors Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections. A copy of the license is included in the section entitled ``GNU Free Documentation License''. --> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } hr { border:0; height:1; color: #000000; background-color: #000000; } /* hr { border: none; height: 1px; color: #666666; background-color: #666666; } body { border-left: 1px solid #666666; border-right: 1px solid #666666; color: #332d28; margin-right: auto; margin-left: auto; width: 60em; list-style-type: square; font-family: Arial,Helvetica,sans-serif; padding-right: 1em; padding-left: 1em; } a { border-bottom: 1px dashed #344242; text-decoration: none; color: #344242; } a:link { text-decoration: none; } a:visited { border-bottom: 1px dashed #666666; color: #666666; } a:active { border-bottom: 1px solid #00cccc; color: #00cccc; } a:hover { border-bottom: 1px solid #1d7b85; color: #1d7b85; } blockquote { border: 1px solid #cccccc; padding: 3px; width: 40em; } .node { border-left: 1px solid #666666; margin: -0.5em 0px 1em; padding: 2px 1px 0px; font-style: italic; } .node a { border: none; text-decoration: underline; font-style: normal; font-weight: bold; } .verbatim { font-family: "Courier New",Courier,monospace; } .unnumberedsubsubsec { font-size: large; color: #1d7b85; } .subsubheading { font-size: large; color: #3b220d; } .contents { border: 1px dashed #339999; margin: 3px 2em; list-style-type: square; padding-right: 1em; width: 40em; background-color: #fcfff9; } .contents a { border-bottom: 1px dashed #423d34; text-decoration: none; color: #423d34; } .contents a:visited { border-bottom: 1px dashed #666666; color: #666666; } .contents a:active { border-bottom: 1px solid #f0d86d; color: #f0d86d; } .contents a:hover { border-bottom: 1px solid #3b220d; color: #3b220d; } .menu { border-left: 1px dashed #339999; margin: 3px 2em 1em; list-style-type: square; padding-left: 1.4em; width: 40em; } .unnumbered { } h2 { font-size: x-large; color: #1d7b85; } */ --></style> </head> <BODY BGCOLOR=WHITE TEXT=BLACK> <div class="node"> <p> <a name="Other"></a> Previous: <a rel="previous" accesskey="p" href="Instrument-Specific-Markup.html#Instrument-Specific-Markup">Instrument Specific Markup</a>, Up: <a rel="up" accesskey="u" href="Text-markup-commands.html#Text-markup-commands">Text markup commands</a> <hr> </div> <h4 class="appendixsubsec">B.8.6 Other</h4> <dl> <dt><code>\backslashed-digit</code> <var>num</var> (integer)<dd><a name="index-g_t_005cbackslashed_002ddigit-3187"></a><a name="index-g_t_005cbackslashed_002ddigit-3188"></a> <p><a name="index-g_t_005cbackslashed_002ddigit-3189"></a> <a name="index-backslashed-digits-3190"></a> A feta number, with backslash. This is for use in the context of figured bass notation. <blockquote> <pre class="verbatim"> \markup { \backslashed-digit #5 \hspace #2 \override #'(thickness . 3) \backslashed-digit #7 } </pre> <p> <a href="../32/lily-75578f4f.ly"> <img align="middle" border="0" src="../32/lily-75578f4f.png" alt="[image of music]"> </a> </p> </blockquote> <p>Used properties: <ul> <li><code>thickness</code> (1.6) <li><code>font-size</code> (0) </ul> <br><dt><code>\char</code> <var>num</var> (integer)<dd><a name="index-g_t_005cchar-3191"></a><a name="index-g_t_005cchar-3192"></a> <p><a name="index-g_t_005cchar-3193"></a>Produce a single character. For example, <code>\char #65</code> produces the letter ‘A’. <blockquote> <pre class="verbatim"> \markup { \char #65 } </pre> <p> <a href="../71/lily-bbfd371e.ly"> <img align="middle" border="0" src="../71/lily-bbfd371e.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\fraction</code> <var>arg1</var> (markup) <var>arg2</var> (markup)<dd><a name="index-g_t_005cfraction-3194"></a><a name="index-g_t_005cfraction-3195"></a> <p><a name="index-g_t_005cfraction-3196"></a> <a name="index-creating-text-fractions-3197"></a> Make a fraction of two markups. <blockquote> <pre class="verbatim"> \markup { π ≈ \fraction 355 113 } </pre> <p> <a href="../87/lily-bae2f4e9.ly"> <img align="middle" border="0" src="../87/lily-bae2f4e9.png" alt="[image of music]"> </a> </p> </blockquote> <p>Used properties: <ul> <li><code>font-size</code> (0) </ul> <br><dt><code>\fromproperty</code> <var>symbol</var> (symbol)<dd><a name="index-g_t_005cfromproperty-3198"></a><a name="index-g_t_005cfromproperty-3199"></a> <p><a name="index-g_t_005cfromproperty-3200"></a>Read the <var>symbol</var> from property settings, and produce a stencil from the markup contained within. If <var>symbol</var> is not defined, it returns an empty markup. <blockquote> <pre class="verbatim"> \header { myTitle = "myTitle" title = \markup { from \italic \fromproperty #'header:myTitle } } \markup { \null } </pre> <p> <a href="../82/lily-d7bf61f2.ly"> <img align="middle" border="0" src="../82/lily-d7bf61f2.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\lookup</code> <var>glyph-name</var> (string)<dd><a name="index-g_t_005clookup-3201"></a><a name="index-g_t_005clookup-3202"></a> <p><a name="index-g_t_005clookup-3203"></a>Lookup a glyph by name. <blockquote> <pre class="verbatim"> \markup { \override #'(font-encoding . fetaBraces) { \lookup #"brace200" \hspace #2 \rotate #180 \lookup #"brace180" } } </pre> <p> <a href="../d0/lily-a458b405.ly"> <img align="middle" border="0" src="../d0/lily-a458b405.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\markalphabet</code> <var>num</var> (integer)<dd><a name="index-g_t_005cmarkalphabet-3204"></a><a name="index-g_t_005cmarkalphabet-3205"></a> <p><a name="index-g_t_005cmarkalphabet-3206"></a>Make a markup letter for <var>num</var>. The letters start with A to Z and continue with double letters. <blockquote> <pre class="verbatim"> \markup { \markalphabet #8 \hspace #2 \markalphabet #26 } </pre> <p> <a href="../8b/lily-cad96b7d.ly"> <img align="middle" border="0" src="../8b/lily-cad96b7d.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\markletter</code> <var>num</var> (integer)<dd><a name="index-g_t_005cmarkletter-3207"></a><a name="index-g_t_005cmarkletter-3208"></a> <p><a name="index-g_t_005cmarkletter-3209"></a>Make a markup letter for <var>num</var>. The letters start with A to Z (skipping letter I), and continue with double letters. <blockquote> <pre class="verbatim"> \markup { \markletter #8 \hspace #2 \markletter #26 } </pre> <p> <a href="../05/lily-aa57c02a.ly"> <img align="middle" border="0" src="../05/lily-aa57c02a.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\null</code><dd><a name="index-g_t_005cnull-3210"></a><a name="index-g_t_005cnull-3211"></a> <p><a name="index-g_t_005cnull-3212"></a> <a name="index-creating-empty-text-objects-3213"></a> An empty markup with extents of a single point. <blockquote> <pre class="verbatim"> \markup { \null } </pre> <p> <a href="../dd/lily-61df0bfc.ly"> <img align="middle" border="0" src="../dd/lily-61df0bfc.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\on-the-fly</code> <var>procedure</var> (symbol) <var>arg</var> (markup)<dd><a name="index-g_t_005con_002dthe_002dfly-3214"></a><a name="index-g_t_005con_002dthe_002dfly-3215"></a> <p><a name="index-g_t_005con_002dthe_002dfly-3216"></a>Apply the <var>procedure</var> markup command to <var>arg</var>. <var>procedure</var> should take a single argument. <br><dt><code>\override</code> <var>new-prop</var> (pair) <var>arg</var> (markup)<dd><a name="index-g_t_005coverride-3217"></a><a name="index-g_t_005coverride-3218"></a> <p><a name="index-g_t_005coverride-3219"></a> <a name="index-overriding-properties-within-text-markup-3220"></a> Add the first argument in to the property list. Properties may be any sort of property supported by <a name="index-font_002dinterface-3221"></a><a href="../lilypond-internals/font_002dinterface.html#font_002dinterface">font-interface</a> and <a name="index-text_002dinterface-3222"></a><a href="../lilypond-internals/text_002dinterface.html#text_002dinterface">text-interface</a>, for example <pre class="example"> \override #'(font-family . married) "bla" </pre> <blockquote> <pre class="verbatim"> \markup { \line { \column { default baseline-skip } \hspace #2 \override #'(baseline-skip . 4) { \column { increased baseline-skip } } } } </pre> <p> <a href="../5f/lily-7084474b.ly"> <img align="middle" border="0" src="../5f/lily-7084474b.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\page-ref</code> <var>label</var> (symbol) <var>gauge</var> (markup) <var>default</var> (markup)<dd><a name="index-g_t_005cpage_002dref-3223"></a><a name="index-g_t_005cpage_002dref-3224"></a> <p><a name="index-g_t_005cpage_002dref-3225"></a> <a name="index-referencing-page-numbers-in-text-3226"></a> Reference to a page number. <var>label</var> is the label set on the referenced page (using the <code>\label</code> command), <var>gauge</var> a markup used to estimate the maximum width of the page number, and <var>default</var> the value to display when <var>label</var> is not found. <br><dt><code>\slashed-digit</code> <var>num</var> (integer)<dd><a name="index-g_t_005cslashed_002ddigit-3227"></a><a name="index-g_t_005cslashed_002ddigit-3228"></a> <p><a name="index-g_t_005cslashed_002ddigit-3229"></a> <a name="index-slashed-digits-3230"></a> A feta number, with slash. This is for use in the context of figured bass notation. <blockquote> <pre class="verbatim"> \markup { \slashed-digit #5 \hspace #2 \override #'(thickness . 3) \slashed-digit #7 } </pre> <p> <a href="../0f/lily-a50f1f41.ly"> <img align="middle" border="0" src="../0f/lily-a50f1f41.png" alt="[image of music]"> </a> </p> </blockquote> <p>Used properties: <ul> <li><code>thickness</code> (1.6) <li><code>font-size</code> (0) </ul> <br><dt><code>\stencil</code> <var>stil</var> (unknown)<dd><a name="index-g_t_005cstencil-3231"></a><a name="index-g_t_005cstencil-3232"></a> <p><a name="index-g_t_005cstencil-3233"></a> <a name="index-importing-stencils-into-text-3234"></a> Use a stencil as markup. <blockquote> <pre class="verbatim"> \markup { \stencil #(make-circle-stencil 2 0 #t) } </pre> <p> <a href="../46/lily-81c7b937.ly"> <img align="middle" border="0" src="../46/lily-81c7b937.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\strut</code><dd><a name="index-g_t_005cstrut-3235"></a><a name="index-g_t_005cstrut-3236"></a> <p><a name="index-g_t_005cstrut-3237"></a> <a name="index-creating-vertical-spaces-in-text-3238"></a> Create a box of the same height as the space in the current font. <br><dt><code>\transparent</code> <var>arg</var> (markup)<dd><a name="index-g_t_005ctransparent-3239"></a><a name="index-g_t_005ctransparent-3240"></a> <p><a name="index-g_t_005ctransparent-3241"></a>Make the argument transparent. <blockquote> <pre class="verbatim"> \markup { \transparent { invisible text } } </pre> <p> <a href="../b3/lily-9910f74c.ly"> <img align="middle" border="0" src="../b3/lily-9910f74c.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\verbatim-file</code> <var>name</var> (string)<dd><a name="index-g_t_005cverbatim_002dfile-3242"></a><a name="index-g_t_005cverbatim_002dfile-3243"></a> <p><a name="index-g_t_005cverbatim_002dfile-3244"></a>Read the contents of a file, and include it verbatim. <blockquote> <pre class="verbatim"> \markup { \verbatim-file #"simple.ly" } </pre> <p> <a href="../f3/lily-aff439d0.ly"> <img align="middle" border="0" src="../f3/lily-aff439d0.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\whiteout</code> <var>arg</var> (markup)<dd><a name="index-g_t_005cwhiteout-3245"></a><a name="index-g_t_005cwhiteout-3246"></a> <p><a name="index-g_t_005cwhiteout-3247"></a> <a name="index-adding-a-white-background-to-text-3248"></a> Provide a white background for <var>arg</var>. <blockquote> <pre class="verbatim"> \markup { \combine \filled-box #'(-1 . 10) #'(-3 . 4) #1 \whiteout whiteout } </pre> <p> <a href="../b6/lily-cd122e2a.ly"> <img align="middle" border="0" src="../b6/lily-cd122e2a.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\with-color</code> <var>color</var> (list) <var>arg</var> (markup)<dd><a name="index-g_t_005cwith_002dcolor-3249"></a><a name="index-g_t_005cwith_002dcolor-3250"></a> <p><a name="index-g_t_005cwith_002dcolor-3251"></a> <a name="index-coloring-text-3252"></a> Draw <var>arg</var> in color specified by <var>color</var>. <blockquote> <pre class="verbatim"> \markup { \with-color #red red \hspace #2 \with-color #green green \hspace #2 \with-color #blue blue } </pre> <p> <a href="../53/lily-579e611f.ly"> <img align="middle" border="0" src="../53/lily-579e611f.png" alt="[image of music]"> </a> </p> </blockquote> <br><dt><code>\with-dimensions</code> <var>x</var> (pair of numbers) <var>y</var> (pair of numbers) <var>arg</var> (markup)<dd><a name="index-g_t_005cwith_002ddimensions-3253"></a><a name="index-g_t_005cwith_002ddimensions-3254"></a> <p><a name="index-g_t_005cwith_002ddimensions-3255"></a> <a name="index-setting-extent-of-text-objects-3256"></a> Set the dimensions of <var>arg</var> to <var>x</var> and <var>y</var>. </dl> <!-- footer_tag --><br><hr> <div class="node"> <p> Previous: <a rel="previous" accesskey="p" href="Instrument-Specific-Markup.html#Instrument-Specific-Markup">Instrument Specific Markup</a>, Up: <a rel="up" accesskey="u" href="Text-markup-commands.html#Text-markup-commands">Text markup commands</a> </div> <div style="background-color: #e8ffe8; padding: 2; border: #c0ffc0 1px solid;"> <p> <font size="-1"> This page is for LilyPond-2.11.57 (development-branch). <br> <address> Report errors to <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs</a>. </address> <br> Your <a href="http://lilypond.org/web/devel/participating/documentation-adding">suggestions for the documentation</a> are welcome. </font> </p> </div> <P> Other languages: <a href="Other.fr.html">français</a>, <a href="Other.es.html">español</a>, <a href="Other.de.html">deutsch</a>. <BR> </P> </BODY></html>