<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Tempo_%28metronome%29_marks_with_approximation_sign</id>
	<title>Tempo (metronome) marks with approximation sign - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Tempo_%28metronome%29_marks_with_approximation_sign"/>
	<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;action=history"/>
	<updated>2026-05-10T03:59:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=5424&amp;oldid=prev</id>
		<title>Jean Abou Samra: Account for LilyPond change _ → G_</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=5424&amp;oldid=prev"/>
		<updated>2025-12-04T16:42:00Z</updated>

		<summary type="html">&lt;p&gt;Account for LilyPond change _ → G_&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:42, 4 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l93&quot;&gt;Line 93:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 93:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       (ly:error &amp;quot;error in call of define-translator-property&amp;quot;))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       (ly:error &amp;quot;error in call of define-translator-property&amp;quot;))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   (if (not (equal? (object-property symbol &amp;#039;translation-doc) #f))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   (if (not (equal? (object-property symbol &amp;#039;translation-doc) #f))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       (ly:error (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;_ &lt;/del&gt;&quot;symbol ~S redefined&quot;) symbol))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       (ly:error (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;G_ &lt;/ins&gt;&quot;symbol ~S redefined&quot;) symbol))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   (set-object-property! symbol &amp;#039;translation-type? type?)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   (set-object-property! symbol &amp;#039;translation-type? type?)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=4831&amp;oldid=prev</id>
		<title>Lemzwerg: New category</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=4831&amp;oldid=prev"/>
		<updated>2025-11-21T23:33:37Z</updated>

		<summary type="html">&lt;p&gt;New category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:33, 21 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l174&quot;&gt;Line 174:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 174:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tweaks and overrides]][[Category:Snippet]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tweaks and overrides]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Snippet]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lemzwerg</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=3937&amp;oldid=prev</id>
		<title>Lemzwerg at 23:01, 21 November 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=3937&amp;oldid=prev"/>
		<updated>2025-11-21T23:01:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:01, 21 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l174&quot;&gt;Line 174:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 174:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tweaks and overrides]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tweaks and overrides&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]][[Category:Snippet&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lemzwerg</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=2547&amp;oldid=prev</id>
		<title>Jean Abou Samra: Replace version=&quot;2.24.0&quot; with version=&quot;2.24&quot; now that the LilyWiki extension supports auto-selecting the latest release in a stable series</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=2547&amp;oldid=prev"/>
		<updated>2025-11-16T18:52:33Z</updated>

		<summary type="html">&lt;p&gt;Replace version=&amp;quot;2.24.0&amp;quot; with version=&amp;quot;2.24&amp;quot; now that the LilyWiki extension supports auto-selecting the latest release in a stable series&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:52, 16 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you want to display an approximation sign in your (numeric) tempo marks, or if you want to display the tempo number in a different color, or if you want to hide the parentheses in your combined tempo mark (both name and number), this example demonstrates how the translation functions found in &amp;lt;code&amp;gt;.../scm/translation-functions.scm&amp;lt;/code&amp;gt; can be adopted, doing it in a tunable way with new optional context properties.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you want to display an approximation sign in your (numeric) tempo marks, or if you want to display the tempo number in a different color, or if you want to hide the parentheses in your combined tempo mark (both name and number), this example demonstrates how the translation functions found in &amp;lt;code&amp;gt;.../scm/translation-functions.scm&amp;lt;/code&amp;gt; can be adopted, doing it in a tunable way with new optional context properties.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;lilypond version=&quot;2.24&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.0&lt;/del&gt;&quot; full&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;lilypond version=&quot;2.24&quot; full&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%% http://lsr.di.unimi.it/LSR/Item?id=869&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;%% http://lsr.di.unimi.it/LSR/Item?id=869&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=893&amp;oldid=prev</id>
		<title>Jean Abou Samra: Import snippet from LSR</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Tempo_(metronome)_marks_with_approximation_sign&amp;diff=893&amp;oldid=prev"/>
		<updated>2025-10-26T22:49:52Z</updated>

		<summary type="html">&lt;p&gt;Import snippet from LSR&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you want to display an approximation sign in your (numeric) tempo marks, or if you want to display the tempo number in a different color, or if you want to hide the parentheses in your combined tempo mark (both name and number), this example demonstrates how the translation functions found in &amp;lt;code&amp;gt;.../scm/translation-functions.scm&amp;lt;/code&amp;gt; can be adopted, doing it in a tunable way with new optional context properties.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lilypond version=&amp;quot;2.24.0&amp;quot; full&amp;gt;&lt;br /&gt;
%% http://lsr.di.unimi.it/LSR/Item?id=869&lt;br /&gt;
&lt;br /&gt;
% by: ArnoldTheresius&lt;br /&gt;
&lt;br /&gt;
% lilypond 2.14.x:&lt;br /&gt;
% Almost copied from .../scm/translation-functions.scm:&lt;br /&gt;
% --&amp;gt; added »-approx« to the function names of&lt;br /&gt;
%     »format-metronome-markup« and »metronome-markup«&lt;br /&gt;
% --&amp;gt; replaced &amp;quot;=&amp;quot; with &amp;quot;≈&amp;quot; (approx. instead of equal)&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% START of my personal include file &amp;#039;tempo-approx.ly&amp;#039;&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
&lt;br /&gt;
#(define-public (format-metronome-markup-approx event context)&lt;br /&gt;
  (let ((eq-sym-def (ly:context-property context &amp;#039;tempoEquationText))             ; added option&lt;br /&gt;
        (hide-paren (eq? #t (ly:context-property context &amp;#039;tempoHideParenthesis))) ; added option&lt;br /&gt;
        (num-color (ly:context-property context &amp;#039;tempoNumberColor #f))            ; added option&lt;br /&gt;
        (hide-note (ly:context-property context &amp;#039;tempoHideNote #f))&lt;br /&gt;
	(text (ly:event-property event &amp;#039;text))&lt;br /&gt;
	(dur (ly:event-property event &amp;#039;tempo-unit))&lt;br /&gt;
	(count (ly:event-property event &amp;#039;metronome-count)))&lt;br /&gt;
    (metronome-markup-approx text dur count hide-note eq-sym-def hide-paren num-color)))&lt;br /&gt;
&lt;br /&gt;
#(define-public (metronome-markup-approx text dur count hide-note eq-sym-def hide-paren col)&lt;br /&gt;
  (let* ((note-mark (if (and (not hide-note) (ly:duration? dur))&lt;br /&gt;
			(make-smaller-markup&lt;br /&gt;
			 (make-note-by-number-markup (ly:duration-log dur)&lt;br /&gt;
						     (ly:duration-dot-count dur)&lt;br /&gt;
						     1))&lt;br /&gt;
			#f))&lt;br /&gt;
	 (count-markup (cond ((number? count)&lt;br /&gt;
			      (if (&amp;gt; count 0)&lt;br /&gt;
				  (number-&amp;gt;string count)&lt;br /&gt;
				  #f))&lt;br /&gt;
			     ((pair? count)&lt;br /&gt;
			      (make-concat-markup&lt;br /&gt;
			       (list&lt;br /&gt;
				(number-&amp;gt;string (car count))&lt;br /&gt;
				(ly:wide-char-&amp;gt;utf-8 #x2009)&lt;br /&gt;
				(ly:wide-char-&amp;gt;utf-8 #x2013)&lt;br /&gt;
				(ly:wide-char-&amp;gt;utf-8 #x2009)&lt;br /&gt;
				(number-&amp;gt;string (cdr count)))))&lt;br /&gt;
			     (else #f)))&lt;br /&gt;
         (note-markup (if (and (not hide-note) count-markup)&lt;br /&gt;
			  (make-concat-markup&lt;br /&gt;
			   (list&lt;br /&gt;
			    (make-general-align-markup Y DOWN note-mark)&lt;br /&gt;
			    &amp;quot; &amp;quot;&lt;br /&gt;
			    (if (string? eq-sym-def)&lt;br /&gt;
                                eq-sym-def&lt;br /&gt;
                                (ly:wide-char-&amp;gt;utf-8 #x2248))&lt;br /&gt;
			    &amp;quot; &amp;quot;&lt;br /&gt;
			    (if (eq? col #f)&lt;br /&gt;
                             count-markup&lt;br /&gt;
                             (make-with-color-markup col count-markup))))&lt;br /&gt;
			  #f))&lt;br /&gt;
         (text-markup (if (not (null? text))&lt;br /&gt;
			  (make-bold-markup text)&lt;br /&gt;
			  #f)))&lt;br /&gt;
    (if text-markup&lt;br /&gt;
	(if (and note-markup (not hide-note))&lt;br /&gt;
	    (make-line-markup (list text-markup&lt;br /&gt;
                                   (if hide-paren&lt;br /&gt;
                                    note-markup&lt;br /&gt;
				    (make-concat-markup&lt;br /&gt;
				     (list &amp;quot;(&amp;quot;&lt;br /&gt;
					   note-markup&lt;br /&gt;
					   &amp;quot;)&amp;quot;)))))&lt;br /&gt;
	    (make-line-markup (list text-markup)))&lt;br /&gt;
	(if note-markup&lt;br /&gt;
	    (make-line-markup (list note-markup))&lt;br /&gt;
	    (make-null-markup)))))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
% Make this new formatter the default:&lt;br /&gt;
\layout {&lt;br /&gt;
  \context {&lt;br /&gt;
    \Score&lt;br /&gt;
    metronomeMarkFormatter = #format-metronome-markup-approx&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#(define (define-translator-property symbol type? description)&lt;br /&gt;
  (if (not (and (symbol? symbol)&lt;br /&gt;
	(procedure? type?)&lt;br /&gt;
	(string? description)))&lt;br /&gt;
      (ly:error &amp;quot;error in call of define-translator-property&amp;quot;))&lt;br /&gt;
  (if (not (equal? (object-property symbol &amp;#039;translation-doc) #f))&lt;br /&gt;
      (ly:error (_ &amp;quot;symbol ~S redefined&amp;quot;) symbol))&lt;br /&gt;
&lt;br /&gt;
  (set-object-property! symbol &amp;#039;translation-type? type?)&lt;br /&gt;
  (set-object-property! symbol &amp;#039;translation-doc description)&lt;br /&gt;
  symbol)&lt;br /&gt;
&lt;br /&gt;
#(for-each&lt;br /&gt;
  (lambda (x)&lt;br /&gt;
    (apply define-translator-property x))&lt;br /&gt;
    `((tempoHideParenthesis&lt;br /&gt;
       ,boolean?&lt;br /&gt;
       &amp;quot;Hide the parenthesis around the metronome markup with text&amp;quot;)&lt;br /&gt;
      (tempoEquationText&lt;br /&gt;
       ,string?&lt;br /&gt;
       &amp;quot;initially &amp;#039;&amp;#039;=&amp;#039;&amp;#039; in the metronome markup, but here the default is altered to &amp;#039;&amp;#039;≈&amp;#039;&amp;#039;&amp;quot;)&lt;br /&gt;
      (tempoNumberColor&lt;br /&gt;
       ,list?&lt;br /&gt;
       &amp;quot;alternate color, in which the tempo value should be displayed&amp;quot;)))&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% END of my personal include file &amp;#039;tempo-approx.ly&amp;#039;&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
&lt;br /&gt;
\paper {&lt;br /&gt;
  system-system-spacing.basic-distance = #18&lt;br /&gt;
  tagline = ##f&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
\markup { \null \translate #&amp;#039;( 1 . -3 ) \null } % 2.14.2 LSR problem workaroud&lt;br /&gt;
&lt;br /&gt;
\score {&lt;br /&gt;
  \new Staff {&lt;br /&gt;
    \tempo 4 = 80&lt;br /&gt;
    c&amp;#039;1^&amp;quot; &amp;quot;_&amp;quot;»originaly after included this code sample«&amp;quot;&lt;br /&gt;
    \tempo &amp;quot;Allegro di Largo&amp;quot; 4 = 84&lt;br /&gt;
    c&amp;#039; \break&lt;br /&gt;
&lt;br /&gt;
    \once \set Score.tempoHideParenthesis = ##t&lt;br /&gt;
    \tempo &amp;quot;Allegro di Larghetto&amp;quot; 4 = 88&lt;br /&gt;
    c&amp;#039;^&amp;quot; &amp;quot;_&amp;quot;\\once \\set Score.tempoHideParenthesis = ##t&amp;quot;&lt;br /&gt;
    \break&lt;br /&gt;
&lt;br /&gt;
    \set Score.tempoEquationText = &amp;quot;= ca.&amp;quot;&lt;br /&gt;
    \tempo &amp;quot;Allegro lento&amp;quot; 4 = 96&lt;br /&gt;
    c&amp;#039;^&amp;quot; &amp;quot;_&amp;quot;\\set Score.tempoEquationText = \&amp;quot;= ca.\&amp;quot;&amp;quot;&lt;br /&gt;
    \break&lt;br /&gt;
&lt;br /&gt;
    \unset Score.tempoEquationText&lt;br /&gt;
    \once \set Score.tempoNumberColor = #red&lt;br /&gt;
    \tempo 4 = 108&lt;br /&gt;
    c&amp;#039;^&amp;quot; &amp;quot;_&amp;quot;\\unset Score.tempoEquationText   \\set Score.tempoNumberColor = #red&amp;quot;&lt;br /&gt;
    \break&lt;br /&gt;
&lt;br /&gt;
    \set Score.tempoNumberColor = #blue&lt;br /&gt;
    \set Score.tempoEquationText = &amp;quot;=&amp;quot;&lt;br /&gt;
    \tempo &amp;quot;Allegro monumentale&amp;quot; 4 = 80-88&lt;br /&gt;
    c&amp;#039;^&amp;quot; &amp;quot;_&amp;quot;\\set Score.tempoNumberColor = #blue   \\set Score.tempoEquationText = \&amp;quot;=\&amp;quot;&amp;quot;&lt;br /&gt;
    \break&lt;br /&gt;
&lt;br /&gt;
    \set Score.metronomeMarkFormatter = #format-metronome-markup&lt;br /&gt;
    \override TextScript.outside-staff-priority = #1000&lt;br /&gt;
    \tempo &amp;quot;Tempo I&amp;quot; 4 = 80&lt;br /&gt;
    c&amp;#039;^&amp;quot; &amp;quot;_\markup \column {&lt;br /&gt;
      &amp;quot;\\set Score.metronomeMarkFormatter = #format-metronome-markup&amp;quot;&lt;br /&gt;
      &amp;quot;(which is LILYPOND&amp;#039;s default Metronome Mark Formatter)&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    \bar &amp;quot;|.&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
  \header {&lt;br /&gt;
    piece = \markup \column {&lt;br /&gt;
      &amp;quot;»Score.metronomeMarkFormatter = #format-metronome-markup-approx«&amp;quot;&lt;br /&gt;
      &amp;quot;is assigned by a layout definition in this example&amp;quot;&lt;br /&gt;
      \null&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lilypond&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Text]]&lt;br /&gt;
[[Category:Text]]&lt;br /&gt;
[[Category:Tweaks and overrides]]&lt;/div&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
</feed>