X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fthree-sided-box.ly;h=14f1665b6adc38b580d41b1648fbb6f4f941fb44;hb=0546edd7b079d4ab0569ec136d2d6b33e3004075;hp=be8ed8e0c5ca99196db5e3702d1377c6f3859841;hpb=6ae2a0ef2068149f316a7a61bc193d34c6c92a5e;p=lilypond.git diff --git a/input/lsr/three-sided-box.ly b/input/lsr/three-sided-box.ly index be8ed8e0c5..14f1665b6a 100644 --- a/input/lsr/three-sided-box.ly +++ b/input/lsr/three-sided-box.ly @@ -1,14 +1,17 @@ %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -\version "2.11.35" +\version "2.11.62" \header { - lsrtags = "editorial-and-educational-use" - texidoc = " + lsrtags = "rhythms, text" + + texidoc = " This example shows how to add a markup command to get a three sided box around some text (or other markup). -" } -% begin verbatim + +" + doctitle = "Three-sided box" +} % begin verbatim % New command to add a three sided box, with sides north, west and south % Based on the box-stencil command defined in scm/stencil.scm % Note that you use ";" to comment a line in Scheme @@ -42,7 +45,9 @@ thickness and padding around the markup." % Test it: -\relative c'{ - c^\markup{ \NWS-box ABCD } - c^\markup{\NWS-box \note #"4" #1.0 } +\layout { ragged-right = ##f } + +\relative c' { + c2^\markup { \NWS-box ABCD } + c^\markup { \NWS-box \note #"4" #1.0 } }