From 720ab6d5bd9c366793fd8f03c58aec9b4348bf4d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 15 Sep 2014 22:57:22 +0000 Subject: guitarchordschemes (15sep14) git-svn-id: svn://tug.org/texlive/trunk@35179 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/guitarchordschemes/README | 6 +- .../guitarchordschemes/guitarchordschemes_en.pdf | Bin 116509 -> 415450 bytes .../guitarchordschemes/guitarchordschemes_en.tex | 633 +++++++++------------ .../guitarchordschemes/guitarchordschemes.sty | 325 ++++++----- 4 files changed, 471 insertions(+), 493 deletions(-) diff --git a/Master/texmf-dist/doc/latex/guitarchordschemes/README b/Master/texmf-dist/doc/latex/guitarchordschemes/README index 0397df22b11..16e8d67dcf3 100644 --- a/Master/texmf-dist/doc/latex/guitarchordschemes/README +++ b/Master/texmf-dist/doc/latex/guitarchordschemes/README @@ -1,15 +1,15 @@ -------------------------------------------------------------------------- -the GUITARCHORDSCHEMES package v 0.4 +the GUITARCHORDSCHEMES package v 0.6 Guitar Chord and Scale Tablatures with TikZ -2013/08/25 +2014/09/15 -------------------------------------------------------------------------- Clemens Niederberger Web: https://bitbucket.org/cgnieder/guitarchordschemes/ E-Mail: contact@mychemistry.eu -------------------------------------------------------------------------- -Copyright 2013 Clemens Niederberger +Copyright 2013-2014 Clemens Niederberger This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/doc/latex/guitarchordschemes/guitarchordschemes_en.pdf b/Master/texmf-dist/doc/latex/guitarchordschemes/guitarchordschemes_en.pdf index 87c0de8bbaf..2f94bd693a2 100644 Binary files a/Master/texmf-dist/doc/latex/guitarchordschemes/guitarchordschemes_en.pdf and b/Master/texmf-dist/doc/latex/guitarchordschemes/guitarchordschemes_en.pdf differ diff --git a/Master/texmf-dist/doc/latex/guitarchordschemes/guitarchordschemes_en.tex b/Master/texmf-dist/doc/latex/guitarchordschemes/guitarchordschemes_en.tex index 18891ca9c46..4ad227ba4bf 100644 --- a/Master/texmf-dist/doc/latex/guitarchordschemes/guitarchordschemes_en.tex +++ b/Master/texmf-dist/doc/latex/guitarchordschemes/guitarchordschemes_en.tex @@ -1,7 +1,7 @@ -% arara: xelatex -% !arara: biber -% !arara: xelatex -% !arara: xelatex +% arara: pdflatex +% arara: biber +% arara: pdflatex +% arara: pdflatex % -------------------------------------------------------------------------- % the GUITARCHORDSCHEMES package % @@ -35,63 +35,44 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % -------------------------------------------------------------------------- -\documentclass[toc=index,toc=bib]{cnpkgdoc} -\docsetup{ - pkg = [use-rbc]guitarchordschemes , - subtitle = Guitar Chord and Scale Tablatures with \TikZ , - code-box = { - backgroundcolor = gray!7!white , - skipbelow = .6\baselineskip plus .5ex minus .5ex , - skipabove = .6\baselineskip plus .5ex minus .5ex , - roundcorner = 3pt , +\documentclass[load-preamble+]{cnltx-doc} +\usepackage{guitarchordschemes} +\usepackage[chordnames]{leadsheets} + +\setcnltx{ + package = guitarchordschemes , + authors = Clemens Niederberger , + email = contact@mychemistry.eu , + url = https://bitbucket.org/cgnieder/guitarchordschemes/ , + info = guitar chord schemes and fingering scales with \TikZ , + add-cmds = { + chordscheme, + setchordscheme, + scales } , - gobble = 1 -} -\usepackage{polyglossia} -\setmainlanguage{english} -\usepackage[oldstyle,proportional]{libertine} -\usepackage{libertinehologopatch} -\cnpkgusecolorscheme{friendly} - -\setmonofont[Ligatures=TeX,Scale=MatchLowercase]{Bitstream Vera Sans Mono} - -\usepackage{fnpct} -\pagestyle{headings} - -\usepackage[biblatex]{embrac}[2013/03/22] -\ChangeEmph{[}[,.02em]{]}[.055em,-.08em] -\ChangeEmph{(}[-.01em,.04em]{)}[.04em,-.05em] - -\renewcommand*\othersectionlevelsformat[3]{% - \textcolor{main}{#3\autodot}\enskip} -\renewcommand*\partformat{% - \textcolor{main}{\partname~\thepart\autodot}} - -\addcmds{ - chordscheme, - setchordscheme, - scales, - textsuperscript + add-silent-cmds = textsuperscript , + abstract = {% + \centering + \chordscheme[ + name = Gmi7 , + position = II , + barre = {2/2-4:3} , + show-root = {4/4} , + root = {2/6:2} , + mute = {1,5} + ]% + } , + index-setup = { + othercode = \footnotesize , + level = \addsec , + noclearpage + } , + makeindex-setup = { + columns = 3 , + columnsep = 1em + } } -\usepackage{filecontents} -\usepackage{imakeidx} -\begin{filecontents*}{\jobname.ist} - heading_prefix "{\\bfseries " - heading_suffix "\\hfil}\\nopagebreak\n" - headings_flag 1 - delim_0 "\\dotfill\\hyperpage{" - delim_1 "\\dotfill\\hyperpage{" - delim_2 "\\dotfill\\hyperpage{" - delim_r "}\\textendash\\hyperpage{" - delim_t "}" - suffix_2p "\\nohyperpage{\\,f.}" - suffix_3p "\\nohyperpage{\\,ff.}" -\end{filecontents*} -\indexsetup{othercode=\footnotesize} -\makeindex[options={-s \jobname.ist},intoc,columns=3,columnsep=1em] - -\usepackage[backend=biber,style=alphabetic]{biblatex} \addbibresource{\jobname.bib} \begin{filecontents}{\jobname.bib} @online{web:pietsch:fonts, @@ -100,36 +81,6 @@ url = {http://notation.jochenpietsch.de/index_e.html} , urldate = {2012-05-10} } -@package{pkg:etoolbox, - title = {\paket*{etoolbox}}, - author = {Philipp Lehman}, - date = {2011-01-21}, - version = {2.1}, - url = {http://mirror.ctan.org/macros/latex/contrib/etoolbox} -} -@package{pkg:pgfopts, - title = {\paket*{pgfopts}}, - author = {Joseph Wright}, - date = {2011-06-02}, - version = {2.1}, - url = {http://mirror.ctan.org/macros/latex/contrib/pgfopts} -} -@package{pkg:realbookchords, - title = {\paket*{realbookchords}}, - author = {Clemens Niederberger}, - date = {2013-04-29}, - version = {0.1}, - url = {https://bitbucket.org/cgnieder/guitarchordschemes/} -} -@package{pkg:tikz, - author = {Till Tantau and Mark Wibrow and Christian Feuersänger}, - title = {Ti\textit{k}Z/pgf}, - sorttitle = {TikZ}, - version = {2.10}, - date = {2010-02-25}, - url = {http://sourceforge.net/projects/pgf/}, - urldate = {2013-04-18} -} @book{leavitt:mmfg:1, author = {William G. Leavitt}, title = {A Modern Method for Guitar}, @@ -139,304 +90,276 @@ } \end{filecontents} - -\let\verb\lstinline -\makeatletter -\def\TikZ@logo{Ti\textit{k}Z} -\renewrobustcmd\TikZ{\TikZ@logo\index{TikZ@\TikZ@logo}} -\makeatother - \usepackage{ccicons} -\usepackage{acro,accsupp} -\DeclareAcronym{ctan}{ - short = ctan , - long = the \textsc{Comprehensive \TeX{} Archive Network} , - short-format = \scshape , - pdfstring = CTAN , - accsupp = CTAN -} -\acsetup{first-style=footnote} - \setchordscheme{ - finger-format+=\biolinumLF , - name-format+=\libertineLF + finger-format+ = \biolinumLF , + name-format+ = \libertineLF , + chord-name-cs = \chordname } -\TitlePicture{% -\chordscheme[ - name = Gmi7 , - position = II , - barre = {2/2-4:3} , - show-root = {4/4} , - root = {2/6:2} , - mute = {1,5} -]} +\newcommand*\TikZ{Ti\textit{k}Z} + \begin{document} \section{License and Requirements} -\guitarchordschemes is placed under the terms of the \LaTeX{} Project Public License, -version 1.3 or later (\url{http://www.latex-project.org/lppl.txt}). -It has the status “maintained”. +\license + +\guitarchordschemes{} loads the packages \TikZ~\cite{pkg:pgf}, +\pkg{etoolbox}~\cite{pkg:etoolbox} and \pkg{pgfopts}~\cite{pkg:pgfopts}. It +also loads the \TikZ{} libraries \code{shapes.misc}, \code{arrows} and +\code{calc}. -\guitarchordschemes loads the packages \TikZ~\cite{pkg:tikz}, -\paket*{etoolbox}~\cite{pkg:etoolbox} and \paket*{pgfopts}~\cite{pkg:pgfopts}. -It also loads the \TikZ{} libraries \code{shapes.misc}, \code{arrows} and \code{calc}. -Depending on an option it also loads \paket*{realbookchords}~\cite{pkg:realbookchords}. -This package is not yet published on \ac{ctan} and thus not part of any \TeX{} -distribution. Until it is you can find it at -\url{https://bitbucket.org/cgnieder/realbookchords/}. -See section~\ref{sec:realbookchords} for details on this option. +% Depending on an option it also loads +% \pkg{realbookchords}~\cite{pkg:realbookchords}. This package is not yet +% published on \CTAN{} and thus not part of any \TeX{} distribution. Until it is +% you can find it at \url{https://bitbucket.org/cgnieder/realbookchords/}. See +% section~\ref{sec:realbookchords} for details on this option. \section{The Commands} This package more or less provides a single command: -\begin{beschreibung} - \Befehl{chordscheme}[] - \Befehl{scales}[