Thanks, Laurie. I never thought of having an adapted PDF for my reader (a
remarkable), but based on your example, here it is what I’m doing right now.
This is a different approach because I want to have also a normal PDF for
printing, I have two book entries on my lilypond file, something like this:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% REMARKABLE %%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\book {
\bookOutputSuffix "remarkable"
\header {
% titles
}
\score {
% music score
\layout {
% layout settings
}
}
\paper {
#(set-paper-size '(cons (* 155 mm) (* 210 mm)))
indent = 0\mm
top-margin = #10
bottom-margin = #0
left-margin = #0
right-margin = #0
% other size settings
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%% PDF %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\book {
\header {
% titles
}
\score {
% music
\layout {
% layout settings
}
}
\paper {
set-paper-size = "a4"
top-margin = 10
left-margin = 15
indent = 10
% other size settings
}
}
Of course, I use variables to add the music to the \score scope, so I don’t
have to make changes in both books.
Hope I might help someone.
Robert Garrigos
> El 24 febr. 2024, a les 1:51, Laurie Savage <[email protected]> va
> escriure:
>
> Hi,
>
> I use a tablet for storing my lead sheets, most of which I prepare in
> Lilypond. I have just stumbled on a trick I thought I'd share with you -
> although it might be obvious to you, it wasn't to me. (Tip to Jamie Anderson
> of the Get your sax together Youtube channel)
>
> I use a Samsung Galaxy Tab A 10.1 and Mobile Sheets Pro. I use a paper block
> that I store as "tabA" in an include file called "digital.ily"
> It looks like this:
>
> tabA = \paper {
> %set the paper size to the screen dimensions
> #(set-paper-size '(cons (* 13.5 cm) (* 21.7 cm)))
>
> % Adjust according to taste
> indent = 0\mm
> top-margin = #0
> bottom-margin = #0
> left-margin = #0
> right-margin = #0
> }
>
> voila, combined with a sensible staff size I have a legible score that I
> don't need reading glasses for.
>
> Laurie Savage