@item @var{right-margin}
@item @var{top-margin}
@item @var{bottom-margin}
-@item @var{head-separation}
-@item @var{foot-separation}
@item @var{indent}
@item @var{short-indent}
@end itemize
\version "2.12.0"
-
+
\header {
texidoc = "This shows how different settings on \paper modify the
whole paper while \layout for each \score block.
This file is best viewed outside the collated files document.
-"
+"
+
-
title = "Title"
subtitle = "(and (the) subtitle)"
subsubtitle = "Sub sub title"
%paper-height = 2\cm
top-margin = 2\cm
bottom-margin = 2\cm
- %heap-separation = 7\cm
- %foot-separation = 7\cm
ragged-bottom = ##t
ragged-last-bottom = ##t
left-margin = 3\cm
annotate-spacing = ##t
-
+
}
\version "2.13.7"
\header {
- texidoc = "Default margin values are accessible in paper-defaults-init.ly
-and apply to the default paper size returned by (ly:get-option
-'paper-size). For other paper sizes, they are scaled linearly.
-This also affects head- and foot-separation as well as indents."
+ texidoc = "Default values for margins, indents, and offsets are
+accessible in paper-defaults-init.ly and apply to the default
+paper size returned by (ly:get-option 'paper-size). For other
+paper sizes, they are scaled linearly."
}
someNotes = \repeat unfold 20 { c4 d e f }
\version "2.13.7"
\header {
- texidoc = "Default margin values are accessible in paper-defaults-init.ly
-and apply to the default paper size returned by (ly:get-option
-'paper-size). For other paper sizes, they are scaled linearly.
-This also affects head- and foot-separation as well as indents."
+ texidoc = "Default values for margins, indents, and offsets are
+accessible in paper-defaults-init.ly and apply to the default
+paper size returned by (ly:get-option 'paper-size). For other
+paper sizes, they are scaled linearly."
}
someNotes = \repeat unfold 30 { c4 d e f }
outer-margin-default = 20 \mm
binding-offset-default = 0 \mm
- head-separation-default = 4 \mm
- foot-separation-default = 4 \mm
-
indent-default = 15 \mm
short-indent-default = 0 \mm
return str
+@rule ((2, 13, 40),
+ _ ("Remove \\paper variables head-separation and foot-separation."))
+def conv(str):
+ if re.search(r'head-separation', str):
+ stderr_write("\n")
+ stderr_write(NOT_SMART % ("head-separation.\n"))
+ stderr_write(_ ("Adjust settings for top-system-spacing instead.\n"))
+ stderr_write(UPDATE_MANUALLY)
+ if re.search(r'foot-separation', str):
+ stderr_write("\n")
+ stderr_write(NOT_SMART % ("foot-separation.\n"))
+ stderr_write(_ ("Adjust settings for last-bottom-spacing instead.\n"))
+ stderr_write(UPDATE_MANUALLY);
+
+ return str
+
# Guidelines to write rules (please keep this at the end of this file)
#
'(blot-diameter
bottom-margin
cm
- foot-separation
- head-separation
horizontal-shift
in
indent
(("binding-offset" . ,w) . '())
(("top-margin" . ,h) . '())
(("bottom-margin" . ,h) . '())
- (("head-separation" . ,h) . '())
- (("foot-separation" . ,h) . '())
(("indent" . ,w) . '())
(("short-indent" . ,w) . '())))
(scaled-values
(lambda (v)
(let* ((var (module-variable old-scope v))
(val (if (variable? var) (variable-ref var) #f)))
-
+
(if (number? val)
(module-define! scope v (/ val scale))
;; Cannot warn for non-numbers, eg. for paper-width, paper-height.