From 0aaf64b697e26361a9b0577b0405ea321f6b3026 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 21 Dec 2012 23:34:47 +0000 Subject: simplecd (21dec12) git-svn-id: svn://tug.org/texlive/trunk@28612 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/simplecd/simplecd.dtx | 1077 +++++++++++++++++--- .../texmf-dist/source/latex/simplecd/simplecd.ins | 106 +- 2 files changed, 970 insertions(+), 213 deletions(-) (limited to 'Master/texmf-dist/source/latex/simplecd') diff --git a/Master/texmf-dist/source/latex/simplecd/simplecd.dtx b/Master/texmf-dist/source/latex/simplecd/simplecd.dtx index 59adc3b1175..b7ed112a15f 100644 --- a/Master/texmf-dist/source/latex/simplecd/simplecd.dtx +++ b/Master/texmf-dist/source/latex/simplecd/simplecd.dtx @@ -18,7 +18,7 @@ %\iffalse %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{simplecd} -% [2012/11/04 v1.1 simple cd, dvd covers and many more] +% [2012/12/21 v1.2 simple CD, DVD covers and many more] % %<*driver> \documentclass{ltxdoc} @@ -31,9 +31,8 @@ \usepackage[hyperindex=false,% pdftitle={simplecd},% pdfauthor={Daniel Majoros},% - pdfsubject={CD, DVD case covers},% - pdfkeywords={cd,dvd,bluray,cover,sheet,keepcase,layout}]{hyperref} - + pdfsubject={CD, DVD and other media covers and labels},% + pdfkeywords={cover,cd,dvd,bluray,sheet,keepcase,layout,disk,zip,VHS}]{hyperref} \EnableCrossrefs \CodelineIndex \RecordChanges @@ -48,7 +47,7 @@ % %\fi % -% \CheckSum{1016} +% \CheckSum{1404} % % \CharacterTable % {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,13 +67,14 @@ % % \changes{v1.0}{2010/07/01}{Initial version} % \changes{v1.1}{2012/11/04}{Rewrote drawing mechanism, added layouts, disk images, additional covers} +% \changes{v1.2}{2012/12/21}{Added new layouts and many new covers, labels} % % \DoNotIndex{\newline,\\,\space,\begin,\end,\rule,\cline,\hspace,\vspace,\centering,\DeclareRobustCommand,\{,\},\ } % \DoNotIndex{\newcommand,\newlength,\setlength,\parbox,\line,\putline,\resizebox,\unitlength} % \DoNotIndex{\put,\RequirePackage,\vrule,\DeclareOption,\fontsize,\ProcessOptions,\relax} % \DoNotIndex{\renewcommand,\selectfont,\multicolumn,\framebox,\usebox,\put,\line,\value,\rotatebox,\setcounter,\newcounter,\!,!\!,!\,! ,\! ,!\! ,!\ , } % \DoNotIndex{\Large,\Huge,\huge,\footnotesize,\underline,\savebox,\equal,\boolean,\newboolean,\setboolean,\baselineskip,\ifthenelse} -% \DoNotIndex{\scalebox,\makebox,\OR,\AND,\newsavebox,\qbezier,\circle,\space} +% \DoNotIndex{\scalebox,\makebox,\OR,\AND,\newsavebox,\qbezier,\circle,\space,\textless,\textgreater} % \begingroup % \makeatletter % \lccode`9=32\relax @@ -91,17 +91,22 @@ % \author{D\'aniel Majoros} % % \maketitle - +% % \begin{abstract} -% The simplecd package provides printable cut-outs for various CD, DVD and other disc holders. +% The simplecd package provides printable cut-outs for various CD, DVD and other data storage holders. % The name of the package comes form it's implementation and ease of use. % \end{abstract} % +% \newlength{\orig} +% \setlength{\orig}{\baselineskip} +% \setlength{\baselineskip}{0.9\baselineskip} % \tableofcontents +% \setlength{\baselineskip}{\orig} % % \section{Introduction} % The \textsf{simplecd} package was created for producing cut-outs for creating covers, inlays(inlets) for -% optical disc packaging such as jewel cases, keepcases. The covers were aimed for containing only +% optical disc packaging such as jewel cases, keepcases. Additional data storage cover support were added for +% VHS, audio cassette and gramophone records. The covers were aimed for containing only % simple text with different font sizes, but since everything is placed inside a |\parbox| environment, it can % contain a wide range of things. % @@ -109,6 +114,15 @@ % % The layout macros provide ready-to-use formatting for the covers. % +% \section{Installation} +% +% The install procedure is the usual. Run \texttt{(pdf)latex} on the \texttt{simplecd.ins} file to obtain the necessary \texttt{simplecd.sty} file: \\ +% +% \texttt{pdflatex ./simplecd.ins --output-directory=./} \\ +% +% Then place the \texttt{simplecd.sty} file in a directory that is searched by \TeX. +% If you use some kind of \LaTeX\ distribution, like MiKTeX, see it's documentation. +% % \section{Usage} % % To use the package, put this in the document preamble: |\usepackage{simplecd}|. @@ -130,6 +144,8 @@ % % \vspace{0.3cm} % +% Please note that not all the covers were tested ( printed and placed on actual media ) as the appropriate media was not available. +% % \subsection{Cut-outs} % % \subsubsection{Jewel cases} @@ -316,6 +332,54 @@ % % \vspace*{0.5cm} % +% \subsubsection{Floppy covers} +% +% These macros can be used to produce covers that can be glued to floppy disks at the appropriate place. +% +% \DescribeMacro{\floppyIIIV} The |\floppyIIIV| macro creates cover for the 3.5-inch (89 mm) disks. The cover +% should be glued to both sides of the disk. Usage: |\floppyIIIV| \marg{front} \marg{back} +% +% \begin{lstlisting} +% \floppyIIIV{Front content}{Back content}} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.5\textwidth}{!}{% +% \floppyIIIV{Front content}{Back content}}% +% \caption{The 3.5-inch floppy disk cover} +% \end{figure} +% +% \subsubsection{Zip disks} +% +% \DescribeMacro{\zipdisk} The |\zipdisk| macro provides a cover label for zip disks. +% Cover dimensions: 98 millimeter wide, 120 millimeter high. Usage: |\zipdisk| \marg{front} \marg{back} +% +% \begin{lstlisting} +% \zipdisk{Front content}{Back content} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.5\textwidth}{!}{% +% \zipdisk{Front content}{Back content}}% +% \caption{Cover label for zip disks} +% \end{figure} +% +% \DescribeMacro{\zipdiskII} The |\zipdiskII| macro provides a cover label for zip disks. +% Cover dimensions: 60 millimeter wide, 51 millimeter high. Usage: |\zipdiskII| \marg{content} +% +% \begin{lstlisting} +% \zipdiskII{Content} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.4\textwidth}{!}{% +% \zipdiskII{Content}}% +% \caption{Cover label for zip disks} +% \end{figure} +% % \subsubsection{Disk covers} % % Macros presented below can be used to create images like actual disks. The results can be used for example for top cover of a cake box. @@ -372,6 +436,48 @@ % \caption{CD, DVD image with positioned texts} % \end{figure} % +% \DescribeMacro{\disk} The |\disk| macro provides the picture of a standard compact disk with all the circles indicating the different parts. +% The innermost circle is the size of the center hole in the disks. +% +% \begin{lstlisting} +% \disk{ +% {\Huge Title} \\ \vspace{3cm} +% Left \hspace{7cm} Right \\ \vspace{3cm} +% TextText} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.5\textwidth}{!}{% +% \disk{% +% {\Huge Title} \\ \vspace{3cm}% +% Left \hspace{7cm} Right \\ \vspace{3cm}% +% TextText}% +% } +% \caption{Disk image with positioned texts} +% \end{figure} +% +% \DescribeMacro{\emptydisk} The |\emptydisk| macro provides the picture of a standard compact disk without all the circles indicating the different parts. +% The innermost circle is the size of the center hole in the disks. +% +% \begin{lstlisting} +% \emptydisk{ +% {\Huge Title} \\ \vspace{3cm} +% Left \hspace{7cm} Right \\ \vspace{3cm} +% TextText} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.5\textwidth}{!}{% +% \emptydisk{% +% {\Huge Title} \\ \vspace{3cm}% +% Left \hspace{7cm} Right \\ \vspace{3cm}% +% TextText}% +% } +% \caption{Empty disk image with positioned texts} +% \end{figure} +% % \DescribeMacro{\LXXXdisk} The |\LXXXdisk| macro is the disk image of a 80 millimeter disk. % % \begin{lstlisting} @@ -386,15 +492,144 @@ % \caption{80 millimeter disk image with positioned texts} % \end{figure} % +% \subsubsection{VHS covers} +% +% \DescribeMacro{\vhsfront} The |\vhsfront| macro creates the label that can be placed on the front middle part of a VHS cassette. +% Usage: |\vhsfront| \marg{content} \\ +% +% \begin{lstlisting} +% \vhsfront{\huge Text} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.5\textwidth}{!}{% +% \vhsfront{\huge Text} +% } +% \caption{VHS front label} +% \end{figure} +% +% \DescribeMacro{\vhsspine} The |\vhsspine| macro creates the spine that can be placed on the side of a VHS cassette. +% Usage: |\vhsspine| \marg{content} \\ +% +% \begin{lstlisting} +% \vhsspine{\huge Text} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.8\textwidth}{!}{% +% \vhsspine{\huge Text} +% } +% \caption{VHS front label} +% \end{figure} +% +% \DescribeMacro{\CCCvhscover} \DescribeMacro{\CCCCvhscover} The |\CCCvhscover| and |\CCCvhscover| macros +% create a cover for a 300 series and 400 series VHS cassette, respectively. To differentiate between the two: +% the 300 series cover is 257 millimeter wide, the 400 series cover is 296 millimeter wide. +% Their usage is the same: |\CCCvhscover| \marg{front} \marg{spine} \marg{back} \\ +% +% \begin{lstlisting} +% \CCCvhscover +% {\scalebox{6}{Front}} +% {\scalebox{4}{Spine}} +% {\scalebox{4}{Back}} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.9\textwidth}{!}{% +% \CCCvhscover{\scalebox{6}{Front}}{\scalebox{4}{Spine}}{\scalebox{4}{Back}} +% } +% \caption{Cover for a 300 series VHS case} +% \end{figure} +% +% \subsubsection{Audio cassette covers} +% +% \DescribeMacro{\cassettecover} The |\cassettecover| macro creates cover label for an audio cassette. Many types of cassettes exist with more or less +% different labels, so the provided label may need adjustments, like cutting off the corners or a rectangular inner part. +% Usage: |\cassettecover| \marg{content} \\ +% +% \begin{lstlisting} +% \cassettecover +% {{\huge Upper text} \\ \vspace{2cm} Lower text} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.7\textwidth}{!}{% +% \cassettecover{{\huge Upper text} \\ \vspace{2cm} Lower text} +% } +% \caption{Cover label for an audio cassette} +% \end{figure} +% +% \DescribeMacro{\cassetteinlay} The |\cassetteinlay| macro provides an inlay for the standard cassette case. +% Usage: |\cassetteinlay| \marg{front} \marg{spine} \marg{back} \\ +% +% \begin{lstlisting} +% \cassetteinlay +% {\huge Front} +% {Spine} +% {Back} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.7\textwidth}{!}{% +% \cassetteinlay +% {\huge Front} +% {Spine} +% {Back} +% } +% \caption{Cover label for an audio cassette} +% \end{figure} +% +% \subsubsection{Gramophone records} +% +% \DescribeMacro{\vinylcdcover} The |\vinylcdcover| macro provides a cover label for vinyl CDs. +% The vinyl CDs have the same size as standard CDs, they just look like old gramophone records. The outer circle is 65 millimeter in diameter, +% the inner circle is 16.7 milimeter in diameter. Usage: |\vinylcdcover| \marg{content} \\ +% +% \begin{lstlisting} +% \vinylcdcover +% {{\huge Upper text} \\ \vspace{3cm} Lower text} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.7\textwidth}{!}{% +% \vinylcdcover{{\huge Upper text} \\ \vspace{3cm} Lower text} +% } +% \caption{Cover label for a vinyl CD} +% \end{figure} +% +% \DescribeMacro{\recordcover} The |\recordcover| macro creates cover label for a 30 centimeter record. The outer circle is 99 millimeter in diameter, +% the inner circle is 8 milimeter in diameter. Usage: |\recordcover| \marg{content} \\ +% +% \begin{lstlisting} +% \recordcover +% {{\huge Upper text} \\ \vspace{3cm} Lower text} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.7\textwidth}{!}{% +% \recordcover{{\huge Upper text} \\ \vspace{3cm} Lower text} +% } +% \caption{Cover label for a gramophone record} +% \end{figure} +% % \subsection{Layouts} % -% The layouts are pre-set cover layouts for ease of use. The texts are always +% The layouts are pre-set cover layouts for ease of use. Similar content can be produced and used in the cover macros. +% +% Some layouts contain preconfigured text. The texts are always % in English and represent a personal preference. All layouts have a macro suffixed with the \texttt{empty} word that % only contains the frames with no text, so one can insert any content. % % A layout can be used on various cover types. The first word in the layout's name decides the type. % \begin{description} -% \item[jewel] type layouts are compatible with: |\covers| |\frontcover| |\sleeve| |\sleevela| |\djewel| +% \item[jewel] type layouts are compatible with: |\covers| |\frontcover| |\sleeve| |\djewel| |\sleevela| % \item[LX] type layouts are compatible with: |\LXfrontcover| |\sleeveLX| % \item[LXXX] type layouts are compatible with: |\LXXXfrontcover| |\sleeveLXXX| % \item[dvd] type layouts are compatible with: |\dvd| |\slimdvd| @@ -402,12 +637,13 @@ % \end{description} % Note that this compatibility is not checked in the macros. % -% Any parameter in a layout can be empty. It means that no content will be put in the appropriate cell. +% Any parameter in a layout can be empty. It means that no content will be put in the appropriate cell. For example |\jewelflaglempty {} {Middle} {}| % % The numbers in the parentheses in the below examples marks the number of the parameter which will be placed there. For example (3) means the % third parameter of the macro. % -% All layouts have a meaningful name, like driver, movie or music. These names indicate a sugessted usage and they are easier to remeber than layoutA, layoutB etc. +% Many layouts have a meaningful name, like driver, movie or music. +% These names indicate a sugessted usage and they are easier to remeber than layoutA, layoutB etc. % % \subsubsection{Jewel case layouts} % @@ -511,12 +747,109 @@ % \end{minipage} % \end{figure} % +% \DescribeMacro{\jewelstripeslempty} The |\jewelstripeslempty| macro provides a layout of a stiped jewel cover. If the second or +% the third parameters are empty, then the appropriate diagonal stripe will not be drawn. +% Usage: |\jewelstripeslempty| \marg{center content} \marg{upper right content} \marg{lower left content} \\ +% +% \begin{lstlisting} +% \frontcover +% {\jewelstripeslempty +% {Main Title (1)} +% {Right upper text (2)} +% {Left lower text (3)}} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \scalebox{0.6}{\frontcover +% {\jewelstripeslempty +% {Main Title (1)} +% {Right upper text (2)} +% {Left lower text (3)}}} +% \caption{Striped jewel cover with missing upper right stripe} +% \end{figure} +% +% \DescribeMacro{\jewelgamel} \DescribeMacro{\jewelgamelempty} The |\jewelgamel| and the |\jewelgamelempty| macros provide a layout for game disks. +% As usual, the empty version does not contain the preset texts. +% Usage: |\jewelgamel| \marg{title} \marg{release year} \marg{genres} \marg{developer} \marg{publisher} \marg{serial} \marg{comment} \\ +% +% \begin{lstlisting} +% \frontcover +% {\jewelgamel +% {Title (1)} +% { (2)} +% { (3)} +% { (4)} +% { (5)} +% { (6)} +% { (7)}} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \scalebox{0.6}{\frontcover +% {\jewelgamel +% {Title (1)} +% {\textless release year\textgreater (2)} +% {\textless genre list\textgreater (3)} +% {\textless developer\textgreater (4)} +% {\textless publisher\textgreater (5)} +% {\textless serial\textgreater (6)} +% {\textless comment\textgreater (7)}}} +% \caption{The \texttt{\textbackslash jewelgamel} layout} +% \end{figure} +% +% \DescribeMacro{\jewelflaglempty} The |\jewelflaglempty| macro creates a cover layout in a 3-striped flag format. Content can be put in each stripe. +% Usage: |\jewelflaglempty| \marg{upper content} \marg{middle content} \marg{lower content} \\ +% +% \begin{lstlisting} +% \frontcover +% {\jewelflaglempty +% {Upper (1)} +% {\scalebox{3}{Middle (2)}} +% {Lower (3)}} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \scalebox{0.6}{\frontcover +% {\jewelflaglempty +% {Upper (1)} +% {\scalebox{3}{Middle (2)}} +% {Lower (3)}}} +% \caption{The \texttt{\textbackslash jewelflaglempty} layout} +% \end{figure} +% +% \DescribeMacro{\jewellineslempty} The |\jewellineslempty| macro creates horizontal lines. The main purpose of these is +% to be written onto them by hand after printing. Nevertheless, content can be placed onto it with the first parameter. +% The content text must not be resized and it must contain odd number of lines. After even number of lines, add |\\ \ | like in +% the below example. +% Usage: |\jewellineslempty| \marg{content} \\ +% +% \begin{lstlisting} +% \frontcover +% {\jewellineslempty +% {Text line 1 \\ Text line 2 \\ \ }} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \scalebox{0.6}{ +% \frontcover +% {\jewellineslempty +% {Text line 1 \\ Text line 2 \\ \ }}} +% \caption{The \texttt{\textbackslash jewellineslempty} layout} +% \end{figure} +% +% % \subsubsection{Keepcase layouts} % -% \DescribeMacro{\dvdlempty} The |\dvdlempty| macro provides the mandatory empty layout for the standard keepcases. It's usage is |\dvdlempty| \marg{content}. +% \DescribeMacro{\dvdlempty} The |\dvdlempty| macro provides the mandatory empty layout +% for the standard keepcases. It's usage is |\dvdlempty| \marg{content}. % % \DescribeMacro{\dvdmovielempty} \DescribeMacro{\dvdmoviel} The |\dvdmoviel| macro is for a movie disk cover. -% Usage: |\dvdmoviel| \marg{title} \marg{original title} \marg{release year} \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} \\ +% Usage: |\dvdmoviel| \marg{title} \marg{original title} \marg{release year} \marg{director} +% \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} \\ % % \begin{lstlisting} % \dvd @@ -541,10 +874,12 @@ % \caption{Front movie and empty back layouts for DVD keepcase} % \end{figure} % -% \DescribeMacro{\bluraylempty} The |\bluraylempty| macro provides the mandatory empty layout for the Blu-ray keepcases. It's usage is |\bluraylempty| \marg{content}. +% \DescribeMacro{\bluraylempty} The |\bluraylempty| macro provides the mandatory empty +% layout for the Blu-ray keepcases. It's usage is |\bluraylempty| \marg{content}. % % \DescribeMacro{\bluraymovielempty} \DescribeMacro{\bluraymoviel} The |\bluraymoviel| macro is for a Blu-ray movie disk cover. -% Usage: |\bluraymoviel| \marg{title} \marg{original title} \marg{release year} \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} \\ +% Usage: |\bluraymoviel| \marg{title} \marg{original title} \marg{release year} +% \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} \\ % % \begin{lstlisting} % \bluray @@ -576,6 +911,7 @@ % do not be suprised when after a package update, they work differently. % % Those parameters that require a length, expect a single, positive integer, for example a counter value. +% The numbers represent length in millimeters. % % \DescribeMacro{\keepcase} With |\keepcase|, one can create % a custom sized keepcase in the format of cover, spine and a backside. It's usage is: @@ -590,12 +926,12 @@ % \subsection{Package Options} % % Use package options at the package loading as usual, for example: \\ |\usepackage[nofold,noalign]{simplecd}|. +% +% Many cover macros are containing some text alignment lengths. Without them, the content would be +% centered vertically in the frames. The |noalign| option sets these alignment lengths to zero, so one can align the +% contents individually. This option does not affect layout placement. % -% All cover macros are containing some text alignment lengths. Without them, the texts would be -% centered vertically in the frames. The |noalign| option zeroes these alignment lengths, so one can align the -% texts individually. This option does not affect layout placement. -% -% As default, all covers contain folding lines with the same line type as where the pieces must be cut out. +% As default, many covers contain folding lines with the same line type as where the pieces must be cut out. % With the |nofold| option, the folding lines won't be drawn. % % The |spiner| option rotates all spine texts with $180^\circ$. @@ -853,6 +1189,10 @@ \newcounter{sc@tempe} \newcounter{sc@tempf} \newcounter{sc@tempg} +\newcounter{sc@layouttempa} +\newcounter{sc@layouttempb} +\newcounter{sc@layouttempc} +\newcounter{sc@resizertempa} % \end{macrocode} % The covers are drawed inside the \texttt{picture} environment. The text is always placed inside a |\parbox| . @@ -861,7 +1201,7 @@ % vertically centered in the cell. % \begin{macro}{\covers} -% Creates a jewel case cover with a front and a backsheet. \\ +% Creates a jewel case cover with a front and a backsheet. % Usage: |\covers| \oarg{backsheet text} \marg{cover title} \marg{spine text} % \begin{macrocode} \DeclareRobustCommand{\covers}[3][\ ]{% @@ -874,7 +1214,7 @@ % \end{macro} % \begin{macro}{\frontcover} -% Creates front cover for a jewel case. \\ +% Creates front cover for a jewel case. % Usage: |\frontcover| \marg{cover title} % \begin{macrocode} \DeclareRobustCommand{\frontcover}[1]{% @@ -886,7 +1226,7 @@ % \end{macro} % \begin{macro}{\LXfrontcover} -% Creates front cover for a 60 millimeter jewel case. \\ +% Creates front cover for a 60 millimeter jewel case. % Usage: |\LXfrontcover| \marg{cover title} % \begin{macrocode} \DeclareRobustCommand{\LXfrontcover}[1]{% @@ -898,7 +1238,7 @@ % \end{macro} % \begin{macro}{\LXXXfrontcover} -% Creates front cover for a 80 millimeter jewel case. \\ +% Creates front cover for a 80 millimeter jewel case. % Usage: |\LXXXfrontcover| \marg{cover title} % \begin{macrocode} \DeclareRobustCommand{\LXXXfrontcover}[1]{% @@ -909,14 +1249,14 @@ % \end{macrocode} % \end{macro} -% Rotating for one of the spine texts +% Rotating for one of the spine texts. % \begin{macrocode} \newcounter{sc@backsheetspinerot} \setcounter{sc@backsheetspinerot}{180+\sc@spinerotone} % \end{macrocode} % \begin{macro}{\backsheet} -% Creates backsheet for a jewel case with 2 spines. \\ +% Creates backsheet for a jewel case with 2 spines. % Usage: |\backsheet| \oarg{backsheet middle text} \marg{spine text} % \begin{macrocode} \DeclareRobustCommand{\backsheet}[2][\ ]{% @@ -952,7 +1292,7 @@ % \end{macro} % \begin{macro}{\jewelspine} -% Creates a single spine for a jewel case. \\ +% Creates a single spine for a jewel case. % Usage: |\jewelspine| \marg{text} % \begin{macrocode} \DeclareRobustCommand{\jewelspine}[1]{% @@ -967,7 +1307,7 @@ % \end{macro} % \begin{macro}{\sc@sleeve} -% Creates a custom-sized sleeve for cutting out and glueing together. \\ +% Creates a custom-sized sleeve for cutting out and glueing together. % Usage: |\sc@sleeve| \oarg{other side middle text} \marg{middle text} \marg{sleeve length} % \marg{cover height} \marg{cover width} \marg{sleeve drawing} % \begin{macrocode} @@ -999,7 +1339,7 @@ % \end{macro} % \begin{macro}{\sc@sleevebox} -% Draws a fold part of the sleeve \\ +% Draws a fold part of the sleeve. % Usage: |\usebox{\sc@sleevebox}| % \begin{macrocode} \newsavebox{\sc@sleevebox} @@ -1014,7 +1354,7 @@ % \end{macro} % \begin{macro}{\sc@sleeveboxLXmm} -% Draws a fold part of the 60 mm sleeve \\ +% Draws a fold part of the 60 mm sleeve. % Usage: |\usebox{\sc@sleeveboxLXmm}| % \begin{macrocode} \newsavebox{\sc@sleeveboxLXmm} @@ -1030,7 +1370,7 @@ % \end{macro} % \begin{macro}{\sc@sleeveboxLXXXmm} -% Draws a fold part of the 80 mm sleeve \\ +% Draws a fold part of the 80 mm sleeve. % Usage: |\usebox{\sc@sleeveboxLXXXmm}| % \begin{macrocode} \newsavebox{\sc@sleeveboxLXXXmm} @@ -1046,7 +1386,7 @@ % \end{macro} % \begin{macro}{\sleeve} -% Creates a disk sleeve for cutting out and glueing together. \\ +% Creates a disk sleeve for cutting out and glueing together. % Usage: |\sleeve| \oarg{other side middle text} \marg{middle text} % \begin{macrocode} \DeclareRobustCommand{\sleeve}[2][]{% @@ -1059,7 +1399,7 @@ % \end{macro} % \begin{macro}{\sleeveLXXX} -% Creates a 80 millimeter disk sleeve for cutting out and glueing together. \\ +% Creates a 80 millimeter disk sleeve for cutting out and glueing together. % Usage: |\sleeveLXXX| \oarg{other side middle text} \marg{middle text} % \begin{macrocode} \DeclareRobustCommand{\sleeveLXXX}[2][]{% @@ -1072,7 +1412,7 @@ % \end{macro} % \begin{macro}{\sleeveLX} -% Creates a 60 millimeter disk sleeve for cutting out and glueing together. \\ +% Creates a 60 millimeter disk sleeve for cutting out and glueing together. % Usage: |\sleeveLX| \oarg{other side middle text} \marg{middle text} % \begin{macrocode} \DeclareRobustCommand{\sleeveLX}[2][]{% @@ -1087,7 +1427,7 @@ % \begin{macro}{\sleevela} -% Creates a disk sleeve for lever arch files. \\ +% Creates a disk sleeve for lever arch files. % Usage: |\sleevela| \oarg{back text} \marg{front text} % \begin{macrocode} \DeclareRobustCommand{\sleevela}[2][]{% @@ -1118,7 +1458,8 @@ % \begin{macro}{\keepcase} % Universal macro for creating keepcases in various sizes. -% Usage: |\keepcase| \oarg{backtext} \marg{cover text} \marg{spinetext} \marg{cover height} \marg{cover width} \marg{spine width} +% Usage: |\keepcase| \oarg{backtext} \marg{cover text} \marg{spinetext} \marg{cover height} +% \marg{cover width} \marg{spine width} % \begin{macrocode} \DeclareRobustCommand{\keepcase}[6][]{% \setcounter{sc@tempa}{2*#5 + #6 }% @@ -1143,7 +1484,7 @@ % \end{macro} % \begin{macro}{\slimdvd} -% Creates a slim dvd keepcase cover. \\ +% Creates a slim dvd keepcase cover. % Usage: |\slimdvd| \oarg{back text} \marg{cover text} \marg{spine text} % \begin{macrocode} \DeclareRobustCommand{\slimdvd}[3][]{% @@ -1155,7 +1496,7 @@ % \end{macro} % \begin{macro}{\dvd} -% Creates a dvd keepcase. \\ +% Creates a dvd keepcase. % Usage: |\dvd| \oarg{back text} \marg{cover text} \marg{spine text} % \begin{macrocode} \DeclareRobustCommand{\dvd}[3][]{% @@ -1167,7 +1508,7 @@ % \end{macro} % \begin{macro}{\bluray} -% Creates a Blu-Ray keepcase.\\ +% Creates a Blu-Ray keepcase. % Usage: |\bluray| \oarg{backtext} \marg{cover text} \marg{spine text} % \begin{macrocode} \DeclareRobustCommand{\bluray}[3][]{% @@ -1179,7 +1520,7 @@ % \end{macro} % \begin{macro}{\coverimg} -% Resizes the image for a jewel case cover. \\ +% Resizes the image for a jewel case cover. % Usage: |\coverimg| \parg{picture} % \begin{macrocode} \DeclareRobustCommand{\coverimg}[1]{% @@ -1190,7 +1531,7 @@ % \end{macro} % \begin{macro}{\backsheetimg} -% Resizes the image for a jewel case backsheet with spines. \\ +% Resizes the image for a jewel case backsheet with spines. % Usage: |\backsheetimg| \parg{picture} % \begin{macrocode} \DeclareRobustCommand{\backsheetimg}[1]{% @@ -1203,7 +1544,7 @@ % \end{macro} % \begin{macro}{\slimdvdimg} -% Resizes an image for the slim dvd keepcase. \\ +% Resizes an image for the slim dvd keepcase. % Usage: |\slimdvdimg| \parg{picture} % \begin{macrocode} \DeclareRobustCommand{\slimdvdimg}[1]{% @@ -1215,7 +1556,7 @@ % \end{macro} % \begin{macro}{\dvdimg} -% Resizes an image for a dvd keepcase. \\ +% Resizes an image for a dvd keepcase. % Usage: |\dvdimg| \parg{picture} % \begin{macrocode} \DeclareRobustCommand{\dvdimg}[1]{% @@ -1227,7 +1568,7 @@ % \end{macro} % \begin{macro}{\blurayimg} -% Resizes an image for the Blu-Ray keepcase. \\ +% Resizes an image for the Blu-Ray keepcase. % Usage: |\blurayimg| \parg{picture} % \begin{macrocode} \DeclareRobustCommand{\blurayimg}[1]{% @@ -1239,7 +1580,7 @@ % \end{macro} % \begin{macro}{\sc@cell} -% Creates a single cell for a cover, inlay. \\ +% Creates a single cell for a cover, inlay. % Usage: |\sc@cell| \marg{text} \marg{width} \marg{height} \marg{aligning space} % \begin{macrocode} \DeclareRobustCommand{\sc@cell}[4]{% @@ -1253,9 +1594,10 @@ % \end{macro} % \begin{macro}{\sc@choicebox} -% Creates a box with configurable borders. If a parameter in 4-7 range is not |\sc@truestr|, then -% the appropriate border is not drawn. -% Usage: |\sc@choicebox| \marg{width} \marg{height} \marg{text} \marg{bottom border} \marg{top border} \marg{left border} \marg{right border} +% Creates a box with configurable borders. If a parameter in 4-7 range is |\sc@truestr|, then +% the appropriate border is drawn. If |\sc@falsestr| or nofold option is used, border is not drawn. +% Usage: |\sc@choicebox| \marg{width} \marg{height} \marg{text} \marg{bottom border} +% \marg{top border} \marg{left border} \marg{right border} % \begin{macrocode} \newcommand{\sc@choicebox}[7]{% \makebox(#1,#2)[c]{% @@ -1284,7 +1626,7 @@ % \end{macro} % \begin{macro}{\dvdinlay} -% Creates an inlay card for a dvd/slimdvd keepcase. \\ +% Creates an inlay card for a dvd/slimdvd keepcase. % Usage: |\dvdinlay| \marg{text} % \begin{macrocode} \DeclareRobustCommand{\dvdinlay}[1]{% @@ -1306,7 +1648,7 @@ % \end{macro} % \begin{macro}{\djewel} -% Creates a two-page jewel case cover. \\ +% Creates a two-page jewel case cover. % Usage: |\djewel| \marg{first page text} \marg{second page text} % \begin{macrocode} \DeclareRobustCommand{\djewel}[2]{% @@ -1329,8 +1671,151 @@ % \end{macrocode} % \end{macro} +% \begin{macro}{\floppyIIIV} +% Cover for the 3.5-inch floppy. +% Usage: |\floppyIIIV| \marg{front content} \marg{back content} +% \begin{macrocode} +\DeclareRobustCommand{\floppyIIIV}[2]{% + \begin{picture}(70,69.5)% + \put(-2,66.5){\qbezier(3, 3)(2, 3)(2, 2)}% + \put(1,69.5){\line(1,0){68}}% + \put(66,66.5){\qbezier(4, 2)(4, 3)(3, 3)}% + \put(0,56.5){% + \makebox(70,13)[c]{\rotatebox{180}{\parbox[c]{70mm}{\centering #2}}}}% + \put(0,54){\sc@choicebox{70}{2.5}{}% + {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% + \put(0,0){\makebox(70,54)[c]{\parbox[c]{70mm}{\centering #1}}}% + \put(0,1){\line(0,1){67.5}}% + \put(70,1){\line(0,1){67.5}}% + \put(1,0){\line(1,0){68}}% + \put(-2,-1){\qbezier(2, 2)(2, 1)(3, 1)}% + \put(66,-1){\qbezier(3, 1)(4, 1)(4, 2)}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\zipdisk} +% Cover for a zip disk. +% Usage: |\zipdisk| \marg{front content} \marg{back content} +% \begin{macrocode} +\DeclareRobustCommand{\zipdisk}[2]{% + \begin{picture}(98,120)% + \put(0,20){\makebox(98,100)[c]{\parbox[c]{98\sc@unittype}{\centering #1}}}% + \put(0,13){\sc@choicebox{98}{7}{}% + {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% + \put(0,0){\makebox(98,13)[c]{\rotatebox{180}{\parbox[c]{98\sc@unittype}{\centering #2}}}}% + \put(0,0){\framebox(98,120){}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\zipdiskII} +% Cover for a zip disk. +% Usage: |\zipdiskII| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\zipdiskII}[1]{% + \sc@cell{#1}{60}{51}{}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\disk} +% Creates a CD-R image. +% Usage: |\disk| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\disk}[1]{% + \begin{picture}(120,120)% + % Ellipse: u = 60.0 v = 60.0 a = 60.0 b = 60.0 phi = 0.0 Grad + \qbezier(120.0, 60.0)(120.0, 84.8528)(102.4264, 102.4264)% + \qbezier(102.4264, 102.4264)(84.8528, 120.0)(60.0, 120.0)% + \qbezier(60.0, 120.0)(35.1472, 120.0)(17.5736, 102.4264)% + \qbezier(17.5736, 102.4264)(0.0, 84.8528)(0.0, 60.0)% + \qbezier(0.0, 60.0)(0.0, 35.1472)(17.5736, 17.5736)% + \qbezier(17.5736, 17.5736)(35.1472, 0.0)(60.0, 0.0)% + \qbezier(60.0, 0.0)(84.8528, 0.0)(102.4264, 17.5736)% + \qbezier(102.4264, 17.5736)(120.0, 35.1472)(120.0, 60.0)% + % Ellipse: u = 60.0 v = 60.0 a = 58.0 b = 58.0 phi = 0.0 Grad + \qbezier(118.0, 60.0)(118.0, 84.0244)(101.0122, 101.0122)% + \qbezier(101.0122, 101.0122)(84.0244, 118.0)(60.0, 118.0)% + \qbezier(60.0, 118.0)(35.9756, 118.0)(18.9878, 101.0122)% + \qbezier(18.9878, 101.0122)(2.0, 84.0244)(2.0, 60.0)% + \qbezier(2.0, 60.0)(2.0, 35.9756)(18.9878, 18.9878)% + \qbezier(18.9878, 18.9878)(35.9756, 2.0)(60.0, 2.0)% + \qbezier(60.0, 2.0)(84.0244, 2.0)(101.0122, 18.9878)% + \qbezier(101.0122, 18.9878)(118.0, 35.9756)(118.0, 60.0)% + % Ellipse: u = 60.0 v = 60.0 a = 23.0 b = 23.0 phi = 0.0 Grad + \qbezier(83.0, 60.0)(83.0, 69.5269)(76.2635, 76.2635)% + \qbezier(76.2635, 76.2635)(69.5269, 83.0)(60.0, 83.0)% + \qbezier(60.0, 83.0)(50.4731, 83.0)(43.7365, 76.2635)% + \qbezier(43.7365, 76.2635)(37.0, 69.5269)(37.0, 60.0)% + \qbezier(37.0, 60.0)(37.0, 50.4731)(43.7365, 43.7365)% + \qbezier(43.7365, 43.7365)(50.4731, 37.0)(60.0, 37.0)% + \qbezier(60.0, 37.0)(69.5269, 37.0)(76.2635, 43.7365)% + \qbezier(76.2635, 43.7365)(83.0, 50.4731)(83.0, 60.0)% + % Ellipse: u = 60.0 v = 60.0 a = 11.5 b = 11.5 phi = 0.0 Grad + \qbezier(71.5, 60.0)(71.5, 64.7635)(68.1317, 68.1317)% + \qbezier(68.1317, 68.1317)(64.7635, 71.5)(60.0, 71.5)% + \qbezier(60.0, 71.5)(55.2365, 71.5)(51.8683, 68.1317)% + \qbezier(51.8683, 68.1317)(48.5, 64.7635)(48.5, 60.0)% + \qbezier(48.5, 60.0)(48.5, 55.2365)(51.8683, 51.8683)% + \qbezier(51.8683, 51.8683)(55.2365, 48.5)(60.0, 48.5)% + \qbezier(60.0, 48.5)(64.7635, 48.5)(68.1317, 51.8683)% + \qbezier(68.1317, 51.8683)(71.5, 55.2365)(71.5, 60.0)% + % Ellipse: u = 60.0 v = 60.0 a = 7.5 b = 7.5 phi = 0.0 Grad + \qbezier(67.5, 60.0)(67.5, 63.1066)(65.3033, 65.3033)% + \qbezier(65.3033, 65.3033)(63.1066, 67.5)(60.0, 67.5)% + \qbezier(60.0, 67.5)(56.8934, 67.5)(54.6967, 65.3033)% + \qbezier(54.6967, 65.3033)(52.5, 63.1066)(52.5, 60.0)% + \qbezier(52.5, 60.0)(52.5, 56.8934)(54.6967, 54.6967)% + \qbezier(54.6967, 54.6967)(56.8934, 52.5)(60.0, 52.5)% + \qbezier(60.0, 52.5)(63.1066, 52.5)(65.3033, 54.6967)% + \qbezier(65.3033, 54.6967)(67.5, 56.8934)(67.5, 60.0)% + \put(0,0){% + \makebox(120,120)[c]{% + \parbox[c]{120\sc@unittype}{\centering #1}% + }}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\emptydisk} +% Creates a CD-R image. +% Usage: |\emptydisk| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\emptydisk}[1]{% + \begin{picture}(120,120)% + % Ellipse: u = 60.0 v = 60.0 a = 60.0 b = 60.0 phi = 0.0 Grad + \qbezier(120.0, 60.0)(120.0, 84.8528)(102.4264, 102.4264)% + \qbezier(102.4264, 102.4264)(84.8528, 120.0)(60.0, 120.0)% + \qbezier(60.0, 120.0)(35.1472, 120.0)(17.5736, 102.4264)% + \qbezier(17.5736, 102.4264)(0.0, 84.8528)(0.0, 60.0)% + \qbezier(0.0, 60.0)(0.0, 35.1472)(17.5736, 17.5736)% + \qbezier(17.5736, 17.5736)(35.1472, 0.0)(60.0, 0.0)% + \qbezier(60.0, 0.0)(84.8528, 0.0)(102.4264, 17.5736)% + \qbezier(102.4264, 17.5736)(120.0, 35.1472)(120.0, 60.0)% + % Ellipse: u = 60.0 v = 60.0 a = 7.5 b = 7.5 phi = 0.0 Grad + \qbezier(67.5, 60.0)(67.5, 63.1066)(65.3033, 65.3033)% + \qbezier(65.3033, 65.3033)(63.1066, 67.5)(60.0, 67.5)% + \qbezier(60.0, 67.5)(56.8934, 67.5)(54.6967, 65.3033)% + \qbezier(54.6967, 65.3033)(52.5, 63.1066)(52.5, 60.0)% + \qbezier(52.5, 60.0)(52.5, 56.8934)(54.6967, 54.6967)% + \qbezier(54.6967, 54.6967)(56.8934, 52.5)(60.0, 52.5)% + \qbezier(60.0, 52.5)(63.1066, 52.5)(65.3033, 54.6967)% + \qbezier(65.3033, 54.6967)(67.5, 56.8934)(67.5, 60.0)% + \put(0,0){% + \makebox(120,120)[c]{% + \parbox[c]{120\sc@unittype}{\centering #1}% + }}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + % \begin{macro}{\cdrdisk} -% Creates a CD-R image. \\ +% Creates a CD-R image. % Usage: |\cdrdisk| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\cdrdisk}[1]{% @@ -1363,29 +1848,29 @@ % \end{macro} % \begin{macro}{\cddvddisk} -% Creates a CD, DVD image. \\ +% Creates a CD, DVD image. % Usage: |\cddvddisk| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\cddvddisk}[1]{% \begin{picture}(117, 117)% % Ellipse: u = 58.5 v = 58.5 a = 58.5 b = 58.5 phi = 0.0 Grad - \qbezier(117.0, 58.5)(117.0, 82.7315)(99.8657, 99.8657) - \qbezier(99.8657, 99.8657)(82.7315, 117.0)(58.5, 117.0) - \qbezier(58.5, 117.0)(34.2685, 117.0)(17.1343, 99.8657) - \qbezier(17.1343, 99.8657)(0.0, 82.7315)(0.0, 58.5) - \qbezier(0.0, 58.5)(0.0, 34.2685)(17.1343, 17.1343) - \qbezier(17.1343, 17.1343)(34.2685, 0.0)(58.5, 0.0) - \qbezier(58.5, 0.0)(82.7315, 0.0)(99.8657, 17.1343) - \qbezier(99.8657, 17.1343)(117.0, 34.2685)(117.0, 58.5) + \qbezier(117.0, 58.5)(117.0, 82.7315)(99.8657, 99.8657)% + \qbezier(99.8657, 99.8657)(82.7315, 117.0)(58.5, 117.0)% + \qbezier(58.5, 117.0)(34.2685, 117.0)(17.1343, 99.8657)% + \qbezier(17.1343, 99.8657)(0.0, 82.7315)(0.0, 58.5)% + \qbezier(0.0, 58.5)(0.0, 34.2685)(17.1343, 17.1343)% + \qbezier(17.1343, 17.1343)(34.2685, 0.0)(58.5, 0.0)% + \qbezier(58.5, 0.0)(82.7315, 0.0)(99.8657, 17.1343)% + \qbezier(99.8657, 17.1343)(117.0, 34.2685)(117.0, 58.5)% % Ellipse: u = 58.5 v = 58.5 a = 11.25 b = 11.25 phi = 0.0 Grad - \qbezier(69.75, 58.5)(69.75, 63.1599)(66.455, 66.455) - \qbezier(66.455, 66.455)(63.1599, 69.75)(58.5, 69.75) - \qbezier(58.5, 69.75)(53.8401, 69.75)(50.545, 66.455) - \qbezier(50.545, 66.455)(47.25, 63.1599)(47.25, 58.5) - \qbezier(47.25, 58.5)(47.25, 53.8401)(50.545, 50.545) - \qbezier(50.545, 50.545)(53.8401, 47.25)(58.5, 47.25) - \qbezier(58.5, 47.25)(63.1599, 47.25)(66.455, 50.545) - \qbezier(66.455, 50.545)(69.75, 53.8401)(69.75, 58.5) + \qbezier(69.75, 58.5)(69.75, 63.1599)(66.455, 66.455)% + \qbezier(66.455, 66.455)(63.1599, 69.75)(58.5, 69.75)% + \qbezier(58.5, 69.75)(53.8401, 69.75)(50.545, 66.455)% + \qbezier(50.545, 66.455)(47.25, 63.1599)(47.25, 58.5)% + \qbezier(47.25, 58.5)(47.25, 53.8401)(50.545, 50.545)% + \qbezier(50.545, 50.545)(53.8401, 47.25)(58.5, 47.25)% + \qbezier(58.5, 47.25)(63.1599, 47.25)(66.455, 50.545)% + \qbezier(66.455, 50.545)(69.75, 53.8401)(69.75, 58.5)% \put(0,0){% \makebox(117,117)[c]{% \parbox[c]{117\sc@unittype}{\centering #1}% @@ -1396,29 +1881,29 @@ % \end{macro} % \begin{macro}{\LXXXdisk} -% Creates a 80 millimeter disk image. \\ +% Creates a 80 millimeter disk image. % Usage: |\LXXXdisk| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\LXXXdisk}[1]{% \begin{picture}(76, 76)% % Ellipse: u = 38.0 v = 38.0 a = 38.0 b = 38.0 phi = 0.0 Grad - \qbezier(76.0, 38.0)(76.0, 53.7401)(64.8701, 64.8701) - \qbezier(64.8701, 64.8701)(53.7401, 76.0)(38.0, 76.0) - \qbezier(38.0, 76.0)(22.2599, 76.0)(11.1299, 64.8701) - \qbezier(11.1299, 64.8701)(0.0, 53.7401)(0.0, 38.0) - \qbezier(0.0, 38.0)(0.0, 22.2599)(11.1299, 11.1299) - \qbezier(11.1299, 11.1299)(22.2599, 0.0)(38.0, 0.0) - \qbezier(38.0, 0.0)(53.7401, 0.0)(64.8701, 11.1299) - \qbezier(64.8701, 11.1299)(76.0, 22.2599)(76.0, 38.0) + \qbezier(76.0, 38.0)(76.0, 53.7401)(64.8701, 64.8701)% + \qbezier(64.8701, 64.8701)(53.7401, 76.0)(38.0, 76.0)% + \qbezier(38.0, 76.0)(22.2599, 76.0)(11.1299, 64.8701)% + \qbezier(11.1299, 64.8701)(0.0, 53.7401)(0.0, 38.0)% + \qbezier(0.0, 38.0)(0.0, 22.2599)(11.1299, 11.1299)% + \qbezier(11.1299, 11.1299)(22.2599, 0.0)(38.0, 0.0)% + \qbezier(38.0, 0.0)(53.7401, 0.0)(64.8701, 11.1299)% + \qbezier(64.8701, 11.1299)(76.0, 22.2599)(76.0, 38.0)% % Ellipse: u = 38.0 v = 38.0 a = 9.0 b = 9.0 phi = 0.0 Grad - \qbezier(47.0, 38.0)(47.0, 41.7279)(44.364, 44.364) - \qbezier(44.364, 44.364)(41.7279, 47.0)(38.0, 47.0) - \qbezier(38.0, 47.0)(34.2721, 47.0)(31.636, 44.364) - \qbezier(31.636, 44.364)(29.0, 41.7279)(29.0, 38.0) - \qbezier(29.0, 38.0)(29.0, 34.2721)(31.636, 31.636) - \qbezier(31.636, 31.636)(34.2721, 29.0)(38.0, 29.0) - \qbezier(38.0, 29.0)(41.7279, 29.0)(44.364, 31.636) - \qbezier(44.364, 31.636)(47.0, 34.2721)(47.0, 38.0) + \qbezier(47.0, 38.0)(47.0, 41.7279)(44.364, 44.364)% + \qbezier(44.364, 44.364)(41.7279, 47.0)(38.0, 47.0)% + \qbezier(38.0, 47.0)(34.2721, 47.0)(31.636, 44.364)% + \qbezier(31.636, 44.364)(29.0, 41.7279)(29.0, 38.0)% + \qbezier(29.0, 38.0)(29.0, 34.2721)(31.636, 31.636)% + \qbezier(31.636, 31.636)(34.2721, 29.0)(38.0, 29.0)% + \qbezier(38.0, 29.0)(41.7279, 29.0)(44.364, 31.636)% + \qbezier(44.364, 31.636)(47.0, 34.2721)(47.0, 38.0)% \put(0,0){% \makebox(76,76)[c]{% \parbox[c]{76\sc@unittype}{\centering #1}% @@ -1428,30 +1913,186 @@ % \end{macrocode} % \end{macro} +% \begin{macro}{\vhsfront} +% Front label for a VHS cassette. +% Usage: |\vhsfront| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\vhsfront}[1]{% + \sc@cell{#1}{76}{44}{}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\vhsspine} +% Side spine label for a VHS cassette. +% Usage: |\vhsspine| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\vhsspine}[1]{% + \sc@cell{#1}{145}{17}{}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\CCCvhscover} +% Case for a 300 series VHS cassette. +% Usage: |\CCCvhscover| \marg{front} \marg{spine} \marg{back} +% \begin{macrocode} +\DeclareRobustCommand{\CCCvhscover}[3]{% + \keepcase[#3]{#1}{#2}{197}{115}{27}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\CCCCvhscover} +% Case for a 400 series VHS cassette. +% Usage: |\CCCCvhscover| \marg{front} \marg{spine} \marg{back} +% \begin{macrocode} +\DeclareRobustCommand{\CCCCvhscover}[3]{% + \keepcase[#3]{#1}{#2}{210}{134.5}{27}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\cassettecover} +% Cover label for an audio cassette. +% Usage: |\cassettecover| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\cassettecover}[1]{% + \begin{picture}(88,39)% + % Ellipse: u = 22.0 v = 16.5 a = 7.5 b = 7.5 phi = 0.0 Grad + % \qbezier(29.5, 16.5)(29.5, 19.6066)(27.3033, 21.8033)% + % \qbezier(27.3033, 21.8033)(25.1066, 24.0)(22.0, 24.0)% + \qbezier(22.0, 24.0)(18.8934, 24.0)(16.6967, 21.8033)% + \qbezier(16.6967, 21.8033)(14.5, 19.6066)(14.5, 16.5)% + \qbezier(14.5, 16.5)(14.5, 13.3934)(16.6967, 11.1967)% + \qbezier(16.6967, 11.1967)(18.8934, 9.0)(22.0, 9.0)% + % \qbezier(22.0, 9.0)(25.1066, 9.0)(27.3033, 11.1967)% + % \qbezier(27.3033, 11.1967)(29.5, 13.3934)(29.5, 16.5)% + % Ellipse: u = 66.0 v = 16.5 a = 7.5 b = 7.5 phi = 0.0 Grad + \qbezier(73.5, 16.5)(73.5, 19.6066)(71.3033, 21.8033)% + \qbezier(71.3033, 21.8033)(69.1066, 24.0)(66.0, 24.0)% + % \qbezier(66.0, 24.0)(62.8934, 24.0)(60.6967, 21.8033)% + % \qbezier(60.6967, 21.8033)(58.5, 19.6066)(58.5, 16.5)% + % \qbezier(58.5, 16.5)(58.5, 13.3934)(60.6967, 11.1967)% + % \qbezier(60.6967, 11.1967)(62.8934, 9.0)(66.0, 9.0)% + \qbezier(66.0, 9.0)(69.1066, 9.0)(71.3033, 11.1967)% + \qbezier(71.3033, 11.1967)(73.5, 13.3934)(73.5, 16.5)% + \put(22,9){\line(1,0){44}}% + \put(22,24){\line(1,0){44}}% + \framebox(88,39)[c]{\parbox[c]{88\sc@unittype}{\centering #1}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\cassetteinlay} +% Cover label for an audio cassette. +% Usage: |\cassetteinlay| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\cassetteinlay}[3]{% + \begin{picture}(102,104)% + \put(0,38){% + \sc@choicebox{102}{66}{\parbox[c]{102\sc@unittype}{\centering #1}}% + {\sc@falsestr}{\sc@truestr}{\sc@truestr}{\sc@truestr}}% + \put(0,25){% + \sc@choicebox{102}{13}{\parbox[c]{102\sc@unittype}{\centering #2}}% + {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% + \put(0,0){% + \sc@choicebox{102}{25}{\parbox[c]{102\sc@unittype}{\centering #3}}% + {\sc@truestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + + +% \begin{macro}{\vinylcdcover} +% Cover label for a vinyl CD. +% Usage: |\vinylcdcover| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\vinylcdcover}[1]{% + \begin{picture}(65,65)% + % Ellipse: u = 32.5 v = 32.5 a = 32.5 b = 32.5 phi = 0.0 Grad + \qbezier(65.0, 32.5)(65.0, 45.9619)(55.481, 55.481)% + \qbezier(55.481, 55.481)(45.9619, 65.0)(32.5, 65.0)% + \qbezier(32.5, 65.0)(19.0381, 65.0)(9.519, 55.481)% + \qbezier(9.519, 55.481)(0.0, 45.9619)(0.0, 32.5)% + \qbezier(0.0, 32.5)(0.0, 19.0381)(9.519, 9.519)% + \qbezier(9.519, 9.519)(19.0381, 0.0)(32.5, 0.0)% + \qbezier(32.5, 0.0)(45.9619, 0.0)(55.481, 9.519)% + \qbezier(55.481, 9.519)(65.0, 19.0381)(65.0, 32.5)% + % Ellipse: u = 32.5 v = 32.5 a = 8.35 b = 8.35 phi = 0.0 Grad + \qbezier(40.85, 32.5)(40.85, 35.9587)(38.4043, 38.4043)% + \qbezier(38.4043, 38.4043)(35.9587, 40.85)(32.5, 40.85)% + \qbezier(32.5, 40.85)(29.0413, 40.85)(26.5957, 38.4043)% + \qbezier(26.5957, 38.4043)(24.15, 35.9587)(24.15, 32.5)% + \qbezier(24.15, 32.5)(24.15, 29.0413)(26.5957, 26.5957)% + \qbezier(26.5957, 26.5957)(29.0413, 24.15)(32.5, 24.15)% + \qbezier(32.5, 24.15)(35.9587, 24.15)(38.4043, 26.5957)% + \qbezier(38.4043, 26.5957)(40.85, 29.0413)(40.85, 32.5)% + \put(0,0){% + \makebox(65,65)[c]{\parbox[c]{65\sc@unittype}{\centering #1}}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\recordcover} +% Cover label for a 30 centimeter record. +% Usage: |\recordcover| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\recordcover}[1]{% + \begin{picture}(99,99)% + % Ellipse: u = 49.5 v = 49.5 a = 49.5 b = 49.5 phi = 0.0 Grad + \qbezier(99.0, 49.5)(99.0, 70.0036)(84.5018, 84.5018)% + \qbezier(84.5018, 84.5018)(70.0036, 99.0)(49.5, 99.0)% + \qbezier(49.5, 99.0)(28.9964, 99.0)(14.4982, 84.5018)% + \qbezier(14.4982, 84.5018)(0.0, 70.0036)(0.0, 49.5)% + \qbezier(0.0, 49.5)(0.0, 28.9964)(14.4982, 14.4982)% + \qbezier(14.4982, 14.4982)(28.9964, 0.0)(49.5, 0.0)% + \qbezier(49.5, 0.0)(70.0036, 0.0)(84.5018, 14.4982)% + \qbezier(84.5018, 14.4982)(99.0, 28.9964)(99.0, 49.5)% + % Ellipse: u = 49.5 v = 49.5 a = 4.0 b = 4.0 phi = 0.0 Grad + \qbezier(53.5, 49.5)(53.5, 51.1569)(52.3284, 52.3284)% + \qbezier(52.3284, 52.3284)(51.1569, 53.5)(49.5, 53.5)% + \qbezier(49.5, 53.5)(47.8431, 53.5)(46.6716, 52.3284)% + \qbezier(46.6716, 52.3284)(45.5, 51.1569)(45.5, 49.5)% + \qbezier(45.5, 49.5)(45.5, 47.8431)(46.6716, 46.6716)% + \qbezier(46.6716, 46.6716)(47.8431, 45.5)(49.5, 45.5)% + \qbezier(49.5, 45.5)(51.1569, 45.5)(52.3284, 46.6716)% + \qbezier(52.3284, 46.6716)(53.5, 47.8431)(53.5, 49.5)% + \put(0,0){% + \makebox(99,99)[c]{\parbox[c]{99\sc@unittype}{\centering #1}}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + % \begin{macro}{\sc@jewelemptyl} -% Empty jewel layout \\ +% Empty jewel layout. % Usage: |\sc@jewelemptyl| \marg{content} \marg{cover width} \marg{cover height} % \begin{macrocode} \DeclareRobustCommand{\sc@jewelemptyl}[3]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% - \setcounter{sc@tempa}{#2 - 10}% - \setcounter{sc@tempb}{#3 - 10}% - \begin{picture}(\value{sc@tempa}, \value{sc@tempb})% - #1% + \setcounter{sc@layouttempa}{#2 - 10}% + \setcounter{sc@layouttempb}{#3 - 10}% + \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% + \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{#1}% \end{picture}% } % \end{macrocode} % \end{macro} % \begin{macro}{\jewellempty} -% Empty layout border \\ +% Empty layout border. % Usage: |\jewellempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\jewellempty}[1]{% - \setcounter{sc@tempa}{\value{sc@cdjccoverwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@cdjccoverheightdraw} - 10}% - \sc@jewelemptyl{\framebox(\value{sc@tempa},\value{sc@tempb})[c]{% - \parbox[c]{\value{sc@tempa} \sc@unittype}{\centering #1}}}% + \setcounter{sc@layouttempa}{\value{sc@cdjccoverwidthdraw} - 10}% + \setcounter{sc@layouttempb}{\value{sc@cdjccoverheightdraw} - 10}% + \sc@jewelemptyl{ + \framebox(\value{sc@layouttempa},\value{sc@layouttempb})[c]{% + \parbox[c]{\value{sc@layouttempa} \sc@unittype}{\centering #1}}}% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } @@ -1459,8 +2100,9 @@ % \end{macro} % \begin{macro}{\jeweldriverlempty} -% Empty cover layout for a hardware driver disk \\ -% Usage: |\jeweldriverlempty| \marg{title} \marg{subtitle} \marg{date} \marg{serial} \marg{disk version} \marg{right middle cell} \marg{bottom cell} +% Empty cover layout for a hardware driver disk. +% Usage: |\jeweldriverlempty| \marg{title} \marg{subtitle} \marg{date} \marg{serial} +% \marg{disk version} \marg{right middle cell} \marg{bottom cell} % \begin{macrocode} \DeclareRobustCommand{\jeweldriverlempty}[7]{% \sc@jewelemptyl{% @@ -1486,8 +2128,9 @@ % \end{macro} % \begin{macro}{\jeweldriverl} -% Cover layout for a hardware driver disk \\ -% Usage: |\jeweldriverl| \marg{title} \marg{subtitle} \marg{date} \marg{serial} \marg{disk version} \marg{right middle cell} \marg{bottom cell} +% Cover layout for a hardware driver disk. +% Usage: |\jeweldriverl| \marg{title} \marg{subtitle} \marg{date} \marg{serial} +% \marg{disk version} \marg{right middle cell} \marg{bottom cell} % \begin{macrocode} \DeclareRobustCommand{\jeweldriverl}[7]{% \jeweldriverlempty{#1}{#2}{Acquisition date: #3}{Serial: #4}% @@ -1497,17 +2140,17 @@ % \end{macro} % \begin{macro}{\jewelmusiclempty} -% Cover layout for music disks \\ +% Cover layout for music disks. % Usage: |\jewelmusiclempty| \marg{title} \marg{performer} \marg{year} \marg{style} % \begin{macrocode} \DeclareRobustCommand{\jewelmusiclempty}[4]{% - \sc@jewelemptyl{\framebox(\value{sc@tempa},\value{sc@tempb})[c]{% + \sc@jewelemptyl{% \put(0,60){% \makebox(110,40)[c]{\parbox[c]{110mm}{\centering\scalebox{4}{#1}}}}% \put(0,60){\makebox(110,10)[c]{\parbox[c]{110mm}{\centering\Large #2}}}% \put(0,15){\makebox(110,20)[c]{\parbox[c]{110mm}{\centering\Large #4}}}% \put(0,10){\makebox(110,10)[c]{\parbox[c]{110mm}{\centering\Large #3}}}% - }}% + }% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } @@ -1515,44 +2158,43 @@ % \end{macro} % \begin{macro}{\sc@jewelbackemptyl} -% Empty jewel backsheet layout \\ +% Empty jewel backsheet layout. % Usage: |\sc@jewelbackemptyl| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\sc@jewelbackemptyl}[1]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% - \setcounter{sc@tempa}{\value{sc@cdjcbackinwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@cdjcbackheightdraw} - 10}% - \begin{picture}(\value{sc@tempa}, \value{sc@tempb})% - #1% + \setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% + \setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% + \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% + \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{#1}% \end{picture}% } % \end{macrocode} % \end{macro} % \begin{macro}{\jewelbacklempty} -% Empty layout border \\ +% Empty layout border. % Usage: |\jewelbacklempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\jewelbacklempty}[1]{% - \setcounter{sc@tempa}{\value{sc@cdjcbackinwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@cdjcbackheightdraw} - 10}% - \sc@jewelbackemptyl{\framebox(\value{sc@tempa},\value{sc@tempb})[c]{% - \parbox[c]{\value{sc@tempa} \sc@unittype}{\centering #1}}}% + \setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% + \setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% + \sc@jewelbackemptyl{% + \parbox[c]{\value{sc@layouttempa} \sc@unittype}{\centering #1}}% } % \end{macrocode} % \end{macro} % \begin{macro}{\LXlempty} -% Empty layout border for 60 millimeter disk covers \\ +% Empty layout border for 60 millimeter disk covers. % Usage: |\LXlempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\LXlempty}[1]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% - \setcounter{sc@tempa}{\value{sc@cdLXjccoverwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@cdLXjccoverheightdraw} - 10}% - \resizebox{50\sc@unittype}{!}{% - \sc@jewelemptyl{\framebox(\value{sc@tempa},\value{sc@tempb})[c]{% - \parbox[c]{\value{sc@tempa} \sc@unittype}{\centering #1}}}% + \setcounter{sc@resizertempa}{\value{sc@cdLXjccoverwidthdraw} - 10}% + \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% + \sc@jewelemptyl{% + \parbox[c]{\value{sc@resizertempa} \sc@unittype}{\centering #1}}% {\value{sc@cdLXjccoverwidthdraw}}% {\value{sc@cdLXjccoverheightdraw}}}% } @@ -1560,16 +2202,15 @@ % \end{macro} % \begin{macro}{\LXXXlempty} -% Empty layout border for 80 millimeter disk covers \\ +% Empty layout border for 80 millimeter disk covers. % Usage: |\LXXXlempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\LXXXlempty}[1]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% - \setcounter{sc@tempa}{\value{sc@cdLXXXjccoverwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@cdLXXXjccoverheightdraw} - 10}% - \resizebox{\value{sc@tempa}\sc@unittype}{!}{% - \sc@jewelemptyl{\framebox(\value{sc@tempa},\value{sc@tempb})[c]{% - \parbox[c]{\value{sc@tempa} \sc@unittype}{\centering #1}}}% + \setcounter{sc@resizertempa}{\value{sc@cdLXXXjccoverwidthdraw} - 10}% + \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% + \sc@jewelemptyl{% + \parbox[c]{\value{sc@resizertempa} \sc@unittype}{\centering #1}}% {\value{sc@cdLXXXjccoverwidthdraw}}% {\value{sc@cdLXXXjccoverheightdraw}}}% } @@ -1577,34 +2218,37 @@ % \end{macro} % \begin{macro}{\LXdriverlempty} -% Driver layout border for 60 millimeter disk covers \\ -% Usage: |\LXdriverlempty| \marg{title} \marg{subtitle} \marg{date} \marg{serial} \marg{disk version} \marg{right middle cell} \marg{bottom cell} +% Driver layout border for 60 millimeter disk covers. +% Usage: |\LXdriverlempty| \marg{title} \marg{subtitle} \marg{date} \marg{serial} +% \marg{version} \marg{right middle cell} \marg{bottom cell} % \begin{macrocode} \DeclareRobustCommand{\LXdriverlempty}[7]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% - \setcounter{sc@tempc}{\value{sc@cdLXjccoverheightdraw} - 10}% - \resizebox{\value{sc@tempc}\sc@unittype}{!}{% + \setcounter{sc@resizertempa}{\value{sc@cdLXjccoverheightdraw} - 10}% + \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}% } % \end{macrocode} % \end{macro} % \begin{macro}{\LXXXdriverlempty} -% Driver layout border for 80 millimeter disk covers \\ -% Usage: |\LXXXdriverlempty| \marg{title} \marg{subtitle} \marg{date} \marg{serial} \marg{disk version} \marg{right middle cell} \marg{bottom cell} +% Driver layout border for 80 millimeter disk covers. +% Usage: |\LXXXdriverlempty| \marg{title} \marg{subtitle} \marg{date} \marg{serial} +% \marg{disk version} \marg{right middle cell} \marg{bottom cell} % \begin{macrocode} \DeclareRobustCommand{\LXXXdriverlempty}[7]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% - \setcounter{sc@tempc}{\value{sc@cdLXXXjccoverheightdraw} - 10}% - \resizebox{\value{sc@tempc}\sc@unittype}{!}{% + \setcounter{sc@resizertempa}{\value{sc@cdLXXXjccoverheightdraw} - 10}% + \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}% } % \end{macrocode} % \end{macro} % \begin{macro}{\LXdriverl} -% Driver layout border for 60 millimeter disk covers \\ -% Usage: |\LXdriverl| \marg{title} \marg{subtitle} \marg{date} \marg{serial} \marg{disk version} \marg{right middle cell} \marg{bottom cell} +% Driver layout border for 60 millimeter disk covers. +% Usage: |\LXdriverl| \marg{title} \marg{subtitle} \marg{date} \marg{serial} +% \marg{disk version} \marg{right middle cell} \marg{bottom cell} % \begin{macrocode} \DeclareRobustCommand{\LXdriverl}[7]{% \LXdriverlempty{#1}{#2}{Acquisition date: #3}{Serial: #4}% @@ -1614,8 +2258,9 @@ % \end{macro} % \begin{macro}{\LXXXdriverl} -% Driver layout border for 80 millimeter disk covers \\ -% Usage: |\LXXXdriverl| \marg{title} \marg{subtitle} \marg{date} \marg{serial} \marg{disk version} \marg{right middle cell} \marg{bottom cell} +% Driver layout border for 80 millimeter disk covers. +% Usage: |\LXXXdriverl| \marg{title} \marg{subtitle} \marg{date} \marg{serial} +% \marg{disk version} \marg{right middle cell} \marg{bottom cell} % \begin{macrocode} \DeclareRobustCommand{\LXXXdriverl}[7]{% \LXXXdriverlempty{#1}{#2}{Acquisition date: #3}{Serial: #4}% @@ -1624,18 +2269,126 @@ % \end{macrocode} % \end{macro} +% \begin{macro}{\jewelstripeslempty} +% One centered stripe and 2 optional diagonal stripes with content. +% Usage: |\jewelstripeslempty| \marg{center content} \marg{upper right content} \marg{lower left content} +% \begin{macrocode} +\DeclareRobustCommand{\jewelstripeslempty}[3]{% + \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \begin{picture}% + (\value{sc@cdjccoverwidthdraw},\value{sc@cdjccoverheightdraw})% + \put(0,75){\line(1,0){120}}% + \put(0,45){\line(1,0){120}}% + \put(0,45){\makebox(\value{sc@cdjccoverwidthdraw},30)[c]% + {\parbox[c]{\value{sc@cdjccoverwidthdraw}\sc@unittype}{\centering #1}}}% + \ifthenelse{\equal{#2}{}}{}{% + \put(62,117.5){\rotatebox{-40}{% + \put(13.5,15){\line(1,0){49.8}}% + \put(2.2,5){\line(1,0){69.8}}% + \put(5,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\centering #2}}}}}}% + \ifthenelse{\equal{#3}{}}{}{% + \put(-5,29.5){\rotatebox{-40}{% + \put(-6,15){\line(1,0){69.8}}% + \put(2.2,5){\line(1,0){49.8}}% + \put(0,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\centering #3}}}}}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\jewelgamelempty} +% Empty cover layout for a game disk. +% Usage: |\jewelgamelempty| \marg{title} \marg{release year} \marg{genres} \marg{developer} +% \marg{publisher} \marg{serial} \marg{comment} +% \begin{macrocode} +\DeclareRobustCommand{\jewelgamelempty}[7]{% + \sc@jewelemptyl{% + \put(0,70){% + \framebox(110,40){\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% + \put(0,60){\framebox(55,10){\parbox[c]{55mm}{\centering #2}}}% + \put(55,60){\framebox(55,10){\parbox[c]{55mm}{\centering #3}}}% + \put(0,50){\framebox(55,10){\parbox[c]{55mm}{\centering #4}}}% + \put(55,50){\framebox(55,10){\parbox[c]{55mm}{\centering #5}}}% + \put(0,40){\framebox(110,10){\parbox[c]{110mm}{\centering #6}}}%% + \put(0,0){\framebox(110,40)[t]{% + \parbox[c]{105mm}{\vspace{5mm} #7}% + }}}% + {\value{sc@cdjccoverwidthdraw}}% + {\value{sc@cdjccoverheightdraw}}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\jewelgamel} +% Cover layout for a game disk. +% Usage: |\jewelgamel| \marg{title} \marg{release year} \marg{genres} \marg{developer} +% \marg{publisher} \marg{serial} \marg{comment} +% \begin{macrocode} +\DeclareRobustCommand{\jewelgamel}[7]{% + \jewelgamelempty{#1}{Released: #2}{Genre(s): #3}{Developer: #4}% + {Publisher: #5}{Serial: #6}{#7}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\jewelflaglempty} +% Empty cover layout in a 3-striped flag format. +% Usage: |\jewelflaglempty| \marg{upper content} \marg{middle content} \marg{lower content} +% \begin{macrocode} +\DeclareRobustCommand{\jewelflaglempty}[3]{% + \sc@jewelemptyl{% + \put(0,73.33){% + \framebox(110,36.66){\parbox[c]{110mm}{\centering #1}}}% + \put(0,36.66){\framebox(110,36.66){\parbox[c]{110mm}{\centering #2}}}% + \put(0,0){\framebox(110,36.66){\parbox[c]{110mm}{\centering #3}}}% + }% + {\value{sc@cdjccoverwidthdraw}}% + {\value{sc@cdjccoverheightdraw}}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\jewellineslempty} +% Cover with horizontal lines. +% Usage: |\jewellineslempty| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\jewellineslempty}[1]{% + \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \begin{picture}% + (\value{sc@cdjccoverwidthdraw},\value{sc@cdjccoverheightdraw})% + \put(5,110){\line(1,0){110}}% + \put(5,100){\line(1,0){110}}% + \put(5,90){\line(1,0){110}}% + \put(5,80){\line(1,0){110}}% + \put(5,70){\line(1,0){110}}% + \put(5,60){\line(1,0){110}}% + \put(5,50){\line(1,0){110}}% + \put(5,40){\line(1,0){110}}% + \put(5,30){\line(1,0){110}}% + \put(5,20){\line(1,0){110}}% + \put(5,10){\line(1,0){110}}% + \put(5,10){ + \makebox(110,110){ + \parbox[c]{110mm}{\centering \setlength\baselineskip{1cm} #1}}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + % \begin{macro}{\dvdmovielempty} % Cover layout for movie DVDs. -% Usage: |\dvdmovielempty| \marg{title} \marg{original title} \marg{release year} \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} +% Usage: |\dvdmovielempty| \marg{title} \marg{original title} \marg{release year} +% \marg{director} \marg{languages} \marg{subtitle} \marg{actors} \marg{comment} % \begin{macrocode} \DeclareRobustCommand{\dvdmovielempty}[8]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% - \setcounter{sc@tempa}{\value{sc@dvdkccoverwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@dvdkccoverheightdraw} - 10}% - \begin{picture}(\value{sc@tempa}, \value{sc@tempb})% + \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% + \setcounter{sc@layouttempb}{\value{sc@dvdkccoverheightdraw} - 10}% + \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,140){% \framebox(118,33)[c]{\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% - \put(0,120){\framebox(118,20)[c]{\parbox[c]{110mm}{\centering\huge #2}}}% + \put(0,120){% + \framebox(118,20)[c]{\parbox[c]{110mm}{\centering\huge #2}}}% \put(0,110){\framebox(59,10)[c]{\parbox[c]{50mm}{\centering #3}}}% \put(0,100){\framebox(59,10)[c]{\parbox[c]{50mm}{#4}}}% \put(0,70){\framebox(59,30)[c]{\parbox[c]{50mm}{#5}}}% @@ -1649,7 +2402,8 @@ % \begin{macro}{\dvdmoviel} % Cover layout for movie DVDs. -% Usage: |\dvdmoviel| \marg{title} \marg{original title} \marg{release year} \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} +% Usage: |\dvdmoviel| \marg{title} \marg{original title} \marg{release year} +% \marg{director} \marg{languages} \marg{subtitle} \marg{actors} \marg{comment} % \begin{macrocode} \DeclareRobustCommand{\dvdmoviel}[8]{% \dvdmovielempty{#1}{#2}{Released: #3}{Directed by: #4}% @@ -1665,12 +2419,12 @@ % \begin{macrocode} \DeclareRobustCommand{\dvdlempty}[1]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% - \setcounter{sc@tempa}{\value{sc@dvdkccoverwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@dvdkccoverheightdraw} - 10}% - \begin{picture}(\value{sc@tempa}, \value{sc@tempb})% + \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% + \setcounter{sc@layouttempb}{\value{sc@dvdkccoverheightdraw} - 10}% + \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,0){% - \framebox(\value{sc@tempa}, \value{sc@tempb})[c]{% - \parbox[c]{\value{sc@tempa}\sc@unittype}{\centering #1}}}% + \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{% + \parbox[c]{\value{sc@layouttempa}\sc@unittype}{\centering #1}}}% \end{picture}% } % \end{macrocode} @@ -1678,16 +2432,18 @@ % \begin{macro}{\bluraymovielempty} % Cover layout for movie Blu-rays. -% Usage: |\bluraymovielempty| \marg{title} \marg{original title} \marg{release year} \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} +% Usage: |\bluraymovielempty| \marg{title} \marg{original title} \marg{release year} +% \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} % \begin{macrocode} \DeclareRobustCommand{\bluraymovielempty}[8]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% - \setcounter{sc@tempa}{\value{sc@dvdkccoverwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@brcoverheightdraw} - 10}% - \begin{picture}(\value{sc@tempa}, \value{sc@tempb})% + \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% + \setcounter{sc@layouttempb}{\value{sc@brcoverheightdraw} - 10}% + \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,120){% \framebox(118,20)[c]{\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% - \put(0,105){\framebox(118,15)[c]{\parbox[c]{110mm}{\centering\huge #2}}}% + \put(0,105){% + \framebox(118,15)[c]{\parbox[c]{110mm}{\centering\huge #2}}}% \put(0,95){\framebox(59,10)[c]{\parbox[c]{50mm}{\centering #3}}}% \put(0,85){\framebox(59,10)[c]{\parbox[c]{50mm}{#4}}}% \put(0,55){\framebox(59,30)[c]{\parbox[c]{50mm}{#5}}}% @@ -1701,7 +2457,8 @@ % \begin{macro}{\bluraymoviel} % Cover layout for movie Blu-rays. -% Usage: |\bluraymoviel| \marg{title} \marg{original title} \marg{release year} \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} +% Usage: |\bluraymoviel| \marg{title} \marg{original title} \marg{release year} +% \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} % \begin{macrocode} \DeclareRobustCommand{\bluraymoviel}[8]{% \bluraymovielempty{#1}{#2}{Released: #3}{Directed by: #4}% @@ -1717,12 +2474,12 @@ % \begin{macrocode} \DeclareRobustCommand{\bluraylempty}[1]{% \ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% - \setcounter{sc@tempa}{\value{sc@dvdkccoverwidthdraw} - 10}% - \setcounter{sc@tempb}{\value{sc@brcoverheightdraw} - 10}% - \begin{picture}(\value{sc@tempa}, \value{sc@tempb})% + \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% + \setcounter{sc@layouttempb}{\value{sc@brcoverheightdraw} - 10}% + \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,0){% - \framebox(\value{sc@tempa}, \value{sc@tempb})[c]{% - \parbox[c]{\value{sc@tempa}\sc@unittype}{\centering #1}}}% + \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{% + \parbox[c]{\value{sc@layouttempa}\sc@unittype}{\centering #1}}}% \end{picture}% } % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/simplecd/simplecd.ins b/Master/texmf-dist/source/latex/simplecd/simplecd.ins index 5a96d14ec6f..bb469034150 100644 --- a/Master/texmf-dist/source/latex/simplecd/simplecd.ins +++ b/Master/texmf-dist/source/latex/simplecd/simplecd.ins @@ -1,53 +1,53 @@ -%% -%% Copyright (C) 2010-2012 by Daniel Majoros -%% -%% This file may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either -%% version 1.2 of this license or (at your option) any later -%% version. The latest version of this license is in: -%% -%% http://www.latex-project.org/lppl.txt -%% -%% and version 1.2 or later is part of all distributions of -%% LaTeX version 1999/12/01 or later. -%% - -\input docstrip.tex -\keepsilent - -\preamble - -This is a generated file. - -Copyright (C) 2010-2012 by Daniel Majoros - -This file may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.2 of this license or (at your option) any later -version. The latest version of this license is in: - - http://www.latex-project.org/lppl.txt - -and version 1.2 or later is part of all distributions of -LaTeX version 1999/12/01 or later. - -\endpreamble - -\generate{\file{simplecd.sty}{\from{./simplecd.dtx}{package}}} - -\obeyspaces -\Msg{****************************************************} -\Msg{* *} -\Msg{* To finish the installation you have to move the *} -\Msg{* following file into a directory searched by TeX: *} -\Msg{* *} -\Msg{* simplecd.sty *} -\Msg{* *} -\Msg{* To produce the documentation run the file *} -\Msg{* simplecd.dtx through LaTeX. *} -\Msg{* *} -\Msg{* Happy TeXing! *} -\Msg{* *} -\Msg{****************************************************} - -\endbatchfile +%% +%% Copyright (C) 2010-2012 by Daniel Majoros +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.2 of this license or (at your option) any later +%% version. The latest version of this license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of +%% LaTeX version 1999/12/01 or later. +%% + +\input docstrip.tex +\keepsilent + +\preamble + +This is a generated file. + +Copyright (C) 2010-2012 by Daniel Majoros + +This file may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either +version 1.2 of this license or (at your option) any later +version. The latest version of this license is in: + + http://www.latex-project.org/lppl.txt + +and version 1.2 or later is part of all distributions of +LaTeX version 1999/12/01 or later. + +\endpreamble + +\generate{\file{simplecd.sty}{\from{./simplecd.dtx}{package}}} + +\obeyspaces +\Msg{****************************************************} +\Msg{* *} +\Msg{* To finish the installation you have to move the *} +\Msg{* following file into a directory searched by TeX: *} +\Msg{* *} +\Msg{* simplecd.sty *} +\Msg{* *} +\Msg{* To produce the documentation run the file *} +\Msg{* simplecd.dtx through LaTeX. *} +\Msg{* *} +\Msg{* Happy TeXing! *} +\Msg{* *} +\Msg{****************************************************} + +\endbatchfile -- cgit v1.2.3