From 766d3ecaa4b09f20d567deaf7b94cd7d432ac5a9 Mon Sep 17 00:00:00 2001 From: Paco - tomillo Date: Fri, 3 Oct 2014 16:36:29 +0200 Subject: [PATCH] Update lilypond-by-example. --- lilypond-by-example/haz.sh | 2 +- lilypond-by-example/lpe.tex | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/lilypond-by-example/haz.sh b/lilypond-by-example/haz.sh index ad1c46d..c520139 100644 --- a/lilypond-by-example/haz.sh +++ b/lilypond-by-example/haz.sh @@ -4,6 +4,6 @@ if [ -f out/lpe.tex ] ; then rm out/lpe.tex; fi /bin/cp lily-logo.png out/ lilypond-book --pdf --output=out --format=latex lpe.tex &>log cd out -pdflatex lpe.tex +xelatex lpe.tex cd .. /bin/cp out/lpe.pdf lpe.pdf diff --git a/lilypond-by-example/lpe.tex b/lilypond-by-example/lpe.tex index 6fb779c..319abd7 100644 --- a/lilypond-by-example/lpe.tex +++ b/lilypond-by-example/lpe.tex @@ -1,16 +1,16 @@ -\documentclass[a4paper,10pt,oneside,headinclude,titlepage]{article} % la clase article estándar -\usepackage[spanish]{babel} +\documentclass[10pt,a4paper,oneside,headinclude,titlepage]{scrartcl} +\usepackage{fontspec} +\usepackage{polyglossia} +\setdefaultlanguage{spanish} \pagestyle{empty} -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} \usepackage[margin=2cm]{geometry} \usepackage{graphicx} \usepackage{array} -\usepackage[utopia]{mathdesign} -\parskip=6pt\clubpenalty=10000\widowpenalty=10000 + +\parskip=6pt\clubpenalty=10000\widowpenalty=10000 \newcommand{\preLilyPondExample}{\vspace{-10pt}} -\newcommand{\lpversion}{2.13.4} +\newcommand{\lpversion}{2.17.15} \newcommand{\defsep}{\textbf{$\|$}} \newcommand{\software}{\emph{software}} \newcommand{\negspace}{\vspace{-10pt}} %{\vspace{-20pt}} @@ -19,6 +19,8 @@ %\vspace{6pt} } +\setmainfont[Ligatures=TeX]{TeX Gyre Schola} % or {Century Schoolbook L} + \title{LilyPond por ejemplo: la guía visual} \author{Francisco Vila} \date{\today} @@ -525,11 +527,11 @@ a-. \section*{Otras articulaciones} \begin{tabular}{m{6cm}m{2cm}} \begin{verbatim} -c4-^ c-+ c-- c-| c4-> c2-_ +c4-^ c-+ c-- c-! c4-> c2-_ \end{verbatim} & \begin[fragment,relative=1,notime]{lilypond} -\time 3/4 c4-^ c-+ c-- c-| c4-> c4-_ +\time 3/4 c4-^ c-+ c-- c-! c4-> c4-_ \end{lilypond} \end{tabular} -- 2.11.4.GIT