JSPDF: Difference between revisions
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
%%pagescale 1.0 | %%pagescale 1.0 | ||
%%measurenb 1 | %%measurenb 1 | ||
%%header "$P0 | %%header "$P0 $P1" | ||
%%footer " $T, pag.$P " | |||
X:1 | X:1 |
Revision as of 13:02, 19 May 2017
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <script src="http://moinejf.free.fr/js/abc2svg-1.js" type="text/javascript"></script> <script src="http://moinejf.free.fr/js/abcemb-1.js" type="text/javascript"></script> <script src="http://moinejf.free.fr/js/play-1.js" type="text/javascript"></script> <style type="text/css"> svg {display:block} </style> <style type="text/css"> .abcrendered { background-color: #FCF9BB; } @media print {
.firstHeading { margin-top: 0; padding-top: 0; } .title { display: none; } #siteSub { display: none; } .printfooter { display: none; } #catlinks, .catlinks { display: none; } #footer { display: none; } }
</style>
</head> <body bgcolor="#faf0e6">
<h3>abcemb-1.js example</h3>
<p> This XHTML document contains a ABC tune ('Au clair de la lune'). </p> <p> To render this tune, it includes the abc2svg core (script <code>abc2svg-1.js</code>) and the script <code>abcemb-1.js</code> which scans the document and replaces the ABC sequence(s) by SVG images. </p> %%abc-2.2 %%pagewidth 58cm %%bgcolor white %%topspace 0 %%composerspace 1 %%leftmargin 0.8cm %%rightmargin 0.8cm % %%Barocke Spielmusik %%fur Sopranblockeflote und Gitarre %%ausgewahlt und leicht von Hubert Zanoskar %%Edition Schott 4524 (C) Scott & Co. Ltd., London 1955 . Printed in Italy %%RMS 1021 %%pagescale 1.0 %%measurenb 1 %%header "$P0 $P1" %%footer " $T, pag.$P "
X:1 T: Barocke Spielmusik T: Menuett: rms1021gpt C: George Philipp Telemann C: TTA Repertoire Z: Valerio M. Pelliccioni I: M:3/4 L:1/8 Q: "Andante" 1/4=120 % %%staves {1 | (2 3)} V: 1 clef=treble name="Small Pipe" sname=Nsp V: 2 clef=treble V: 3 clef=treble name="Guitar" sname=Gtr % K:G % %%MIDI program 69 % Oboe %%MIDI program 25 % Nylon String Guitar % %%%%%%%%%%%%%%%%%%%%%%%%%%%% % Menuett pag 13 % %%%%%%%%%%%%%%%%%%%%%%%%%%%% % [V: 1] |:G2(BG)(dG) |e2d2d2 |g2(BG)(dG) |e2d2d2 |!trill!G2(G3A/2B/2)| [V: 2] |:[G4B4g4][d2g2]|[c2g2][B2g2][B2g2]|[G4B4e4][d2g2]|[c2g2][B2g2][B2g2]|g4g2 | [V: 3] |:G,4B,2 |C2G,2G,2 |E4B,2 |C2G,2G,2 |B2B,2B2 | % [V: 1] !trill!A2(A3G/2A/2)|Bc d2e2 |!trill!A6 :||:AB/2A/2 B2A2|B2(AG)(FE) | [V: 2] d4d2 |d2f2[c2f2] |[A2d2g2]fe f2 :||:[A4f4]^d2 |[B4e4]z2 | [V: 3] F2F,2F2 |G2B,2C2 |D4 D2 :||:^D4F2 |G,4z2 | % [V: 1] (ef/2g/2) f2e2 |(d^c)(BA)(ec) |d2!trill!(d3^c/2d/2) |e2!trill!(e3d/2e/2) | f2d2^c2 |d6 | [V: 2] [G2e2][A2d2][G2e2]|[^c4e4][c2e2] |d4d2 |[A4e4][A2e2] |[A2d2][d2a2][^c2g2]|[A4d4f4][d2g2]| [V: 3] ^C2D2^G2 |A2A,2=G2 |F2F,2F2 |^C4C2 |D2F2A2 |D4B,2 | % [V: 1] ed =c2B2 |c2(BA)(GF) |d2(cB)(AG) |A2D2D2 |G2(BG)(dG) |e2d2d2 | [V: 2] [G4c4e4][d2g2]|[G4c4e4][d2f2]|[d4g4][c2g2] |f2g2a2 |[G4B4g4][d2g2] |[c2g2][B2g2][B2g2]| [V: 3] =C2E2G2 |C4D2 |B,4E2 |D2E2F2 |G,4B,2 |C2G,2G,2 | % [V: 1] g2(BG)(dG) |e2d2d2 |G2!trill!(G3A/2B/2) |A2!trill!(A3G/2A/2) |B2G2F2 |[1G6 :|[2G6 |] [V: 2] [G4B4e4][d2g2] |[c2g2][B2g2][B2g2]|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