I asked about adding time signature changes into a variable that can be used by all instrument parts. The solution below (by Christian) worked perfectly, but I don't recommend adding bar checks into the variable. I did that and it caused the multi-measure rest compression not to work. It took quite a while to figure it out! His example below.
changes = { %don't add bar checks here \time 4/4 s1*15 \time 3/4 s2.*14 \time 2/4 s2*10 } trombone = \relative { %notes } \new Staff { << \changes \trombone >>