Hallo Lilypond-Fans 8)
Ich suche ein Befehl für Schneidemarken. Kann Jemand mir helfen? :)
Danke im Voraus.
Ist schon ein Weilchen her, dass diese Anfrage gestellt wurde. Ich antworte trotzdem.
In Lilypond fällt mir keine Lösung ein, das ginge mit LaTeX
\documentclass[a4paper]{article}
\usepackage[]{pdfpages}
\usepackage[bindingoffset=0in,margin=0mm,left=0cm,right=0cm,top=3cm,bottom=0cm,footskip=.25in]
{geometry}
\usepackage[
noinfo,
cam,
cross, % crosses as marks
width=216mm, % the width of the galley
height=303mm, % the height of the galley
center % actual page is centered on the galley
]{crop}
\begin{document}
\includepdf[pages={-}]{hier den Namen des Scores einfügen}
\end{document}
Zitat von: ManuelaIn Lilypond fällt mir keine Lösung ein
Man könnte den `post-process`-hook verwenden. Führt zu:
%% `make-line-stencil` is defined:
%% (make-line-stencil width startx starty endx endy)
#(define (horizontal-cut-mark width y)
(make-line-stencil 0.1 0 y width y))
#(define (vertical-cut-mark height x)
(make-line-stencil 0.1 x 0 x (- height)))
\paper {
page-post-process =
#(lambda (layout pages)
(let* (;; We assume all pages have the same dimensions
(page (car pages))
(page-height (ly:prob-property page 'paper-height))
(page-width (ly:prob-property page 'paper-width)))
(for-each
(lambda (page)
(set! (ly:prob-property page 'stencil)
(ly:stencil-add
(ly:prob-property page 'stencil)
;; top
(horizontal-cut-mark page-width -8)
;; bottom
(horizontal-cut-mark page-width (- 8 page-height))
;; left
(vertical-cut-mark page-height 8)
;; right
(vertical-cut-mark page-height (- page-width 8))
)))
pages)))
}
\markup \box \fill-line { "PAGE 1" }
\pageBreak
\markup \box \fill-line { "PAGE 1" }
HTH,
Harm
Ich würde das in Postscript machen, innerhalb eines gsave initgraphics ..... grestore hat man praktisch Narrenfreiheit und man kann zeichnen / machen, was man will.
\version "2.25.6"
\paper{
oddFooterMarkup=\markup\postscript"gsave initgraphics
/mm{72 mul 25.4 div}def %falls man die Koordinaten lieber in mm (dann z.B. 4 mm) statt in Printers Points (1/72 Zoll) angeben will
0 9 moveto 9 0 rlineto 9 0 moveto 0 9 rlineto % links unten
585 9 moveto 9 0 rlineto 585 0 moveto 0 9 rlineto % rechts unten
585 833 moveto 9 0 rlineto 585 833 moveto 0 9 rlineto % rechts oben
0 833 moveto 9 0 rlineto 9 833 moveto 0 9 rlineto % links oben
stroke grestore"}
\markup \box \fill-line { "PAGE 1" }
\relative{a b c d e f g a}\pageBreak
\markup \box \fill-line { "PAGE 2" }Leerzeichen und Zeilenumbrüche darf jeder nach eigenem Geschmack hinzufügen.