Further improve the TOC.
[lilypond-ejercicios.git] / libro.tex
blob280629c08254a8b55b50cc9bc65c387aad0f3894
1 \documentclass[10pt,a4paper,oneside,headinclude,titlepage]{scrartcl}
2 \usepackage{setspace}
3 \usepackage{pdfpages}
4 \usepackage{fontspec}
5 \usepackage{polyglossia}
6 \setdefaultlanguage{spanish}
8 \DeclareGraphicsExtensions{.png,.pdf}
9 \DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ }
10 \usepackage[margin=2cm]{geometry}
11 \addtokomafont{part}{\mdseries} %encabezamientos sin negrita
12 %\addtokomafont{partnumber}{\mdseries} %encabezamientos sin negrita
13 %\addtokomafont{chapter}{\mdseries} %encabezamientos sin negrita
14 \setkomafont{disposition}{\normalcolor\bfseries} %no sans serif
15 %\setkomafont{disposition}{\normalcolor\mdseries} %no negrita
17 \parskip=3pt\clubpenalty=10000\widowpenalty=10000
18 \parindent=6mm
19 \newcommand{\preLilyPondExample}{\vspace{0pt}}
20 \newcommand{\postLilyPondExample}{\vspace{6pt}}
22 \newcommand{\lpversion}{2.17.15}
23 \newcommand{\defsep}{\textbf{$\|$}}
24 \newcommand{\software}{\emph{software}}
25 \newcommand{\negspace}{\vspace{-10pt}} %{\vspace{-20pt}}
26 \newcommand{\seppar}{
27 \bigskip
28 %\vspace{6pt}
31 \setmainfont[Ligatures=TeX]{TeX Gyre Schola} % or {Century Schoolbook L}
33 \title{LilyPond\\30 Ejercicios semanales}
34 \subtitle{y otros materiales didácticos}
35 \author{Francisco Vila}
36 \date{\today}
38 \usepackage{graphics}
39 \begin{document}
41 \nonfrenchspacing
43 \begin{titlepage} %%%%%%%%%%%% PORTADA
44 \makeatletter
45 \begin{center}
46 %\textbf{\Large Universidad de Extremadura}\par
47 \vfill
48 \includegraphics[width=60mm]{lily-logo.png}\par
49 \vfill
50 \textbf{\huge\@title}\par
51 \textbf{\large\@subtitle}\par
52 {\@date}
53 \vfill
54 \textbf{\large\@author}
55 \vfill
56 \end{center}
57 \makeatother
58 \end{titlepage}
60 %\singlespace
62 \begin{singlespace} % los listados van a un espacio. Necesita el paquete setspace
64 \begingroup
65 \makeatletter
66 \patchcmd{\l@section}{%
67 \addvspace{1.0em \@plus\p@}% original code line
68 }{%
69 \addvspace{0.3em \@plus 0.3\p@}% substitute code line
70 }{}{}
71 \makeatother
72 %\shorttoc{Shorttoc}{1}
73 \setcounter{tocdepth}{1}
74 \tableofcontents
75 \endgroup
77 % \listoffigures
78 % \listoftables
79 \end{singlespace}
81 \include{introduccion}
82 \include{apuntes-01-instalacion}
83 \include{apuntes-02-cumple}
84 \include{apuntes-03-mozart}
85 \include{apuntes-04-alteraciones-titulos-ofrenda}
86 \include{apuntes-05-barras-beethoven5th}
87 \include{apuntes-06-ligaduras-bach-suite1-cello}
88 \include{apuntes-07-repeticiones-beethoven-9thsym}
89 \include{apuntes-08-contextos-simultanea}
90 \include{apuntes-09-polifonia}
91 \include{apuntes-10-piano-tresillos}
92 \include{apuntes-11-canciones}
93 \include{apuntes-12-acordes}
94 \include{apuntes-13-variables}
95 \include{apuntes-14-articulaciones-digitaciones}
96 \include{apuntes-15-reguladores-markup}
97 \include{apuntes-16-adornos}
98 \include{apuntes-17-set}
99 \include{apuntes-18-emperador}
100 \include{apuntes-19-bajocifrado}
101 \include{apuntes-20-machaut}
102 \include{apuntes-21-midi}
103 \include{apuntes-22-trucha}
104 \include{apuntes-23-despertad}
105 \include{apuntes-24-book}
106 \include{apuntes-25-mendelssohn}
107 \include{apuntes-26-margenes}
108 \include{apuntes-27-holst-1}
109 \include{apuntes-28-holst-2}
110 \include{apuntes-29-espanol}
111 \include{apuntes-30-antigua}
112 \appendix
113 \include{apuntes-00-teclado}
114 \include{collections}
115 \include{lilypond-por-ejemplo}
117 \end{document}