From d9d5b6b29fcac7ee0e1717ce8713a408641e600d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 22 Jul 2018 21:16:45 +0000 Subject: contracard (22jul18) git-svn-id: svn://tug.org/texlive/trunk@48250 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/contracard/contracard.dtx | 97 ++++++++++++++++++---- 1 file changed, 83 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/contracard/contracard.dtx b/Master/texmf-dist/source/latex/contracard/contracard.dtx index 80bfae7ed3e..37faf7bf617 100644 --- a/Master/texmf-dist/source/latex/contracard/contracard.dtx +++ b/Master/texmf-dist/source/latex/contracard/contracard.dtx @@ -11,15 +11,14 @@ class which generates calling cards for the same. ## Download Development of this package occurs primarily on -[GitHub](https://github.com/SamWhited/contracard). Issues and pull requests -should be submitted there. +[GitHub](https://github.com/SamWhited/contracard). +Issues and pull requests should be submitted there. The current [release version](http://ctan.org/tex-archive/macros/latex/contrib/contracard) of **Contra Card** and associated [documentation](http://mirrors.ctan.org/macros/latex/contrib/contracard/contracard.pdf) -[PDF] is available from [CTAN](http://ctan.org/pkg/contracard) or -[GitHub](https://github.com/SamWhited/contracard/releases). +[PDF] is available from [CTAN](http://ctan.org/pkg/contracard). ## License @@ -38,9 +37,8 @@ This work has the LPPL maintenance status `maintained'. - Author: Sam Whited - Maintainer: Sam Whited -- Website: https://samwhited.com +- Website: https://blog.samwhited.com - Contact: sam@samwhited.com -- Public key: 0xEC2C9934 This work consists of this file contracard.dtx and the derived files `contracard.sty`, `contracard.cls`, `contracard.pdf`, `README.md`, and `README`. @@ -78,7 +76,6 @@ This work consists of this file contracard.dtx and the derived files Maintainer: Sam Whited Website: https://samwhited.com Contact: sam@samwhited.com - Public key: 0xEC2C9934 This work consists of this file contracard.dtx and the derived files contracard.sty @@ -187,8 +184,7 @@ This work consists of this file contracard.dtx and the derived files % \title{The Contra Card Project} % \author{ % \name{Sam Whited}\\* -% \texttt{sam@samwhited.com}\\* -% \texttt{0xEC2C9934} +% \texttt{sam@samwhited.com} % } % \date{\today\\*\gittag} % @@ -224,7 +220,7 @@ This work consists of this file contracard.dtx and the derived files % \subsection{About the source} % % Contributions are welcome, and the latest development version of the project -% can always be found at \url{https://github.com/samwhited/contracard}. +% can always be found at \url{https://github.com/SamWhited/contracard}. % % \subsection{License} % @@ -254,6 +250,28 @@ This work consists of this file contracard.dtx and the derived files % order). Also to Sarah Snyder, and all of my other favorite dance partners from % the Atlanta dance community. % +% \begin{exampledance} +% \begin{contra}{Lament To Sarah}{Sam Whited}{Duple improper} +% \lines*[In your set, short] +% \move[4]{open up across} +% \rollawayhalfsashay +% \move[4]{Neighbor two hand turn}\unskip\moveindex{Two hand turn}% +% +% \move[8]{Cont.\ two hand turn}\unskip\moveindex{Two hand turn}% +% \swing*[Melt into a]{8} +% +% \balanceand\longpetronella +% \balanceand\longpetronella +% \balanceand\longpetronella +% \move[8]{Balance with your partner and two hand turn while rotating to the +% right to end facing new neighbors}\unskip\moveindex{Balance}\moveindex{Two hand turn} +% \notes{% +% Open up with your neighbor in four steps, facing across with leads on the +% right.% +% } +% \end{contra} +% \end{exampledance} +% % \StopEventually{} % \changes{0.1}{2013/02/09}{Created boilerplate for class} % \changes{0.3}{2013/02/20}{Split core functionality out into package} @@ -266,8 +284,10 @@ This work consists of this file contracard.dtx and the derived files % % \section{Building and using \pkg{contracard}} % -% \paragraph{Dependencies} Before building the \pkg{contracard} package you -% should verify that the following dependencies are installed: +% \paragraph{Dependencies} The following dependencies are loaded by +% \pkg{contracard} (you do not need to include them in your project, +% \pkg{contracard} does this for you); before building the \pkg{contracard} +% package you should verify that they are installed. % % \begin{macrocode} %<*contracard-pkg> @@ -743,7 +763,7 @@ This work consists of this file contracard.dtx and the derived files % \begin{exampledance} % \setlength{\phrasevspace}{0em} % \renewcommand*{\partdelimiter}{:} -% \begin{contra}{Untitled Blues \textnumero\ 1}{\href{http://www.dancerhapsody.com/calling/dances.html}{Seth Tepfer}}{Duple minor im.} +% \begin{contra}{Untitled Blues \textnumero\ 1}{Seth Tepfer}{Duple minor im.} % \gypsy*[Neighbor]{8} % \gypsy*[Ladies]{8} % \newdancephrase @@ -786,7 +806,7 @@ This work consists of this file contracard.dtx and the derived files % \setlength{\phrasevspace}{0em} % \renewcommand*{\partdelimiter}{:} % \setcounter{dancephraselength}{16} -% \begin{contra}{Untitled Blues \textnumero\ 2}{\href{http://www.dancerhapsody.com/calling/dances.html}{Seth Tepfer}}{Duple minor im.} +% \begin{contra}{Untitled Blues \textnumero\ 2}{Seth Tepfer}{Duple minor im.} % \gypsy*[Neighbor]{8} % \move[8]{Gents allemande\moveindex{Allemande} left 1\textonehalf} % \balanceand*[Partner]\swing{16} @@ -1445,6 +1465,14 @@ This work consists of this file contracard.dtx and the derived files % \changes{1.0.0}{2013/09/08}{Add move shortcut} % \begin{macro}{\longpetronella*} % \changes{1.0.0}{2013/09/08}{Add move shortcut} +% \begin{macro}{\petronellanella} +% \changes{1.1.0}{2018/07/21}{Add nella-nella petronella variants} +% \begin{macro}{\petronellanella*} +% \changes{1.1.0}{2018/07/21}{Add nella-nella petronella variants} +% \begin{macro}{\longpetronellanella} +% \changes{1.1.0}{2018/07/21}{Add nella-nella petronella variants} +% \begin{macro}{\longpetronellanella*} +% \changes{1.1.0}{2018/07/21}{Add nella-nella petronella variants} % Petronella's are normally performed in rings of four, and aren't with another % individual, however, the \code{\textbackslash petronella} macro still takes a % single optional argument for those rare occasions when two individuals are @@ -1454,6 +1482,19 @@ This work consists of this file contracard.dtx and the derived files % longpetronella} which takes up the full 8 counts. This way you can write % \code{\textbackslash balanceand\textbackslash longpetronella} and the timing % will be correct. +% A petronella-nella has the same timing as an ormal petronella but instead of +% moving one place to the right dancers move two places. +% \begin{exampledance} +% \begin{contra}{Snowball Shimmy}{Seth Tepfer}{Duple becket} +% \move[8]{Circle left all the way} +% \allemande*[Gents]{8}{left 1\textonehalf} +% \balanceand\swing[neighbor]{16} +% \balanceand\longpetronella +% \balanceand\longpetronellanella +% \balanceand\swing[partner]{16} +% \notes{nella-nella variant of Erik Weberg's Wasatch Wiggle} +% \end{contra} +% \end{exampledance} % \begin{macrocode} \newcommand*{\petronella}{% \moveindex{Petronella}% @@ -1477,11 +1518,39 @@ This work consists of this file contracard.dtx and the derived files \expandafter\expandafter\expandafter\MakeUppercase\@gobbletwo]{% \move[8]{\ignorespaces#1\unskip\ petronella}% } +\newcommand*{\petronellanella}{% + \moveindex{Petronella}% + \moveindex{Petronella-nella}% + \@ifstar\@petronellanellaStar\@petronellanellaNoStar% +} +\newcommand*{\@petronellanellaNoStar}[1][\unskip]{% + \move[4]{Petronella-nella \ignorespaces#1\unskip}% +} +\newcommand*{\@petronellanellaStar}[1][% + \expandafter\expandafter\expandafter\MakeUppercase\@gobbletwo]{% + \move[4]{\ignorespaces#1\unskip\ petronella-nella}% +} +\newcommand*{\longpetronellanella}{% + \moveindex{Petronella}% + \moveindex{Petronella-nella}% + \@ifstar\@longpetronellanellaStar\@longpetronellanellaNoStar% +} +\newcommand*{\@longpetronellanellaNoStar}[1][\unskip]{% + \move[8]{Petronella-nella \ignorespaces#1\unskip}% +} +\newcommand*{\@longpetronellanellaStar}[1][% + \expandafter\expandafter\expandafter\MakeUppercase\@gobbletwo]{% + \move[8]{\ignorespaces#1\unskip\ petronella-nella}% +} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % % \begin{macro}{\promenade} % \changes{1.0.0}{2013/09/06}{Add move shortcut} -- cgit v1.2.3