lilypond-user
[Top][All Lists]

## Re: building TOC in LaTeX document

 From: René Brandenburger Subject: Re: building TOC in LaTeX document Date: Fri, 04 May 2007 17:55:22 +0200

```Hi Adam,

i use the form
\section[short]{Title}
where short is an optional short title to be used in the TOC. To get
what you want just leave the curly braces empty. This prints still the
section numbering though.

hope this helps

rene

On Fri, 2007-05-04 at 16:46 +0200, Adam Good wrote:
> For my book that contains 20+ pieces what would be a handy way to make
> but an include Lilypond file?
>
> Header info is in the included file which is handy for me.
>
> I have simply this:
>
> \lilypondfile[indent=1.5\cm]{piece_01.ly}
> \newpage
> \lilypondfile[indent=1.5\cm]{piece_02.ly}
>
> -----------
> and what I would like to do is:
>
> \lilypondfile[indent=1.5\cm]{piece_01.ly}
> \section{Piece_01}
>
> \newpage
>
> \section{Piece_02}
> \lilypondfile[indent=1.5\cm]{piece_02.ly}
>
> where "Piece_01" and "Piece_02" don't actually get printed, but do show
> up in the TOC. I'm looking all over the internet for some hint but
> can't find anything. I'm sure it's easy to do.
>
>
>
>
>
> _______________________________________________
> lilypond-user mailing list