| [ << General input and output ] | [Top][Contents][Index][ ? ] | [ Spacing issues >> ] | ||
| [ < Custom layout for headers and footers ] | [ Up : Titles and headers ] | [ Creating footnotes > ] | ||
3.2.3 Creating PDF metadata
In addition to being shown in the printed output, \header variables
are also used to set PDF metadata (the information displayed by PDF readers
as the properties of the PDF file). For example, setting the
title property of the header block ‘Symphony I’ will also give
this title to the PDF document.
\header{title = "Symphony I"}
If you want to set the title of the printed output to one value, but have the
title property of the PDF to have a different value, you can use
pdftitle, as below.
\header{title = "Symphony I"pdftitle = "Symphony I by Beethoven"}
The variables title, subject, keywords,
subtitle, composer, arranger, poet, author
and copyright all set PDF properties and can all be prefixed with
‘pdf’ to set a PDF property to a value different from the printed output.
The PDF property Creator is automatically set to ‘LilyPond’ plus
the current LilyPond version, and CreationDate and ModDate are
both set to the current date and time. ModDate can be overridden by
setting the header variable moddate (or pdfmoddate) to a
valid PDF date string.
| [ << General input and output ] | [Top][Contents][Index][ ? ] | [ Spacing issues >> ] | ||
| [ < Custom layout for headers and footers ] | [ Up : Titles and headers ] | [ Creating footnotes > ] | ||
其他语言:español, français, italiano。
About automatic language selection.