From 42c35c69e6ce8c448878093999459bb4b32a5907 Mon Sep 17 00:00:00 2001 From: Paco - tomillo Date: Fri, 3 Oct 2014 18:30:57 +0200 Subject: [PATCH] Improve TOC and LPE section headings. --- libro.tex | 1 + lilypond-by-example/lpe.tex | 3 ++- quitaespacios.sh | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libro.tex b/libro.tex index ebd7c7a..ca83b16 100644 --- a/libro.tex +++ b/libro.tex @@ -60,6 +60,7 @@ %\singlespace \begin{singlespace} % los listados van a un espacio. Necesita el paquete setspace + \setcounter{tocdepth}{1} \tableofcontents % \listoffigures % \listoftables diff --git a/lilypond-by-example/lpe.tex b/lilypond-by-example/lpe.tex index 319abd7..e533100 100644 --- a/lilypond-by-example/lpe.tex +++ b/lilypond-by-example/lpe.tex @@ -20,7 +20,7 @@ } \setmainfont[Ligatures=TeX]{TeX Gyre Schola} % or {Century Schoolbook L} - +\setkomafont{section}{\rmfamily} \title{LilyPond por ejemplo: la guía visual} \author{Francisco Vila} \date{\today} @@ -1119,6 +1119,7 @@ letraUno = \lyricmode { Ah } \begin[line-width=10\cm]{lilypond} \header { title = "Sinfonía" + instrument=" " %workarond for a bug in lilypond 2.19 composer = "Beethoven" } \end{lilypond} diff --git a/quitaespacios.sh b/quitaespacios.sh index 8e980d1..cb6b176 100755 --- a/quitaespacios.sh +++ b/quitaespacios.sh @@ -1,3 +1,5 @@ #!/bin/sh +# remove trailing spaces from a file +# usage: quitaespacios # sed -i 's/\ $//g' editorial.itely sed -i -e 's/[ \t]*$//' $1 \ No newline at end of file -- 2.11.4.GIT