| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% rubikpatterns.dtx |
| 4 |
% |
| 5 |
% version 5.0 |
| 6 |
% |
| 7 |
% Authors: RWD Nickalls ([email protected]) |
| 8 |
% and Apostolos Syropoulos ([email protected]) |
| 9 |
% |
| 10 |
% Copyright 25 February 2018 RWD Nickalls + A Syropoulos |
| 11 |
% |
| 12 |
% This work may be distributed and/or modified under the |
| 13 |
% conditions of the LaTeX Project Public License, either |
| 14 |
% version 1.3c of this license or (at your option) any |
| 15 |
% later version. The latest version of this licence is in |
| 16 |
% |
| 17 |
% http://www.latex-project.org/lppl.txt |
| 18 |
% |
| 19 |
%<*readme> |
| 20 |
% |
| 21 |
% The rubikpatterns package provides a collection of LaTeX commands and macros |
| 22 |
% for the typesetting of Rubik cube configurations and rotation |
| 23 |
% sequences using the TikZ graphic language. |
| 24 |
% |
| 25 |
% Please report errors or suggestions for improvement to |
| 26 |
% |
| 27 |
% Dick Nickalls or Apostolos Syropoulos |
| 28 |
% |
| 29 |
% This package requires the basic TikZ package to be loaded already |
| 30 |
%</readme> |
| 31 |
% |
| 32 |
%<*driver> |
| 33 |
\listfiles |
| 34 |
\documentclass{ltxdoc} |
| 35 |
\IfFileExists{rubikpatterns.sty}{\usepackage{rubikpatterns}}{% |
| 36 |
\GenericWarning{rubikpatterns.dtx}{Package file rubikpatterns.sty not found. |
| 37 |
Documentation will be messed up!^^J |
| 38 |
(Generate rubikpatterns.sty by (La)TeXing rubikpatterns.ins, and then^^J |
| 39 |
process rubikpatterns.dtx again)^^J}\stop |
| 40 |
}% |
| 41 |
\pagestyle{myheadings} |
| 42 |
\markright{\texttt{rubikpatterns} \ \ (Rubik bundle v5.0, 2018) \ \ \texttt{www.ctan.org/pkg/rubik}} |
| 43 |
\usepackage{ifpdf} |
| 44 |
\usepackage{url,path} %% for references and paths |
| 45 |
\usepackage{graphicx} %% for the two pdf figs |
| 46 |
\usepackage{hypdoc} %% for pdf bookmarks + hyperref documenting of packages |
| 47 |
%%\OnlyDescription |
| 48 |
\EnableCrossrefs |
| 49 |
\PageIndex |
| 50 |
\CodelineIndex |
| 51 |
\CodelineNumbered |
| 52 |
\RecordChanges |
| 53 |
\setcounter{StandardModuleDepth}{1} |
| 54 |
\begin{document} |
| 55 |
\DocInput{rubikpatterns.dtx} |
| 56 |
\PrintChanges |
| 57 |
\PrintIndex |
| 58 |
\end{document} |
| 59 |
%</driver> |
| 60 |
% \fi |
| 61 |
% |
| 62 |
% |
| 63 |
% |
| 64 |
%%% \CheckSum{187} |
| 65 |
% |
| 66 |
%%% \CharacterTable |
| 67 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 68 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 69 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 70 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 71 |
%% Dollar \$ Percent \% Ampersand \& |
| 72 |
%% Acute accent \' Left paren \( Right paren \) |
| 73 |
%% Asterisk \* Plus \+ Comma \, |
| 74 |
%% Minus \- Point \. Solidus \/ |
| 75 |
%% Colon \: Semicolon \; Less than \< |
| 76 |
%% Equals \= Greater than \> Question mark \? |
| 77 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 78 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 79 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 80 |
%% Right brace \} Tilde \~} |
| 81 |
% |
| 82 |
% |
| 83 |
% |
| 84 |
% \title{% |
| 85 |
% \ifpdf\pdfbookmark[1]{Title}{Title}\else\fi% |
| 86 |
% The \textsc{rubikpatterns} package} |
| 87 |
% |
| 88 |
% \author{ |
| 89 |
% RWD Nickalls ([email protected]) \\ |
| 90 |
% A Syropoulos ([email protected]) |
| 91 |
% } |
| 92 |
% \date{This file describes version \RPfileversion\ (\RPfiledate)\\ |
| 93 |
% \texttt{www.ctan.org/pkg/rubik}} |
| 94 |
% \maketitle |
| 95 |
% |
| 96 |
% \begin{abstract} |
| 97 |
% The \rubikpatterns\ package is a small data-base of well-known named |
| 98 |
% Rubik patterns and associated rotation sequences, for use in conjunction |
| 99 |
% with the other Rubik `bundle' packages. |
| 100 |
% \end{abstract} |
| 101 |
% |
| 102 |
% |
| 103 |
% \tableofcontents |
| 104 |
% |
| 105 |
% \pagebreak |
| 106 |
% |
| 107 |
% \section{Introduction} |
| 108 |
% |
| 109 |
% The \textsc{rubikpatterns} package is a small a data-base of well-known Rubik |
| 110 |
% rotation sequences for use in conjunction with the Rubik bundle packages. |
| 111 |
% These rotation sequences, which are well-known and widely available, |
| 112 |
% were sourced from the Rubik-related |
| 113 |
% websites of Reid M and Kociemba H (see References for URLs). |
| 114 |
% |
| 115 |
% |
| 116 |
% |
| 117 |
% \section{Requirements} |
| 118 |
% |
| 119 |
% The \textsc{rubikpatterns} package requires (a)~the TikZ package, since it makes |
| 120 |
% use of the TikZ picture environment, (b)~the \textsc{rubikcube} package, and |
| 121 |
% (c)~the \textsc{rubikrotation} package, since it uses |
| 122 |
% the Perl program \texttt{rubikrotation.pl}. |
| 123 |
% The \verb!TikZ! package must be loaded \textit{before} the \textsc{rubikcube} package. |
| 124 |
% The \textsc{rubikrotation} package requires Perl to be installed. |
| 125 |
% |
| 126 |
% |
| 127 |
% |
| 128 |
% \section{Installation} |
| 129 |
% |
| 130 |
% |
| 131 |
% The Rubik bundle consists of the four packages \textsc{rubikcube}, \textsc{rubikrotation}, |
| 132 |
% \textsc{rubikpatterns} and \textsc{rubiktwocube}. |
| 133 |
% |
| 134 |
% Here we describe only the installation of the \textsc{rubikpatterns} package, |
| 135 |
% which consists of the following files: |
| 136 |
%\begin{quote} |
| 137 |
% \begin{verbatim} |
| 138 |
% rubikpatterns.ins |
| 139 |
% rubikpatterns.dtx |
| 140 |
% rubikpatterns.pdf --this document |
| 141 |
% rubikpatternsLIST.tex |
| 142 |
% rubikpatternsLIST.pdf --a graphic list of all patterns in this package |
| 143 |
% rubikpatterns-doc-figA.pdf |
| 144 |
%\end{verbatim} |
| 145 |
%\end{quote} |
| 146 |
% The package documentation is the file \texttt{rubikpatterns.pdf}. |
| 147 |
% The style option \texttt{rubikpatterns.sty} is generated by running (pdf)\LaTeX\ on |
| 148 |
% the file \texttt{rubikpatterns.ins} as follows: |
| 149 |
%\begin{quote} |
| 150 |
%\begin{verbatim} |
| 151 |
% pdflatex rubikpatterns.ins |
| 152 |
%\end{verbatim} |
| 153 |
%\end{quote} |
| 154 |
% The documentation file (\texttt{rubikpatterns.pdf}) is then generated using the following |
| 155 |
% sequence of steps\,\footnote{Since the documentation includes a complicated indexing |
| 156 |
% system as well a \textsc{pdf} index and hyperef links (the package \texttt{hypdoc} |
| 157 |
% is used), then a lot of pdflatex runs are required. Prior to the first run it is |
| 158 |
% a good idea to delete any relevant \texttt{.toc}, \texttt{.aux}, \texttt{.out} files.}: |
| 159 |
%\begin{quote} |
| 160 |
% \begin{verbatim} |
| 161 |
% pdflatex rubikpatterns.dtx |
| 162 |
% pdflatex rubikpatterns.dtx |
| 163 |
% makeindex -s gind.ist rubikpatterns |
| 164 |
% makeindex -s gglo.ist -o rubikpatterns.gls rubikpatterns.glo |
| 165 |
% pdflatex rubikpatterns.dtx |
| 166 |
% pdflatex rubikpatterns.dtx |
| 167 |
%\end{verbatim} |
| 168 |
%\end{quote} |
| 169 |
% |
| 170 |
% |
| 171 |
% |
| 172 |
% \subsection{Placing the files} |
| 173 |
% \label{sec:placingfiles} |
| 174 |
% |
| 175 |
% Place the files either in a working directory, or where your system |
| 176 |
% will find them, e.g.,~in your \texttt{/texmf-local/} directory tree. |
| 177 |
% For example, on a Linux platform with a standard \TeX\ Directory Structure (TDS), then: |
| 178 |
% |
| 179 |
%\medskip |
| 180 |
%{\noindent}*.sty $\rightarrow$ \texttt{/usr/local/texlive/texmf-local/tex/latex/rubik/} |
| 181 |
%{\newline}*.pdf $\rightarrow$ \texttt{/usr/local/texlive/texmf-local/doc/rubik/} |
| 182 |
% |
| 183 |
%\medskip |
| 184 |
% |
| 185 |
%\medskip |
| 186 |
%{\noindent}\textsc{file database}:\ \ Finally, (depending on your system) update the |
| 187 |
% \TeX\ file database. |
| 188 |
% For example, on a Linux platform this is achieved using the \texttt{texhash} command. |
| 189 |
% |
| 190 |
% |
| 191 |
% \subsection{The rubikpatternsLIST file} |
| 192 |
% |
| 193 |
|
| 194 |
% Note that the package includes a `rubikpatternsLIST' file (\texttt{rubikpatternsLIST.pdf}), |
| 195 |
% as well as the source file (\texttt{rubikpatternsLIST.tex}), and |
| 196 |
% associated \texttt{.sh} (Linux) and \texttt{.bat} (Microsoft) batch |
| 197 |
% files, which can be used to facilitate processing the source \texttt{.tex} file. |
| 198 |
% The file \texttt{rubikpatternsLIST.pdf} showcases the Rubik cube |
| 199 |
% patterns made available in this package. |
| 200 |
% |
| 201 |
% Note that should you need to generate the file \texttt{rubikpatternsLIST.pdf} |
| 202 |
% from the source file (\texttt{rubikpatternsLIST.tex}) you will require |
| 203 |
% the \textsc{rubikcube} and \textsc{rubikrotation} packages to be installed, |
| 204 |
% and will also need to use the \verb!--shell-escape! command-line |
| 205 |
% option (see Section~\ref{sec:rubikrotation} for details). |
| 206 |
% |
| 207 |
% |
| 208 |
% |
| 209 |
% |
| 210 |
% |
| 211 |
% \subsection{Usage} |
| 212 |
% \label{sec:usage} |
| 213 |
% Load the packages \textsc{rubikcube}, |
| 214 |
% \textsc{rubikrotation} and \textsc{rubikpatterns} in the \TeX\ file preamble \textit{after} loading |
| 215 |
% the TikZ package; for example, as follows: |
| 216 |
%\begin{quote} |
| 217 |
% \begin{verbatim} |
| 218 |
% \usepackage{tikz} |
| 219 |
% \usepackage{rubikcube,rubikrotation,rubikpatterns} |
| 220 |
%\end{verbatim} |
| 221 |
%\end{quote} |
| 222 |
% Since the sequence macros made available by this package are accessed using commands |
| 223 |
% provided by the \textsc{rubikcube} and \textsc{rubikrotation} packages, please read the |
| 224 |
% documentation of these packages. |
| 225 |
% |
| 226 |
% |
| 227 |
% |
| 228 |
% \section{Rubik patterns} |
| 229 |
% |
| 230 |
% A Rubik pattern is the configuration generated by a sequence of rotations |
| 231 |
% (or `moves') from some initial starting configuration (typically a `solved' |
| 232 |
% configuration). For example, `sixspot' is a well known pattern generated |
| 233 |
% from a solved Rubik cube by the rotation sequence |
| 234 |
% \texttt{U,Dp,R,Lp,F,Bp,U,Dp}, as follows: |
| 235 |
% |
| 236 |
% \bigskip |
| 237 |
% |
| 238 |
% \noindent\begin{minipage}{\textwidth} |
| 239 |
% \centering |
| 240 |
% \ifpdf |
| 241 |
% \includegraphics[height=3cm]{rubikpatterns-doc-figA.pdf} |
| 242 |
% \else |
| 243 |
% \fi |
| 244 |
% \end{minipage} |
| 245 |
% |
| 246 |
% \bigskip |
| 247 |
% |
| 248 |
% {\noindent}The code for the above image is as follows: |
| 249 |
% |
| 250 |
%\begin{verbatim} |
| 251 |
% \noindent\hfil% |
| 252 |
% \RubikCubeSolvedWB% |
| 253 |
% \ShowCube{2.4cm}{0.6}{\DrawRubikCubeRU}% |
| 254 |
% \RubikRotation{\SixSpot}% |
| 255 |
% \quad\SequenceBraceA{sixspot}{\ShowSequence{}{\Rubik}{\SequenceLong}}\quad% |
| 256 |
% \ShowCube{2.4cm}{0.6}{\DrawRubikCubeRU}% |
| 257 |
% \hfil% |
| 258 |
%\end{verbatim} |
| 259 |
% |
| 260 |
% \bigskip |
| 261 |
% |
| 262 |
% Note that the appearance of a pattern generated by a given |
| 263 |
% rotation sequence is, of course, sensitive to (a)~the particular colour |
| 264 |
% configuration of the solved cube used, and (b)~the initial orientation of |
| 265 |
% the Rubik cube. |
| 266 |
% |
| 267 |
% |
| 268 |
% Consequently the appearance generated by a given sequence |
| 269 |
% may appear slightly different from |
| 270 |
% that on some websites, although the colour configuration (pattern's \textit{geometry}) |
| 271 |
% will, of course, be the same (isomorphic). You may therefore need |
| 272 |
% to adjust the pre- (and possibly the post-) x,y,z rotations in |
| 273 |
% order to obtain a particular configuration as displayed elsewhere. |
| 274 |
% |
| 275 |
% |
| 276 |
% \subsection{Sequence macros} |
| 277 |
% |
| 278 |
% Each of the rotation sequences of `patterns' made available by the |
| 279 |
% \textsc{rubikpatterns} package is defined in the file \texttt{rubikpatterns.sty} |
| 280 |
% in the following compact macro form. |
| 281 |
% For~example, the rotation sequence associated with the pattern known |
| 282 |
% as `SixSpot' (shown in the figure above) is defined as follows: |
| 283 |
%\begin{verbatim} |
| 284 |
%\newcommand{\SixSpot}{[SixSpot],U,Dp,R,Lp,F,Bp,U,Dp,<(8q*, 8f*)>} |
| 285 |
%\newcommand{\sixspot}{\SixSpot} |
| 286 |
%\end{verbatim} |
| 287 |
% The macro name is \verb!\SixSpot! (the lower-case version \verb!\sixspot! can also be used). |
| 288 |
% Note that the second argument which |
| 289 |
% includes the rotation sequence, also includes the pattern name in |
| 290 |
% square brackets \verb![SixSpot]! as the first element in the sequence. |
| 291 |
% Additional metadata (held by the macro \verb!\SequenceInfo!) is appended |
| 292 |
% in angle brackets (separated by a comma) as follows: \verb!<(8q*, 8f*)>!. |
| 293 |
% For details see the \textsc{rubikrotation} package documentation. |
| 294 |
% |
| 295 |
% |
| 296 |
% |
| 297 |
% \subsection{List of macros} |
| 298 |
% |
| 299 |
% The following is a list of the macro names of all the Rubik patterns supplied by |
| 300 |
% the \textsc{rubikpatterns} package. Note that for convenience each macro-name listed |
| 301 |
% has an equivalent lower-case version. See the companion file \texttt{rubikpatternsLIST.pdf} |
| 302 |
% for a detailed list showing each pattern and its associated |
| 303 |
% sequence\,\footnote{We show all these images in a separate |
| 304 |
% file (\texttt{rubikpatternsLIST.pdf}) purely because generating them requires |
| 305 |
% using the \LaTeX\ command-line option \texttt{--shell-escape} in conjunction |
| 306 |
% with the \textsc{rubikrotation} package.}. |
| 307 |
% |
| 308 |
% All the pattern names encoded here (as macros) are well-known and widely available. |
| 309 |
% However, some pattern names have been slightly modified |
| 310 |
% in order to avoid spaces and to keep them as similar to the original as possible. |
| 311 |
% On finding different sequences which generate the same pattern, then the |
| 312 |
% shortest sequence has been selected (they can be readily distinguished by their metadata). |
| 313 |
% |
| 314 |
% Finally, we note that there is a serious need for a standardised one-word nomenclature |
| 315 |
% in order to avoid confusion, and to facilitate computerisation and an electronic database. |
| 316 |
% Such a notation also needs to accommodate those sequence variations which generate the same pattern. |
| 317 |
% We welcome suggestions and/or help for improvement. |
| 318 |
|
| 319 |
% |
| 320 |
%\begin{verbatim} |
| 321 |
% \PonsAsinorum |
| 322 |
% \CheckerboardsThree |
| 323 |
% \CheckerboardsSix |
| 324 |
% \Stripes |
| 325 |
% \CubeInCube |
| 326 |
% \CubeInCubeInCube |
| 327 |
% \ChristmasCross |
| 328 |
% \PlummersCross |
| 329 |
% \Anaconda |
| 330 |
% \Python |
| 331 |
% \BlackMamba |
| 332 |
% \GreenMamba |
| 333 |
% \FemaleRattlesnake |
| 334 |
% \MaleRattlesnake |
| 335 |
% \FemaleBoa |
| 336 |
% \MaleBoa |
| 337 |
% \FourSpot |
| 338 |
% \SixSpot |
| 339 |
% \OrthogonalBars |
| 340 |
% \SixTs |
| 341 |
% \SixTwoOne |
| 342 |
% \ExchangedPeaks |
| 343 |
% \TwoTwistedPeaks |
| 344 |
% \FourTwistedPeaks |
| 345 |
% \ExchangedChickenFeet |
| 346 |
% \TwistedChickenFeet |
| 347 |
% \ExchangedRings |
| 348 |
% \TwistedRings |
| 349 |
% \EdgeHexagonTwo |
| 350 |
% \EdgeHexagonThree |
| 351 |
% \TomParksPattern |
| 352 |
% \RonsCubeInCube |
| 353 |
% \TwistedDuckFeet |
| 354 |
% \ExchangedDuckFeet |
| 355 |
% \Superflip |
| 356 |
%\end{verbatim} |
| 357 |
% |
| 358 |
% Note that the particular superflip sequence made available by this package |
| 359 |
% (shown in \texttt{rubikpatternsLIST.pdf}) is due to Reid (1995), and is detailed |
| 360 |
% on the Kociemba webpage \texttt{http://www.kociemba.org/math/oh.htm}. Indeed, this was the |
| 361 |
% first sequence to define the `20-move' (HTM) upper boundary for solving a Rubik cube |
| 362 |
% (see Rokicki \textit{et~al.}, 2013). |
| 363 |
% |
| 364 |
% The superflip configuration is also significant since it is its own inverse. |
| 365 |
% For example, the following two \verb!\RubikRotation! commands will generate the same |
| 366 |
% configuration (starting from a solved cube): |
| 367 |
%\begin{verbatim} |
| 368 |
% \RubikRotation{\superflip} |
| 369 |
% \RubikRotation{\superflip,<inverse>} |
| 370 |
%\end{verbatim} |
| 371 |
% This property is shown as one of the examples in the Rubik bundle file \texttt{rubikexamples.pdf}. |
| 372 |
% |
| 373 |
% |
| 374 |
% |
| 375 |
% \section{Change history} |
| 376 |
% |
| 377 |
% \begin{itemize} |
| 378 |
% |
| 379 |
% \item Version 4.0 (March 2017) |
| 380 |
% |
| 381 |
% --- First release of this package. |
| 382 |
% |
| 383 |
% \end{itemize} |
| 384 |
% |
| 385 |
% |
| 386 |
% |
| 387 |
% \section{References} |
| 388 |
% \label{sec:references} |
| 389 |
% |
| 390 |
%\begin{itemize} |
| 391 |
% |
| 392 |
% \item Fridrich website (Fridrich J). |
| 393 |
% See the `Pretty patterns' webpage \url{http://www.ws.binghamton.edu/fridrich/ptrns.html} |
| 394 |
% |
| 395 |
% \item Kociemba website (Kociemba H). \url{http://www.kociemba.org/cube.htm} |
| 396 |
% {\newline}---for superflip see: \url{http://www.kociemba.org/math/oh.htm} |
| 397 |
% |
| 398 |
% \item Randelshofer website (Randelshofer W). Pretty patterns. |
| 399 |
% \url{http://www.randelshofer.ch/rubik/patterns/U080.01.html} |
| 400 |
% |
| 401 |
% \item Reid M. \ Patterns. \url{http://www.cflmath.com/Rubik/patterns.html} |
| 402 |
% |
| 403 |
% \item Reid M. (1995). Superflip requires 20 face turns. (January 1995) |
| 404 |
% \url{http://www.math.ucf.edu/~reid/Rubik/CubeLovers/} |
| 405 |
% (see Section~\ref{sec:superflip}) |
| 406 |
% {\newline}[cited from Rokicki \textit{et~al.}, 2013]. |
| 407 |
% {\newline}(Note: easier to use is the following html indexed version of the |
| 408 |
% archive of the Cube-Lovers usenet group (1982--1997) |
| 409 |
% \url{http://www.math.rwth-aachen.de/~Martin.Schoenert/Cube-Lovers/}) |
| 410 |
% |
| 411 |
% \item Rokicki T, Kociemba H, Davidson M and Dethridge J (2013). The diameter of the Rubik's |
| 412 |
% cube is twenty. \textit{SIAM.\ J.\ Discrete Math.}, \textbf{27}, 1082--1105. |
| 413 |
% \url{http://tomas.rokicki.com/rubik20.pdf} |
| 414 |
% |
| 415 |
%\end{itemize} |
| 416 |
% |
| 417 |
% |
| 418 |
% |
| 419 |
% |
| 420 |
% ^^A ================================================== |
| 421 |
% \StopEventually{\PrintIndex} |
| 422 |
% |
| 423 |
% |
| 424 |
% |
| 425 |
% \section[The code]{The code (\texttt{rubikpatterns.sty})} |
| 426 |
% |
| 427 |
% |
| 428 |
% \subsection{Package heading} |
| 429 |
% \label{sec:CodePackageHeading} |
| 430 |
% |
| 431 |
% \begin{macrocode} |
| 432 |
%<*rubikpatterns> |
| 433 |
\def\RPfileversion{5.0}% |
| 434 |
\def\RPfiledate{2018/02/25}% 25 February 2018 |
| 435 |
\NeedsTeXFormat{LaTeX2e} |
| 436 |
\ProvidesPackage{rubikpatterns}[\RPfiledate\space (v\RPfileversion)] |
| 437 |
% \end{macrocode} |
| 438 |
% |
| 439 |
% |
| 440 |
% \begin{macro}{\rubikpatterns} |
| 441 |
% First we create a suitable logo |
| 442 |
% \begin{macrocode} |
| 443 |
\newcommand{\rubikpatterns}{\textsc{rubikpatterns}} |
| 444 |
% \end{macrocode} |
| 445 |
% \end{macro} |
| 446 |
% |
| 447 |
% \subsection{Patterns} |
| 448 |
% \label{sec:patternscode} |
| 449 |
% |
| 450 |
% |
| 451 |
% |
| 452 |
% |
| 453 |
% \subsubsection{Superflip} |
| 454 |
% \label{sec:superflip} |
| 455 |
% |
| 456 |
% This particular superflip sequence is from the Kociemba website (his Oh webpage). |
| 457 |
% It is due to Reid (1995). |
| 458 |
% \begin{macrocode} |
| 459 |
\newcommand{\Superflip}{[Superflip],Dp,R2,Fp,D2,F2,U2,Lp,R,Dp,R2,B,F,Rp,% |
| 460 |
U2,Lp,F2,Rp,U2,Rp,Up,<(20f*)>}% |
| 461 |
\newcommand{\superflip}{\Superflip} |
| 462 |
% \end{macrocode} |
| 463 |
% |
| 464 |
% |
| 465 |
% \subsubsection{Reid data} |
| 466 |
% |
| 467 |
% These named sequences are derived from the Reid website. |
| 468 |
% \begin{macrocode} |
| 469 |
\newcommand{\PonsAsinorum}{[PonsAsinorum],F2,B2,R2,L2,U2,D2,% |
| 470 |
<(12q*, 6f*)>}% |
| 471 |
\newcommand{\ponsasinorum}{\PonsAsinorum}% |
| 472 |
\newcommand{\CheckerboardsThree}% |
| 473 |
{[CheckerboardsThree],F,B2,Rp,D2,B,R,U,Dp,R,Lp,Dp,Fp,R2,D,F2,Bp,% |
| 474 |
<(20q*, 16f*), order 3>}% |
| 475 |
\newcommand{\checkerboardsthree}{\CheckerboardsThree}% |
| 476 |
\newcommand{\CheckerboardsSix}% |
| 477 |
{[CheckerboardsSix],R2,L2,U,B,L2,Dp,F,B2,R,Lp,Fp,B,R,D,F2,Lp,Up,% |
| 478 |
<(17f*, 22q), order 6>}% |
| 479 |
\newcommand{\checkerboardssix}{\CheckerboardsSix}% |
| 480 |
\newcommand{\Stripes}{[Stripes],F,U,F,R,L2,B,Dp,R,D2,L,Dp,B,R2,L,F,U,F,% |
| 481 |
<(20q*, 17f*)>}% |
| 482 |
\newcommand{\stripes}{\Stripes}% |
| 483 |
\newcommand{\CubeInCube}{[CubeInCube],F,L,F,Up,R,U,F2,L2,Up,Lp,B,Dp,Bp,L2,U,% |
| 484 |
<(18q*, 15f*)>}% |
| 485 |
\newcommand{\cubeincube}{\CubeInCube}% |
| 486 |
\newcommand{\CubeInCubeInCube}% |
| 487 |
{[CubeInCubeInCube],Fp,U,Bp,Rp,U,F2,U2,Fp,Up,F,U2,D,Bp,Dp,R2,B2,Up,% |
| 488 |
<(17f*, 22q)>}% |
| 489 |
\newcommand{\cubeincubeincube}{\CubeInCubeInCube}% |
| 490 |
\newcommand{\ChristmasCross}{[ChristmasCross],U,F,Bp,L2,U2,L2,Fp,B,U2,L2,U,% |
| 491 |
<(16q*, 11f*)>}% |
| 492 |
\newcommand{\christmascross}{\ChristmasCross}% |
| 493 |
\newcommand{\PlummersCross}% |
| 494 |
{[PlummersCross],R2,Lp,D,F2,Rp,Dp,Rp,L,Up,D,R,D,B2,Rp,U,D2,% |
| 495 |
<(20q*, 16f*)>}% |
| 496 |
\newcommand{\plummerscross}{\PlummersCross}% |
| 497 |
\newcommand{\Anaconda}{[Anaconda],L,U,Bp,Up,R,Lp,B,Rp,F,Bp,D,R,Dp,Fp,% |
| 498 |
<(14q*, 14f*)>}% |
| 499 |
\newcommand{\anaconda}{\Anaconda}% |
| 500 |
\newcommand{\Python}{[Python],F2,Rp,Bp,U,Rp,L,Fp,L,Fp,B,Dp,R,B,L2,% |
| 501 |
<(16q*, 14f*)>}% |
| 502 |
\newcommand{\python}{\Python}% |
| 503 |
\newcommand{\BlackMamba}{[BlackMamba],R,D,L,Fp,R,Lp,D,Rp,U,Dp,B,Up,Rp,Dp,% |
| 504 |
<(14q*, 14f*)>}% |
| 505 |
\newcommand{\blackmamba}{\BlackMamba}% |
| 506 |
\newcommand{\GreenMamba}{[GreenMamba],R,D,R,F,Rp,Fp,B,D,Rp,Up,Bp,U,D2,% |
| 507 |
<(14q*, 13f*)>}% |
| 508 |
\newcommand{\greenmamba}{\GreenMamba}% |
| 509 |
\newcommand{\FemaleRattlesnake}% |
| 510 |
{[FemaleRattlesnake],U2,Dp,L2,D,B,U,Bp,Rp,L2,U2,F,Up,F,R,% |
| 511 |
<(18q*, 14f*)>}% |
| 512 |
\newcommand{\femalerattlesnake}{\FemaleRattlesnake}% |
| 513 |
\newcommand{\MaleRattlesnake}% |
| 514 |
{[MaleRattlesnake],Rp,Fp,U,Fp,U2,R,L2,B,Up,Bp,Dp,L2,U2,D,% |
| 515 |
<(18q*, 14f*)>}% |
| 516 |
\newcommand{\malerattlesnake}{\MaleRattlesnake}% |
| 517 |
\newcommand{\FemaleBoa}{[FemaleBoa],R,Up,R2,U2,F,D2,R2,Up,Dp,R,Dp,Fp,% |
| 518 |
<(16q*, 12f*)>}% |
| 519 |
\newcommand{\femaleboa}{\FemaleBoa}% |
| 520 |
\newcommand{\MaleBoa}{[MaleBoa],F,D,Rp,U,D,R2,D2,Fp,U2,R2,U,Rp,% |
| 521 |
<(16q*, 12f*)>}% |
| 522 |
\newcommand{\maleboa}{\MaleBoa}% |
| 523 |
\newcommand{\FourSpot}{[FourSpot],F2,B2,U,Dp,R2,L2,U,Dp,% |
| 524 |
<(12q*, 8f*)>}% |
| 525 |
\newcommand{\fourspot}{\FourSpot}% |
| 526 |
\newcommand{\SixSpot}{[SixSpot],U,Dp,R,Lp,F,Bp,U,Dp,% |
| 527 |
<(8q*, 8f*)>}% |
| 528 |
\newcommand{\sixspot}{\SixSpot}% |
| 529 |
\newcommand{\OrthogonalBars}% |
| 530 |
{[OrthogonalBars],F,Rp,U,L,Fp,Lp,F,Up,R,U,Lp,Up,L,Fp,% |
| 531 |
<(14q*, 14f*)>}% |
| 532 |
\newcommand{\orthogonalbars}{\OrthogonalBars}% |
| 533 |
\newcommand{\SixTs}{[SixTs],F2,R2,U2,Fp,B,D2,L2,F,B,% |
| 534 |
<(14q*, 9f*)>}% |
| 535 |
\newcommand{\sixts}{\SixTs}% |
| 536 |
\newcommand{\SixTwoOne}{[SixTwoOne],U,B2,D2,L,Bp,Lp,Up,Lp,B,D2,B2,% |
| 537 |
<(15q*, 11f*)>}% |
| 538 |
\newcommand{\sixtwoone}{\SixTwoOne}% |
| 539 |
\newcommand{\ExchangedPeaks}% |
| 540 |
{[ExchangedPeaks],F2,R2,D,R2,U,D,F2,Dp,Rp,Dp,F,L2,Fp,D,R,Up,% |
| 541 |
<(16f*, 21q)>}% |
| 542 |
\newcommand{\exchangedpeaks}{\ExchangedPeaks}% |
| 543 |
\newcommand{\TwoTwistedPeaks}% |
| 544 |
{[TwoTwistedPeaks],F,D2,B,R,Bp,Lp,F,Dp,L2,F2,R,Fp,Rp,F2,Lp,Fp,% |
| 545 |
<(16f*, 20q)>}% |
| 546 |
\newcommand{\twotwistedpeaks}{\TwoTwistedPeaks}% |
| 547 |
\newcommand{\FourTwistedPeaks}% |
| 548 |
{[FourTwistedPeaks],Up,D,B,Rp,F,R,Bp,Lp,Fp,B,L,F,Rp,Bp,R,Fp,Up,D,% |
| 549 |
<(18q*, 18f*)>}% |
| 550 |
\newcommand{\fourtwistedpeaks}{\FourTwistedPeaks}% |
| 551 |
\newcommand{\ExchangedChickenFeet}% |
| 552 |
{[ExchangedChickenFeet],F,Lp,Dp,Bp,L,F,U,Fp,Dp,F,L2,Bp,Rp,U,L2,Dp,F,% |
| 553 |
<(19q*, 17f*)>}% |
| 554 |
\newcommand{\exchangedchickenfeet}{\ExchangedChickenFeet}% |
| 555 |
\newcommand{\TwistedChickenFeet}% |
| 556 |
{[TwistedChickenFeet],F,Lp,D,Fp,Up,B,U,F,Up,F,Rp,F2,L,Up,Rp,D2,% |
| 557 |
<(18q*, 16f*)>}% |
| 558 |
\newcommand{\twistedchickenfeet}{\TwistedChickenFeet}% |
| 559 |
\newcommand{\ExchangedRings}% |
| 560 |
{[ExchangedRings],F,U,Dp,Lp,B2,L,Up,D,F,U,R2,L2,Up,L2,F2,% |
| 561 |
<(15f*, 20q)>}% |
| 562 |
\newcommand{\exchangedrings}{\ExchangedRings}% |
| 563 |
\newcommand{\TwistedRings}% |
| 564 |
{[TwistedRings],F,D,Fp,D2,Lp,Bp,U,L,D,R,U,Lp,Fp,U,L,U2,% |
| 565 |
<(18q*, 16f*)>}% |
| 566 |
\newcommand{\twistedrings}{\TwistedRings}% |
| 567 |
\newcommand{\EdgeHexagonTwo}% |
| 568 |
{[EdgeHexagonTwo],U,B2,Up,Fp,Up,D,Lp,D2,L,U,Dp,F,Dp,L2,B2,Dp,% |
| 569 |
<(20q*, 16f*) order2>}% |
| 570 |
\newcommand{\edgehexagontwo}{\EdgeHexagonTwo}% |
| 571 |
\newcommand{\EdgeHexagonThree}% |
| 572 |
{[EdgeHexagonThree],F,L,B,U,L,F2,B2,Rp,F2,B2,Up,Bp,Lp,Fp,% |
| 573 |
<(14f*, 18q) order 3>}% |
| 574 |
\newcommand{\edgehexagonthree}{\EdgeHexagonThree}% |
| 575 |
\newcommand{\TomParksPattern}% |
| 576 |
{[TomParksPattern],L,U,F2,R,Lp,U2,Bp,U,D,B2,L,F,Bp,Rp,L,Fp,R,% |
| 577 |
<(20q*, 17f*)>}% |
| 578 |
\newcommand{\tomparkspattern}{\TomParksPattern}% |
| 579 |
\newcommand{\RonsCubeInCube}% |
| 580 |
{[RonsCubeInCube],L2,D2,Lp,D2,B2,L2,B2,Lp,D2,L2,B2,Lp,B2,% |
| 581 |
<(13f*, 23q)>}% |
| 582 |
\newcommand{\ronscubeincube}{\RonsCubeInCube}% |
| 583 |
\newcommand{\TwistedDuckFeet}% |
| 584 |
{[TwistedDuckFeet],F,Rp,B,R,U,Fp,Lp,Fp,U2,Lp,Up,D2,B,Dp,F,Bp,U2,% |
| 585 |
<(20q*, 17f*)>}% |
| 586 |
\newcommand{\twistedduckfeet}{\TwistedDuckFeet}% |
| 587 |
\newcommand{\ExchangedDuckFeet}% |
| 588 |
{[ExchangedDuckFeet],U,F,R2,Fp,Dp,R,U,B2,U2,Fp,R2,F,D,B2,R,Bp,% |
| 589 |
<(21q*, 16f*)>}% |
| 590 |
\newcommand{\exchangedduckfeet}{\ExchangedDuckFeet}% |
| 591 |
% \end{macrocode} |
| 592 |
% -------------------------- |
| 593 |
% End of this package |
| 594 |
% -------------------------- |
| 595 |
% \begin{macrocode} |
| 596 |
%</rubikpatterns> |
| 597 |
% \end{macrocode} |
| 598 |
% |
| 599 |
% |
| 600 |
% |
| 601 |
% |
| 602 |
% \Finale |
| 603 |
% |
| 604 |
\endinput |
| 605 |
|
| 606 |
|
| 607 |
|
| 608 |
|
| 609 |
|