<?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=Center_lyric_syllables_%28ignoring_punctuation%29</id>
	<title>Center lyric syllables (ignoring punctuation) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Center_lyric_syllables_%28ignoring_punctuation%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Center_lyric_syllables_(ignoring_punctuation)&amp;action=history"/>
	<updated>2026-05-09T06:17:14Z</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=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=6556&amp;oldid=prev</id>
		<title>Gabriel Ellsworth: I corrected some typos.</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=6556&amp;oldid=prev"/>
		<updated>2026-05-06T10:09:07Z</updated>

		<summary type="html">&lt;p&gt;I corrected some typos.&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 10:09, 6 May 2026&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; 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;When a lot of verses have the same text, but with &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;difference &lt;/del&gt;punctuation&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/del&gt;e.g. because some verses are in quotation marks, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;it looks &lt;/del&gt;awkward because the text &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;doesn&#039;t &lt;/del&gt;line up vertically. Even when there is only a single verse, it can look awkward to have the punctuation be included in the width of the syllable when centering it beneath the note&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Settings for &amp;lt;code&amp;gt;&#039;self-alignment-X&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;lyricMelismaAlignment&amp;lt;/code&amp;gt; are respected&lt;/del&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;When a lot of verses have the same text, but with &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;different &lt;/ins&gt;punctuation &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/ins&gt;e.g.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;because some verses are in quotation marks&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;LilyPond’s default output can look &lt;/ins&gt;awkward because the text &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;does not &lt;/ins&gt;line up vertically. Even when there is only a single verse, it can look awkward to have the punctuation be included in the width of the syllable when centering it beneath the note.&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;It looks much nicer to center the text of the syllable and then put the punctuation around it.&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;It looks much nicer to center the text of the syllable and then put the punctuation around it&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Settings for &amp;lt;code&amp;gt;&#039;self-alignment-X&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;lyricMelismaAlignment&amp;lt;/code&amp;gt; are respected&lt;/ins&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;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;&amp;lt;lilypond version=&amp;quot;2.24&amp;quot;&amp;gt;&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;&amp;lt;lilypond version=&amp;quot;2.24&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel Ellsworth</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=5081&amp;oldid=prev</id>
		<title>Lemzwerg: Lemzwerg moved page Center Lyric Syllables (ignoring punctuation) to Center lyric syllables (ignoring punctuation) without leaving a redirect: Only the first letter of a title should be uppercase</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=5081&amp;oldid=prev"/>
		<updated>2025-11-24T05:22:01Z</updated>

		<summary type="html">&lt;p&gt;Lemzwerg moved page &lt;a href=&quot;/index.php?title=Center_Lyric_Syllables_(ignoring_punctuation)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Center Lyric Syllables (ignoring punctuation) (page does not exist)&quot;&gt;Center Lyric Syllables (ignoring punctuation)&lt;/a&gt; to &lt;a href=&quot;/wiki/Center_lyric_syllables_(ignoring_punctuation)&quot; title=&quot;Center lyric syllables (ignoring punctuation)&quot;&gt;Center lyric syllables (ignoring punctuation)&lt;/a&gt; without leaving a redirect: Only the first letter of a title should be uppercase&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:22, 24 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&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=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=4599&amp;oldid=prev</id>
		<title>Lemzwerg: New category</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=4599&amp;oldid=prev"/>
		<updated>2025-11-21T23:27:33Z</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:27, 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-l122&quot;&gt;Line 122:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 122:&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:Vocal music]]&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:Vocal music]]&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:Scheme]]&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:Scheme]]&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=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=3242&amp;oldid=prev</id>
		<title>Lemzwerg at 22:48, 21 November 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=3242&amp;oldid=prev"/>
		<updated>2025-11-21T22:48:38Z</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 22:48, 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-l122&quot;&gt;Line 122:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 122:&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:Vocal music]]&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:Vocal music]]&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:Scheme]]&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:Scheme]]&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=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=2885&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=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=2885&amp;oldid=prev"/>
		<updated>2025-11-16T18:56:14Z</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:56, 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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;It looks much nicer to center the text of the syllable and then put the punctuation around it.&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;It looks much nicer to center the text of the syllable and then put the punctuation around it.&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;&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;&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=888&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=888&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=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=902&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=Center_lyric_syllables_(ignoring_punctuation)&amp;diff=902&amp;oldid=prev"/>
		<updated>2025-10-26T22:50:04Z</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;When a lot of verses have the same text, but with difference punctuation, e.g. because some verses are in quotation marks, it looks awkward because the text doesn&amp;#039;t line up vertically. Even when there is only a single verse, it can look awkward to have the punctuation be included in the width of the syllable when centering it beneath the note. Settings for &amp;lt;code&amp;gt;&amp;#039;self-alignment-X&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;lyricMelismaAlignment&amp;lt;/code&amp;gt; are respected.&lt;br /&gt;
&lt;br /&gt;
It looks much nicer to center the text of the syllable and then put the punctuation around it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lilypond version=&amp;quot;2.24.0&amp;quot;&amp;gt;&lt;br /&gt;
%% http://lsr.di.unimi.it/LSR/Item?id=888&lt;br /&gt;
&lt;br /&gt;
%LSR by Wolf Alight&lt;br /&gt;
%=&amp;gt;http://lists.gnu.org/archive/html/lilypond-user/2010-02/msg00444.html&lt;br /&gt;
%=&amp;gt;http://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00800.html&lt;br /&gt;
&lt;br /&gt;
%LSR modified by Alexander Kobel&lt;br /&gt;
%=&amp;gt;http://permalink.gmane.org/gmane.comp.gnu.lilypond.general/89675&lt;br /&gt;
&lt;br /&gt;
%LSR modified by Thomas Morley&lt;br /&gt;
%=&amp;gt;http://lilypond.1069038.n5.nabble.com/LyricText-center-on-word-breaks-lyricMelismaAlignment-tt183456.html&lt;br /&gt;
&lt;br /&gt;
%As of 2.25.10 (ly:grob-property-data lyric-text-grob &amp;#039;self-alignment-X) may return a procedure.&lt;br /&gt;
% -Harm&lt;br /&gt;
&lt;br /&gt;
%% Note: Only characters of the string used to define space-set&lt;br /&gt;
%% are recognized by &amp;#039;center-on-word&amp;#039;&lt;br /&gt;
#(define space-set&lt;br /&gt;
  (list-&amp;gt;char-set &lt;br /&gt;
    (string-&amp;gt;list &amp;quot;—.?-;,:“”‘’–— */()[]{}|&amp;lt;&amp;gt;!`~&amp;amp;…&amp;quot;)))&lt;br /&gt;
&lt;br /&gt;
#(define (width grob text)&lt;br /&gt;
  (let* ((X-extent &lt;br /&gt;
           (ly:stencil-extent (grob-interpret-markup grob text) X)))&lt;br /&gt;
   (if (interval-empty? X-extent)&lt;br /&gt;
       0 &lt;br /&gt;
       (cdr X-extent))))&lt;br /&gt;
&lt;br /&gt;
#(define (center-on-word grob)&lt;br /&gt;
  (let* ((text (ly:grob-property-data grob &amp;#039;text))&lt;br /&gt;
         (syllable (markup-&amp;gt;string text))&lt;br /&gt;
         (word-position&lt;br /&gt;
           (if (string-skip syllable space-set)&lt;br /&gt;
               (string-skip syllable space-set)&lt;br /&gt;
               0))&lt;br /&gt;
         (word-end&lt;br /&gt;
           (if (string-skip-right syllable space-set)&lt;br /&gt;
               (+ (string-skip-right syllable space-set) 1)&lt;br /&gt;
               (string-length syllable)))&lt;br /&gt;
         (preword (substring syllable 0 word-position))&lt;br /&gt;
         (word (substring syllable word-position word-end))&lt;br /&gt;
         (preword-width (width grob preword))&lt;br /&gt;
         (word-width (width grob (if (string-null? syllable) text word)))&lt;br /&gt;
         (note-column (ly:grob-parent grob X))&lt;br /&gt;
         (note-column-extent (ly:grob-extent note-column note-column X))&lt;br /&gt;
         (note-column-width (interval-length note-column-extent))&lt;br /&gt;
         (self-X (ly:grob-property-data grob &amp;#039;self-alignment-X)))&lt;br /&gt;
&lt;br /&gt;
  (-&lt;br /&gt;
    (*&lt;br /&gt;
      (/ (- note-column-width word-width) 2)&lt;br /&gt;
      (1+ (if (procedure? self-X) (self-X grob) self-X)))&lt;br /&gt;
    preword-width)))&lt;br /&gt;
&lt;br /&gt;
%% For general use this take this layout-setting&lt;br /&gt;
%% In the example below the override is applied to selected Lyrics only&lt;br /&gt;
%%&lt;br /&gt;
%\layout {&lt;br /&gt;
%  \context {&lt;br /&gt;
%    \Lyrics&lt;br /&gt;
%    \override LyricText.X-offset = #center-on-word&lt;br /&gt;
%  }&lt;br /&gt;
%}&lt;br /&gt;
&lt;br /&gt;
melody = \relative c&amp;#039; { &lt;br /&gt;
  c4 &lt;br /&gt;
  d e f | &lt;br /&gt;
  c d &lt;br /&gt;
  e( f) &lt;br /&gt;
  g1 \bar&amp;quot;|.&amp;quot; &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
lyr = \lyricmode {&lt;br /&gt;
  \set stanza = &amp;quot;1. &amp;quot;&lt;br /&gt;
  Do, ““Re, Mi, Fa, Do, Re,&lt;br /&gt;
  %\once \set Score.lyricMelismaAlignment = #4.5&lt;br /&gt;
  &amp;quot;...mimifa,&amp;quot;&lt;br /&gt;
  \markup \bold Sol—&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
lyrA = \lyricmode {&lt;br /&gt;
  \set stanza = &amp;quot;2. &amp;quot;&lt;br /&gt;
  “Do Re, Mi, Fa, Do, Re, &lt;br /&gt;
  mimifa... &lt;br /&gt;
  Sol!”&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
lyrControl = \lyricmode{ &lt;br /&gt;
  \set stanza = &amp;quot;Control: &amp;quot;&lt;br /&gt;
  \revert LyricText.X-offset&lt;br /&gt;
  Do Re Mi Fa Do Re mimifa Sol&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
\score {&lt;br /&gt;
  \new Staff &amp;lt;&amp;lt;&lt;br /&gt;
    \new Voice = &amp;quot;voice&amp;quot; \melody&lt;br /&gt;
    \new Lyrics = &amp;quot;testI&amp;quot; &lt;br /&gt;
      \with { \override LyricText.X-offset = #center-on-word }&lt;br /&gt;
      \lyricsto &amp;quot;voice&amp;quot; \lyr&lt;br /&gt;
    \new Lyrics = &amp;quot;testII&amp;quot; &lt;br /&gt;
      \with { \override LyricText.X-offset = #center-on-word }&lt;br /&gt;
      \lyricsto &amp;quot;voice&amp;quot; \lyrA&lt;br /&gt;
    %% The control-voice omits the override&lt;br /&gt;
    \new Lyrics = &amp;quot;control&amp;quot; &lt;br /&gt;
      \lyricsto &amp;quot;voice&amp;quot; \lyrControl&lt;br /&gt;
  &amp;gt;&amp;gt;&lt;br /&gt;
  \layout {&lt;br /&gt;
    \context {&lt;br /&gt;
      \Score&lt;br /&gt;
      lyricMelismaAlignment = #-0.6&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lilypond&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Vocal music]]&lt;br /&gt;
[[Category:Vocal music]]&lt;br /&gt;
[[Category:Scheme]]&lt;br /&gt;
[[Category:Tweaks and overrides]]&lt;/div&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
</feed>