Extracting text from markup: Difference between revisions
Import snippet from LSR |
m Use newer \relative syntax |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
This scheme function extracts a string from markup, removing any formatting information. | This scheme function extracts a string from markup, removing any formatting information. | ||
<lilypond version="2.24 | <lilypond version="2.24" full> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=747 | %% http://lsr.di.unimi.it/LSR/Item?id=747 | ||
| Line 14: | Line 14: | ||
title = \ttt | title = \ttt | ||
subtitle = \markup { \normal-text { \italic { \plain-text \ttt } } } | subtitle = \markup { \normal-text { \italic { \plain-text \ttt } } } | ||
tagline = ##f | |||
} | } | ||
\relative | |||
c | \paper { | ||
paper-height = 5\cm | |||
} | |||
\relative { | |||
c' | |||
} | } | ||
</lilypond> | </lilypond> | ||
[[Category:Text]] | [[Category:Text]] | ||
[[Category:Scheme]] | [[Category:Scheme]] | ||
[[Category:Snippet]] | |||