<?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=Breaking_horizontal_alignment_of_dynamics_and_textscripts</id>
	<title>Breaking horizontal alignment of dynamics and textscripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Breaking_horizontal_alignment_of_dynamics_and_textscripts"/>
	<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Breaking_horizontal_alignment_of_dynamics_and_textscripts&amp;action=history"/>
	<updated>2026-05-03T06:17:52Z</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=Breaking_horizontal_alignment_of_dynamics_and_textscripts&amp;diff=6028&amp;oldid=prev</id>
		<title>Lemzwerg at 12:14, 30 December 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Breaking_horizontal_alignment_of_dynamics_and_textscripts&amp;diff=6028&amp;oldid=prev"/>
		<updated>2025-12-30T12:14:59Z</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 12:14, 30 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-l39&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&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:Tweaks and overrides]]&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:Tweaks and overrides]]&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:Workaround]]&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:Workaround]]&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Included in the official documentation]]&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;div&gt;[[Category:Snippet]]&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: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=Breaking_horizontal_alignment_of_dynamics_and_textscripts&amp;diff=5874&amp;oldid=prev</id>
		<title>Lemzwerg at 21:48, 17 December 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Breaking_horizontal_alignment_of_dynamics_and_textscripts&amp;diff=5874&amp;oldid=prev"/>
		<updated>2025-12-17T21:48:18Z</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 21:48, 17 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-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&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;* Modify the &amp;lt;code&amp;gt;shorten-pair&amp;lt;/code&amp;gt; property of the &amp;lt;code&amp;gt;Hairpin&amp;lt;/code&amp;gt; grob to compensate the offset by which the hairpin was moved.&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;* Modify the &amp;lt;code&amp;gt;shorten-pair&amp;lt;/code&amp;gt; property of the &amp;lt;code&amp;gt;Hairpin&amp;lt;/code&amp;gt; grob to compensate the offset by which the hairpin was moved.&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;* Put the two dynamic objects into &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;two &lt;/del&gt;different voices.&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;* Put the two dynamic objects into different voices.&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;Both solutions are demonstrated in this snippet.&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;Both solutions are demonstrated in this 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=Breaking_horizontal_alignment_of_dynamics_and_textscripts&amp;diff=5873&amp;oldid=prev</id>
		<title>Lemzwerg: Created page with &quot;LilyPond uses &lt;code&gt;DynamicLineSpanner&lt;/code&gt; grobs to horizontally align successive dynamic objects like hairpins and dynamic text, even if they are positioned on different sides of a staff.  This connection cannot be broken, contrary to the vertical alignment (see snippet Breaking vertical alignment of dynamics and textscripts).  There are two solutions to circumvent the problem.  * Modify the &lt;code&gt;shorten-pair&lt;/code&gt; property of the &lt;code&gt;Hairpin&lt;/code&gt; grob to c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Breaking_horizontal_alignment_of_dynamics_and_textscripts&amp;diff=5873&amp;oldid=prev"/>
		<updated>2025-12-17T21:43:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;LilyPond uses &amp;lt;code&amp;gt;DynamicLineSpanner&amp;lt;/code&amp;gt; grobs to horizontally align successive dynamic objects like hairpins and dynamic text, even if they are positioned on different sides of a staff.  This connection cannot be broken, contrary to the vertical alignment (see snippet &lt;a href=&quot;/wiki/Breaking_vertical_alignment_of_dynamics_and_textscripts&quot; title=&quot;Breaking vertical alignment of dynamics and textscripts&quot;&gt;Breaking vertical alignment of dynamics and textscripts&lt;/a&gt;).  There are two solutions to circumvent the problem.  * Modify the &amp;lt;code&amp;gt;shorten-pair&amp;lt;/code&amp;gt; property of the &amp;lt;code&amp;gt;Hairpin&amp;lt;/code&amp;gt; grob to c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;LilyPond uses &amp;lt;code&amp;gt;DynamicLineSpanner&amp;lt;/code&amp;gt; grobs to horizontally align successive dynamic objects like hairpins and dynamic text, even if they are positioned on different sides of a staff.  This connection cannot be broken, contrary to the vertical alignment (see snippet [[Breaking vertical alignment of dynamics and textscripts]]).&lt;br /&gt;
&lt;br /&gt;
There are two solutions to circumvent the problem.&lt;br /&gt;
&lt;br /&gt;
* Modify the &amp;lt;code&amp;gt;shorten-pair&amp;lt;/code&amp;gt; property of the &amp;lt;code&amp;gt;Hairpin&amp;lt;/code&amp;gt; grob to compensate the offset by which the hairpin was moved.&lt;br /&gt;
* Put the two dynamic objects into two different voices.&lt;br /&gt;
&lt;br /&gt;
Both solutions are demonstrated in this snippet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lilypond version=&amp;quot;2.24.4&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;lt;&amp;gt;^&amp;quot;default&amp;quot;&lt;br /&gt;
  f&amp;#039;_\pp ^\&amp;gt; f&amp;#039; f&amp;#039; f&amp;#039;\!&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;lt;&amp;gt;^\markup { setting \typewriter shorten-pair }&lt;br /&gt;
  f&amp;#039;_\pp \tweak shorten-pair #&amp;#039;(-3 . 0) ^\&amp;gt; f&amp;#039; f&amp;#039; f&amp;#039;\!&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;lt;&amp;gt;^\markup { using another \typewriter Voice context }&lt;br /&gt;
  &amp;lt;&amp;lt; { f&amp;#039;^\&amp;gt; f&amp;#039; f&amp;#039; f&amp;#039;\! }&lt;br /&gt;
     \new Voice { s4_\pp } &amp;gt;&amp;gt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
\layout {&lt;br /&gt;
  line-width = 8\cm&lt;br /&gt;
  ragged-right = ##f&lt;br /&gt;
&lt;br /&gt;
  \context {&lt;br /&gt;
    \Voice&lt;br /&gt;
    \override TextScript.staff-padding = #3.5&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lilypond&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Spacing]]&lt;br /&gt;
[[Category:Tweaks and overrides]]&lt;br /&gt;
[[Category:Workaround]]&lt;br /&gt;
[[Category:Snippet]]&lt;/div&gt;</summary>
		<author><name>Lemzwerg</name></author>
	</entry>
</feed>