summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/simplecd/simplecd.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-04 23:01:19 +0000
committerKarl Berry <karl@freefriends.org>2012-11-04 23:01:19 +0000
commit97d39c4617060d1f315ee8f66ed7af07f7ca4ac8 (patch)
treeb623820726326578b3d670fdd2c742d56ae17f48 /Master/texmf-dist/tex/latex/simplecd/simplecd.sty
parent2314afd4e69719c52c7648994f64b3516aa6dc4c (diff)
simplecd (4nov12)
git-svn-id: svn://tug.org/texlive/trunk@28174 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/simplecd/simplecd.sty')
-rw-r--r--Master/texmf-dist/tex/latex/simplecd/simplecd.sty900
1 files changed, 644 insertions, 256 deletions
diff --git a/Master/texmf-dist/tex/latex/simplecd/simplecd.sty b/Master/texmf-dist/tex/latex/simplecd/simplecd.sty
index 45fb9b9ec8a..3b4163299f9 100644
--- a/Master/texmf-dist/tex/latex/simplecd/simplecd.sty
+++ b/Master/texmf-dist/tex/latex/simplecd/simplecd.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2010 by Daniel Majoros
+%% 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
@@ -23,290 +23,678 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{simplecd}
- [2010/07/01 v1.0 simple cd, dvd covers]
+ [2012/11/04 v1.1 simple cd, dvd covers and many more]
-\RequirePackage{rotating}
\RequirePackage{fix-cm}
-\RequirePackage{array}
\RequirePackage{calc}
+\RequirePackage{ifthen}
+\RequirePackage{graphicx}
+
+%% The |noalign| option sets all text aligning lengths to zero.
\DeclareOption{noalign}{
- \setlength{\sc@jfcalign}{0cm}
- \setlength{\sc@jbsalign}{0cm}
- \setlength{\sc@slalign}{0cm}
- \setlength{\sc@kcfalign}{0cm}
- \setlength{\sc@kcbalign}{0cm}
+ \setlength{\sc@jewelalign}{0cm}
+ \setlength{\sc@keepcasealign}{0cm}
\setlength{\sc@inalign}{0cm}
- \setlength{\sc@djewsalign}{0cm}
+\setboolean{sc@align}{false}
}
+%% The |nofold| option removes the folding lines on the cut-outs.
\DeclareOption{nofold}{
- \renewcommand{\sc@hfoldline}[1]{}
- \setlength{\sc@vfoldline}{0pt}
-}
-
-\newcommand{\sc@hfoldline}[1]{
- \cline{#1}
+\setboolean{sc@fold}{false}
}
-\newlength{\sc@vfoldline}
-\setlength{\sc@vfoldline}{0.4pt}
-
+%% Redefines rotation degrees to rotate spine text with $180^\circ$.
\DeclareOption{spiner}{
- \renewcommand{\sc@spinerotone}{180}
+ \renewcommand{\sc@spinerotone}{270}
\renewcommand{\sc@spinerottwo}{90}
- \renewcommand{\sc@spinerotthree}{270}
}
-\newcommand{\sc@spinerotone}{0}
+\newcommand{\sc@spinerotone}{90}
\newcommand{\sc@spinerottwo}{270}
-\newcommand{\sc@spinerotthree}{90}
+%% Boolean for indicating whether or not the folding lines need to be drawn. True value means to draw.
+\newboolean{sc@fold}
+\setboolean{sc@fold}{true}
-%% CD jewelcase dimensions
-\newlength{\sc@cdjccoverheight}
-\setlength{\sc@cdjccoverheight}{120mm}
-\newlength{\sc@cdjccoverwidth}
-\setlength{\sc@cdjccoverwidth}{120mm}
-\newlength{\sc@cdjcbackheight}
-\setlength{\sc@cdjcbackheight}{117.5mm}
-\newlength{\sc@cdjcbackwidth}
-\setlength{\sc@cdjcbackwidth}{138mm}
-\newlength{\sc@cdjcspinewidth}
-\setlength{\sc@cdjcspinewidth}{6mm}
+%% Boolean for indicating whether or not the default aligning is needed.
+\newboolean{sc@align}
+\setboolean{sc@align}{true}
-%% Jewelcase spine fixed text font size
-\newcommand{\sc@cdjfontsize}{15}
+\newcommand{\sc@truestr}{t}
-%% Disk sleeve dimensions
-\newlength{\sc@dsdim}
-\setlength{\sc@dsdim}{125mm}
+\newcommand{\sc@falsestr}{f}
-%% Slim DVD keepcase dimensions
-\newlength{\sc@sdvdcoverwidth}
-\setlength{\sc@sdvdcoverwidth}{128.5mm}
-\newlength{\sc@sdvdspinewidth}
-\setlength{\sc@sdvdspinewidth}{7mm}
+\newcommand{\sc@unittype}{mm}
-%% DVD keepcase dimensions
-\newlength{\sc@dvdkcheight}
-\setlength{\sc@dvdkcheight}{183mm}
-\newlength{\sc@dvdkccoverwidth}
-\setlength{\sc@dvdkccoverwidth}{129.5mm}
-\newlength{\sc@dvdkcspinewidth}
-\setlength{\sc@dvdkcspinewidth}{14mm}
-\newlength{\sc@dvdkcinletwidth}
-\setlength{\sc@dvdkcinletwidth}{115mm}
-\newlength{\sc@dvdkcinletheight}
-\setlength{\sc@dvdkcinletheight}{175mm}
-
-%% Blu-Ray case dimensions
-\newlength{\sc@brcoverwidth}
-\setlength{\sc@brcoverwidth}{128mm}
-\newlength{\sc@brcoverheight}
-\setlength{\sc@brcoverheight}{149mm}
-\newlength{\sc@brspinewidth}
-\setlength{\sc@brspinewidth}{14mm}
-\newlength{\sc@brinletwidth}
-\setlength{\sc@brinletwidth}{115mm}
-\newlength{\sc@brinletheight}
-\setlength{\sc@brinletheight}{140mm}
-
-%% Width and correction of the invisible |\rule|'s column
-\newlength{\sc@ircwidth}
-\setlength{\sc@ircwidth}{0.1mm}
-\newlength{\sc@ircorr}
-\setlength{\sc@ircorr}{1mm}
-
-%%Text aligning lengths
-\newlength{\sc@jfcalign}
-\setlength{\sc@jfcalign}{1.5cm}
-\newlength{\sc@jbsalign}
-\setlength{\sc@jbsalign}{3cm}
-\newlength{\sc@slalign}
-\setlength{\sc@slalign}{1.5cm}
-\newlength{\sc@kcfalign}
-\setlength{\sc@kcfalign}{4cm}
-\newlength{\sc@kcbalign}
-\setlength{\sc@kcbalign}{3cm}
+\setlength{\unitlength}{1\sc@unittype}
+
+%% Text aligning lengths
+\newlength{\sc@jewelalign}
+\setlength{\sc@jewelalign}{15 \sc@unittype}
+\newlength{\sc@keepcasealign}
+\setlength{\sc@keepcasealign}{40 \sc@unittype}
\newlength{\sc@inalign}
-\setlength{\sc@inalign}{3cm}
-\newlength{\sc@djewsalign}
-\setlength{\sc@djewsalign}{3cm}
+\setlength{\sc@inalign}{30 \sc@unittype}
+
+
+%% CD jewel case dimensions
+\newcounter{sc@cdjccoverwidthdraw}
+\setcounter{sc@cdjccoverwidthdraw}{120}
+\newcounter{sc@cdjccoverheightdraw}
+\setcounter{sc@cdjccoverheightdraw}{120}
+\newcounter{sc@cdjcspinewidthdraw}
+\setcounter{sc@cdjcspinewidthdraw}{6}
+\newcounter{sc@cdjcbackheightdraw}
+\setcounter{sc@cdjcbackheightdraw}{117}
+\newcounter{sc@cdjcbackwidthdraw}
+\setcounter{sc@cdjcbackwidthdraw}{151}
+\newcounter{sc@cdjcbackinwidthdraw}
+\setcounter{sc@cdjcbackinwidthdraw}{%
+\value{sc@cdjcbackwidthdraw} - 2*\value{sc@cdjcspinewidthdraw}}
+
+%% Mini disk dimensions
+\newcounter{sc@cdLXXXjccoverwidthdraw}
+\setcounter{sc@cdLXXXjccoverwidthdraw}{80}
+\newcounter{sc@cdLXXXjccoverheightdraw}
+\setcounter{sc@cdLXXXjccoverheightdraw}{80}
+\newcounter{sc@cdLXjccoverwidthdraw}
+\setcounter{sc@cdLXjccoverwidthdraw}{60}
+\newcounter{sc@cdLXjccoverheightdraw}
+\setcounter{sc@cdLXjccoverheightdraw}{60}
+
+%% Jewelcase spine fixed text font size
+\newcommand{\sc@cdjfontsize}{15}
+
+%% DVD keepcase dimensions
+\newcounter{sc@dvdkccoverwidthdraw}
+\setcounter{sc@dvdkccoverwidthdraw}{128}
+\newcounter{sc@dvdkccoverheightdraw}
+\setcounter{sc@dvdkccoverheightdraw}{183}
+\newcounter{sc@dvdkcspinewidthdraw}
+\setcounter{sc@dvdkcspinewidthdraw}{14}
+\newcounter{sc@dvdkcinletwidthdraw}
+\setcounter{sc@dvdkcinletwidthdraw}{115}
+\newcounter{sc@dvdkcinletheightdraw}
+\setcounter{sc@dvdkcinletheightdraw}{175}
+
+\newcounter{sc@sdvdkcspinewidthdraw}
+\setcounter{sc@sdvdkcspinewidthdraw}{7}
+
+%% Blu-ray keepcase dimensions
+\newcounter{sc@brcoverheightdraw}
+\setcounter{sc@brcoverheightdraw}{149}
+\newcounter{sc@brinletwidthdraw}
+\setcounter{sc@brinletwidthdraw}{115}
+\newcounter{sc@brinletheightdraw}
+\setcounter{sc@brinletheightdraw}{140}
+
+%% Dimensions for drawing the sleeves
+\newcounter{sc@dssleeve}
+\setcounter{sc@dssleeve}{15}
+\newcounter{sc@dssleeveLXXXmm}
+\setcounter{sc@dssleeveLXXXmm}{10}
+\newcounter{sc@dssleeveLXmm}
+\setcounter{sc@dssleeveLXmm}{8}
\ProcessOptions\relax
+%% Temporary counters for the implementation.
+\newcounter{sc@tempa}
+\newcounter{sc@tempb}
+\newcounter{sc@tempc}
+\newcounter{sc@tempd}
+\newcounter{sc@tempe}
+\newcounter{sc@tempf}
+\newcounter{sc@tempg}
+
-\DeclareRobustCommand{\covers}[3][\ ]{
+\DeclareRobustCommand{\covers}[3][\ ]{%
\frontcover{#2}
- \vspace*{0.5cm}
- \backsheet[#1]{#3}
-}
-
-\DeclareRobustCommand{\frontcover}[1]{
- \sc@cell{#1}{\sc@cdjccoverwidth}{\sc@cdjccoverheight}%
- {\vspace{\sc@jfcalign}}
-}
-
-\DeclareRobustCommand{\backsheet}[2][\ ]{
- \begin{tabular}%
- {|@{\hspace{0.4mm}}m{\sc@cdjcspinewidth-0.4mm}@{}%
- !{\vrule width \sc@vfoldline}%
- @{}m{\sc@cdjcbackwidth}@{}%
- !{\vrule width \sc@vfoldline}@{}%
- m{\sc@cdjcspinewidth-0.4mm}@{\hspace{0.4mm}}%
- |m{\sc@ircwidth}}
- \cline{1-3}
- \centering%
- \begin{turn}{\sc@spinerotthree}%
- {\fontsize{\sc@cdjfontsize}{36}\selectfont #2 }%
- \end{turn} %
- & \parbox[c]{\sc@cdjcbackwidth}{\centering #1 \\
- \vspace{\sc@jbsalign}}%
- & \centering %
- \begin{turn}{\sc@spinerottwo}%
- {\fontsize{\sc@cdjfontsize}{36}\selectfont #2}%
- \end{turn} & \rule{0pt}{\sc@cdjcbackheight-\sc@ircorr} \\
- \cline{1-3}
- \end{tabular}
-}
-
-\DeclareRobustCommand{\jewelspine}[1]{
- \begin{tabular}{|@{}m{\sc@cdjcbackheight}@{}|m{\sc@ircwidth}}
- \cline{1-1} %
- \centering %
- {\fontsize{\sc@cdjfontsize}{36}\selectfont #1}& %
- \rule{0pt}{\sc@cdjcspinewidth-0.1cm} \\
- \cline{1-1}
- \end{tabular}
-}
-
-\DeclareRobustCommand{\sleeve}[1]{
- \begin{tabular}{m{10mm}|@{}m{\sc@dsdim}@{}|m{10mm}m{\sc@ircwidth}}
- \multicolumn{3}{c}{ \setlength{\unitlength}{0.5cm}
- \begin{picture}(0,0)%
- \put(-12.5,-0.25){\line(1,1){4}}
- \put(-8.5,3.75){\line(1,0){17}}
- \put(12.5,-0.25){\line(-1,1){4}}
- \end{picture} \rule{0pt}{3cm}} \\
- \cline{2-2}
- \centering \setlength{\unitlength}{0.5cm}
- \begin{picture}(0,0)%
- \put(1.45,-12.38){\line(-1,1){1.5}}%
- \put(-0.06,-10.9){\line(0,1){22.08}} %
- \put(-0.06,11.18){\line(1,1){1.5}}%
- \end{picture} & \parbox[c]{\sc@dsdim}%
- {\centering #1 \\ \vspace{\sc@slalign}} &%
- \setlength{\unitlength}{0.5cm} %
- \begin{picture}(0,0)%
- \put(-0.45,-12.38){\line(1,1){1.5}}%
- \put(1.04,-10.9){\line(0,1){22.08}} %
- \put(1.04,11.18){\line(-1,1){1.5}}%
- \end{picture} & \rule{0pt}{\sc@dsdim-\sc@ircorr}\\
- \sc@hfoldline{2-2}
- & & & \rule{0pt}{\sc@dsdim-0.1cm} \\
- \cline{2-2}
- \end{tabular}
-}
-
-\DeclareRobustCommand{\keepcase}[6][]{
- \begin{tabular}{|@{}m{#4}@{}|m{\sc@ircwidth}}
- \cline{1-1}
- \centering
- \begin{sideways} \parbox[c]{#5}{\centering #2 %
- \\ \vspace{\sc@kcfalign}} %
- \end{sideways} & \rule{0pt}{#5-\sc@ircorr} \\
- \sc@hfoldline{1-1} \centering %
- \begin{turn}{\sc@spinerotone}%
- #3 %
- \end{turn}%
- & \rule{0pt}{#6-\sc@ircorr} \\
- \sc@hfoldline{1-1}%
- \centering %
- \begin{sideways} \parbox[c]{#5}{\centering #1\ \\ %
- \vspace{\sc@kcbalign}} \end{sideways} & %
- \rule{0pt} {#5-\sc@ircorr}\\
- \cline{1-1}
- \end{tabular}
-}
-
-\DeclareRobustCommand{\slimdvd}[3][]{
- \keepcase[#1]{#2}{#3}{\sc@dvdkcheight}{\sc@sdvdcoverwidth}%
- {\sc@sdvdspinewidth}
-}
-
-\DeclareRobustCommand{\dvd}[3][]{
- \keepcase[#1]{#2}{#3}{\sc@dvdkcheight}{\sc@dvdkccoverwidth-1.5mm}%
- {\sc@dvdkcspinewidth}
-}
-
-\DeclareRobustCommand{\bluray}[3][]{
- \keepcase[#1]{#2}{#3}{\sc@brcoverheight}{\sc@brcoverwidth}%
- {\sc@brspinewidth}
-}
-
-\DeclareRobustCommand{\coverimg}[1]{
- \resizebox{\sc@cdjccoverwidth}{\sc@cdjccoverheight}{#1}
-}
-
-\DeclareRobustCommand{\backsheetimg}[1]{
- \resizebox{\sc@cdjcbackwidth+\sc@cdjcspinewidth*2}%
- {\sc@cdjcbackheight}{#1}
-}
-
-\DeclareRobustCommand{\slimdvdimg}[1]{
- \resizebox{\sc@dvdkcheight}%
- {\sc@sdvdcoverwidth*2+\sc@sdvdspinewidth}{#1}
-}
-
-\DeclareRobustCommand{\dvdimg}[1]{
- \resizebox{\sc@dvdkcheight}%
- {\sc@dvdkccoverwidth*2+\sc@dvdkcspinewidth}{#1}
-}
-
-\DeclareRobustCommand{\blurayimg}[1]{
- \resizebox{\sc@brcoverheight}%
- {\sc@brcoverwidth*2+\sc@brspinewidth}{#1}
-}
-
-\DeclareRobustCommand{\sc@cell}[4]{
- \begin{tabular}{|@{}m{#2}@{}|m{\sc@ircwidth}}
- \cline{1-1}%
- \centering %
- \parbox[c]{#2}{\centering #1 \\ #4} & \rule{0pt}{{#3}-\sc@ircorr}\\
- \cline{1-1}
- \end{tabular}
-}
-
-\DeclareRobustCommand{\inlay}[3]{
- \sc@cell{#1}{#2}{#3}{\vspace{\sc@inalign}}
-}
-
-\DeclareRobustCommand{\dvdinlay}[1]{
- \inlay{#1}{\sc@dvdkcinletwidth}{\sc@dvdkcinletheight}
-}
-
-\DeclareRobustCommand{\blurayinlay}[1]{
- \inlay{#1}{\sc@brinletwidth}{\sc@brinletheight}
-}
-
-\DeclareRobustCommand{\djewel}[2]{
- \begin{tabular}{|@{}m{\sc@cdjccoverheight}@{}|m{\sc@ircwidth}}
- \cline{1-1} %
- \centering%
- \begin{turn}{270}%
- \parbox[c]{\sc@cdjccoverwidth-\sc@ircorr}%
- {\centering #2 \\ \vspace{\sc@djewsalign}}%
- \end{turn}& \rule{0pt}{\sc@cdjccoverwidth-\sc@ircorr} \\
- \sc@hfoldline{1-1} %
- \centering%
- \begin{turn}{270}%
- \parbox[c]{\sc@cdjccoverwidth-\sc@ircorr}%
- {\centering #1 \\ \vspace{\sc@jfcalign}}%
- \end{turn} & \rule{0pt}{\sc@cdjccoverwidth-\sc@ircorr} \\
- \cline{1-1}
- \end{tabular}
+ \vspace*{0.5cm}%
+ \backsheet[#1]{#3}%
+}
+
+\DeclareRobustCommand{\frontcover}[1]{%
+ \sc@cell{#1}{\value{sc@cdjccoverwidthdraw}}%
+{\value{sc@cdjccoverheightdraw}}%
+{\vspace{\sc@jewelalign}}%
+}
+
+\DeclareRobustCommand{\LXfrontcover}[1]{%
+ \sc@cell{#1}{\value{sc@cdLXjccoverwidthdraw}}%
+{\value{sc@cdLXjccoverheightdraw}}%
+{\vspace{\sc@jewelalign}}%
+}
+
+\DeclareRobustCommand{\LXXXfrontcover}[1]{%
+ \sc@cell{#1}{\value{sc@cdLXXXjccoverwidthdraw}}%
+{\value{sc@cdLXXXjccoverheightdraw}}%
+{\vspace{\sc@jewelalign}}%
+}
+
+\newcounter{sc@backsheetspinerot}
+\setcounter{sc@backsheetspinerot}{180+\sc@spinerotone}
+
+\DeclareRobustCommand{\backsheet}[2][\ ]{%
+\begin{picture}%
+(\value{sc@cdjcbackwidthdraw}, \value{sc@cdjcbackheightdraw})%
+\sc@choicebox{\value{sc@cdjcspinewidthdraw}}%
+{\value{sc@cdjcbackheightdraw}}%
+{\rotatebox{\sc@spinerotone}%
+{\fontsize{\sc@cdjfontsize}{36}\selectfont #2}}%
+{\sc@truestr}%
+{\sc@truestr}%
+{\sc@truestr}%
+{\sc@falsestr}%
+\sc@choicebox{\value{sc@cdjcbackinwidthdraw}}%
+{\value{sc@cdjcbackheightdraw}}%
+{\parbox[c]{\value{sc@cdjcbackinwidthdraw} \sc@unittype}{%
+\centering #1\ \\ \vspace{\sc@jewelalign}}}%
+{\sc@truestr}%
+{\sc@truestr}%
+{\sc@falsestr}%
+{\sc@falsestr}%
+\sc@choicebox{\value{sc@cdjcspinewidthdraw}}%
+{\value{sc@cdjcbackheightdraw}}%
+{\rotatebox{\value{sc@backsheetspinerot}}{%
+\fontsize{\sc@cdjfontsize}{36}\selectfont #2}}%
+{\sc@truestr}%
+{\sc@truestr}%
+{\sc@falsestr}%
+{\sc@truestr}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\jewelspine}[1]{%
+\begin{picture}%
+(\value{sc@cdjccoverheightdraw}, \value{sc@cdjcspinewidthdraw})%
+\framebox%
+(\value{sc@cdjccoverheightdraw}, \value{sc@cdjcspinewidthdraw})%
+{\fontsize{\sc@cdjfontsize}{36}\selectfont #1}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\sc@sleeve}[6][]{%
+\setcounter{sc@tempc}{#5 + 2}%
+\setcounter{sc@tempd}{#4 + 2}%
+\setcounter{sc@tempe}{\value{sc@tempc} + #3 *2}%
+\setcounter{sc@tempf}{2 * \value{sc@tempd} + #3}%
+\setcounter{sc@tempg}{2 * \value{sc@tempd}}%
+\begin{picture}(\value{sc@tempe}, \value{sc@tempf})%
+\put(0,\value{sc@tempd}){#6}%
+\put(#3,\value{sc@tempf}){\rotatebox{270}{#6}}%
+\put(\value{sc@tempe},\value{sc@tempg}){\rotatebox{180}{#6}}%
+\put(#3,\value{sc@tempd}){%
+\sc@choicebox{\value{sc@tempc}}{\value{sc@tempd}}{%
+\parbox[c]{\value{sc@tempc} \sc@unittype}{%
+\centering #2\ \\ \vspace{\sc@jewelalign}}%
+}{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}%
+}%
+\put(#3,0){%
+\sc@choicebox{\value{sc@tempc}}{\value{sc@tempd}}{%
+\rotatebox{180}{\parbox[c]{\value{sc@tempc} \sc@unittype}{%
+\centering #1\ \\ \vspace{\sc@jewelalign}}}%
+}{\sc@truestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}%
+}%
+\end{picture}%
+}
+
+\newsavebox{\sc@sleevebox}
+\savebox{\sc@sleevebox}{%
+\setcounter{sc@tempa}{\value{sc@cdjccoverheightdraw} + 2}%
+\put(\value{sc@dssleeve},0){\line(-1,1){\value{sc@dssleeve}}}%
+\put(0,\value{sc@dssleeve}){\line(0,1){92}}%
+\put(\value{sc@dssleeve},\value{sc@tempa}){%
+\line(-1,-1){\value{sc@dssleeve}}}%
+}
+
+\newsavebox{\sc@sleeveboxLXmm}
+\savebox{\sc@sleeveboxLXmm}{%
+\setcounter{sc@tempa}{\value{sc@cdLXjccoverheightdraw} + 2}%
+\put(\value{sc@dssleeveLXmm},0)%
+{\line(-1,1){\value{sc@dssleeveLXmm}}}%
+\put(0,\value{sc@dssleeveLXmm}){\line(0,1){46}}%
+\put(\value{sc@dssleeveLXmm},\value{sc@tempa}){%
+\line(-1,-1){\value{sc@dssleeveLXmm}}}%
+}
+
+\newsavebox{\sc@sleeveboxLXXXmm}
+\savebox{\sc@sleeveboxLXXXmm}{%
+\setcounter{sc@tempa}{\value{sc@cdLXXXjccoverheightdraw} + 2}%
+\put(\value{sc@dssleeveLXXXmm},0)%
+{\line(-1,1){\value{sc@dssleeveLXXXmm}}}%
+\put(0,\value{sc@dssleeveLXXXmm}){\line(0,1){62}}%
+\put(\value{sc@dssleeveLXXXmm},\value{sc@tempa}){%
+\line(-1,-1){\value{sc@dssleeveLXXXmm}}}%
+}
+
+\DeclareRobustCommand{\sleeve}[2][]{%
+\sc@sleeve[#1]{#2}{\value{sc@dssleeve}}%
+{\value{sc@cdjccoverheightdraw}}%
+{\value{sc@cdjccoverwidthdraw}}%
+{\usebox{\sc@sleevebox}}%
+}
+
+\DeclareRobustCommand{\sleeveLXXX}[2][]{%
+\sc@sleeve[#1]{#2}{\value{sc@dssleeveLXXXmm}}%
+{\value{sc@cdLXXXjccoverheightdraw}}%
+{\value{sc@cdLXXXjccoverwidthdraw}}%
+{\usebox{\sc@sleeveboxLXXXmm}}%
+}
+
+\DeclareRobustCommand{\sleeveLX}[2][]{%
+\sc@sleeve[#1]{#2}{\value{sc@dssleeveLXmm}}%
+{\value{sc@cdLXjccoverheightdraw}}%
+{\value{sc@cdLXjccoverwidthdraw}}%
+{\usebox{\sc@sleeveboxLXmm}}%
+}
+
+\DeclareRobustCommand{\sleevela}[2][]{%
+\begin{picture}(165,248)%
+\put(13,0){\usebox{\sc@sleevebox}}%
+\put(165,122){\rotatebox{180}{\usebox{\sc@sleevebox}}}%
+\put(28,0){%
+\sc@choicebox{122}{122}{%
+\rotatebox{180}{%
+\parbox[c]{122\sc@unittype}{\centering #1\ \\ \vspace{\sc@jewelalign}}%
+}}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}%
+}%
+\put(28,122){%
+\sc@choicebox{122}{122}{%
+\parbox[c]{122\sc@unittype}{\centering #2\ \\ \vspace{\sc@jewelalign}}%
+}{\sc@falsestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}%
+}%
+\put(0,122){%
+\sc@choicebox{28}{122}{}%
+{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}}%
+\put(14,142.5){\circle{6}}%
+\put(14,222.5){\circle{6}}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\keepcase}[6][]{%
+\setcounter{sc@tempa}{2*#5 + #6 }%
+\begin{picture}(#4, \value{sc@tempa})%
+\rotatebox{90}{%
+\sc@choicebox{#5}{#4}{%
+\parbox[c]{#5 \sc@unittype}{%
+\centering #1\ \\ \vspace{\sc@keepcasealign}}%
+}{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}%
+\sc@choicebox{#6}{#4}{%
+\rotatebox{\sc@spinerottwo}{\parbox[c]{#4 \sc@unittype}{%
+\centering #3}}%
+}{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}%
+\sc@choicebox{#5}{#4}{%
+\parbox[c]{#5 \sc@unittype}{%
+\centering #2\ \\ \vspace{\sc@keepcasealign}}%
+}{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}%
+}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\slimdvd}[3][]{%
+ \keepcase[#1]{#2}{#3}{\value{sc@dvdkccoverheightdraw}}%
+{\value{sc@dvdkccoverwidthdraw}}%
+ {\value{sc@sdvdkcspinewidthdraw}}%
+}
+
+\DeclareRobustCommand{\dvd}[3][]{%
+ \keepcase[#1]{#2}{#3}{\value{sc@dvdkccoverheightdraw}}%
+{\value{sc@dvdkccoverwidthdraw}}%
+ {\value{sc@dvdkcspinewidthdraw}}%
+}
+
+\DeclareRobustCommand{\bluray}[3][]{%
+ \keepcase[#1]{#2}{#3}{\value{sc@brcoverheightdraw}}%
+{\value{sc@dvdkccoverwidthdraw}}%
+ {\value{sc@dvdkcspinewidthdraw}}%
+}
+
+\DeclareRobustCommand{\coverimg}[1]{%
+ \resizebox{\value{sc@cdjccoverwidthdraw} \sc@unittype}{%
+\value{sc@cdjccoverheightdraw} \sc@unittype}{#1}%
+}
+
+\DeclareRobustCommand{\backsheetimg}[1]{%
+ \resizebox{%
+\value{sc@cdjcbackwidthdraw}+\value{sc@cdjcspinewidthdraw}*2%
+\sc@unittype}%
+{\value{sc@cdjcbackheightdraw} \sc@unittype}{#1}%
+}
+
+\DeclareRobustCommand{\slimdvdimg}[1]{%
+\resizebox{\value{sc@dvdkcheightdraw} \sc@unittype}%
+{\value{sc@sdvdkccoverwidthdraw}*2+\value{sc@sdvdkcspinewidthdraw}%
+\sc@unittype}{#1}%
+}
+
+\DeclareRobustCommand{\dvdimg}[1]{%
+\resizebox{\value{sc@dvdkcheightdraw} \sc@unittype}%
+{\value{sc@dvdkccoverwidthdraw}*2+\value{sc@dvdkcspinewidthdraw}%
+\sc@unittype}{#1}%
+}
+
+\DeclareRobustCommand{\blurayimg}[1]{%
+\resizebox{\value{sc@brcoverheightdraw} \sc@unittype}%
+{\value{sc@dvdkccoverwidthdraw}*2+\value{sc@dvdkcspinewidthdraw}%
+\sc@unittype}{#1}%
+}
+
+\DeclareRobustCommand{\sc@cell}[4]{%
+\begin{picture}(#2,#3)%
+\framebox(#2,#3)[c]{%
+\parbox[c]{#2 \sc@unittype}{\centering #1\ \\ #4}%
+}%
+\end{picture}%
+}
+
+\newcommand{\sc@choicebox}[7]{%
+\makebox(#1,#2)[c]{%
+\parbox[c]{#1 \sc@unittype}{\centering #3}%
+}%
+\ifthenelse{\boolean{sc@fold} \OR \equal{#4}{\sc@truestr}}%
+{\put(-#1,0){\line(1,0){#1}}}{}%
+\ifthenelse{\boolean{sc@fold} \OR \equal{#5}{\sc@truestr}}%
+{\put(-#1,#2){\line(1,0){#1}}}{}%
+\ifthenelse{\boolean{sc@fold} \OR \equal{#6}{\sc@truestr}}%
+{\put(-#1,0){\line(0,1){#2}}}{}%
+\ifthenelse{\boolean{sc@fold} \OR \equal{#7}{\sc@truestr}}%
+{\put(0,0){\line(0,1){#2}}}{}%
+}
+
+\DeclareRobustCommand{\inlay}[3]{%
+\sc@cell{#1}{#2}{#3}{\vspace{\sc@inalign}}%
+}
+
+\DeclareRobustCommand{\dvdinlay}[1]{%
+\inlay{#1}{\value{sc@dvdkcinletwidthdraw}}%
+{\value{sc@dvdkcinletheightdraw}}%
+}
+
+\DeclareRobustCommand{\blurayinlay}[1]{%
+\inlay{#1}{\value{sc@brinletwidthdraw}}%
+{\value{sc@brinletheightdraw}}%
+}
+
+\DeclareRobustCommand{\djewel}[2]{%
+\setcounter{sc@tempa}{2 * \value{sc@cdjccoverwidthdraw}}%
+\begin{picture}(\value{sc@cdjccoverheightdraw}, \value{sc@tempa})%
+\rotatebox{90}{%
+\sc@choicebox{\value{sc@cdjccoverwidthdraw}}%
+{\value{sc@cdjccoverheightdraw}}{%
+\parbox[c]{\value{sc@cdjccoverwidthdraw} \sc@unittype}{%
+\centering #2\ \\ \vspace{\sc@jewelalign}}%
+}{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}%
+\sc@choicebox{\value{sc@cdjccoverwidthdraw}}%
+{\value{sc@cdjccoverheightdraw}}{%
+\parbox[c]{\value{sc@cdjccoverwidthdraw} \sc@unittype}{%
+\centering #1\ \\ \vspace{\sc@jewelalign}}%
+}{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}%
+}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\cdrdisk}[1]{%
+\begin{picture}(116, 116)%
+\qbezier(116.0, 58.0)(116.0, 82.0244)(99.0122, 99.0122)%
+\qbezier(99.0122, 99.0122)(82.0244, 116.0)(58.0, 116.0)%
+\qbezier(58.0, 116.0)(33.9756, 116.0)(16.9878, 99.0122)%
+\qbezier(16.9878, 99.0122)(0.0, 82.0244)(0.0, 58.0)%
+\qbezier(0.0, 58.0)(0.0, 33.9756)(16.9878, 16.9878)%
+\qbezier(16.9878, 16.9878)(33.9756, 0.0)(58.0, 0.0)%
+\qbezier(58.0, 0.0)(82.0244, 0.0)(99.0122, 16.9878)%
+\qbezier(99.0122, 16.9878)(116.0, 33.9756)(116.0, 58.0)%
+\qbezier(77.0, 58.0)(77.0, 65.8701)(71.435, 71.435)%
+\qbezier(71.435, 71.435)(65.8701, 77.0)(58.0, 77.0)%
+\qbezier(58.0, 77.0)(50.1299, 77.0)(44.565, 71.435)%
+\qbezier(44.565, 71.435)(39.0, 65.8701)(39.0, 58.0)%
+\qbezier(39.0, 58.0)(39.0, 50.1299)(44.565, 44.565)%
+\qbezier(44.565, 44.565)(50.1299, 39.0)(58.0, 39.0)%
+\qbezier(58.0, 39.0)(65.8701, 39.0)(71.435, 44.565)%
+\qbezier(71.435, 44.565)(77.0, 50.1299)(77.0, 58.0)%
+\put(0,0){%
+\makebox(116,116)[c]{%
+\parbox[c]{116\sc@unittype}{\centering #1}%
+}}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\cddvddisk}[1]{%
+\begin{picture}(117, 117)%
+\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(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}%
+}}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\LXXXdisk}[1]{%
+\begin{picture}(76, 76)%
+\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(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}%
+}}%
+\end{picture}%
+}
+
+\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%
+\end{picture}%
+}
+
+\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}}}%
+{\value{sc@cdjccoverwidthdraw}}%
+{\value{sc@cdjccoverheightdraw}}%
+}
+
+\DeclareRobustCommand{\jeweldriverlempty}[7]{%
+\sc@jewelemptyl{%
+\put(0,80){%
+\framebox(110,30){\parbox[c]{110mm}{\centering\scalebox{4.5}{#1}}}}%
+\put(0,60){\framebox(110,20){\parbox[c]{110mm}{\centering\huge #2}}}%
+\put(0,50){\framebox(55,10){\parbox[c]{55mm}{\centering #3}}}%
+\put(0,40){\framebox(55,10){\parbox[c]{55mm}{\centering #4}}}%
+\put(0,30){\framebox(55,10){\parbox[c]{55mm}{\centering #5}}}%
+\put(55,30){\framebox(55,30)[t]{%
+\parbox[c]{4cm}{%
+\vspace{0.5cm}%
+\setlength{\baselineskip}{1.5\baselineskip} #6%
+}%
+}}%
+\put(0,0){\framebox(110,30)[t]{%
+\parbox[c]{10.5cm}{\vspace{0.5cm} #7}%
+}}}%
+{\value{sc@cdjccoverwidthdraw}}%
+{\value{sc@cdjccoverheightdraw}}%
+}
+
+\DeclareRobustCommand{\jeweldriverl}[7]{%
+\jeweldriverlempty{#1}{#2}{Acquisition date: #3}{Serial: #4}%
+{Disk version/ID: #5}{#6}{#7}%
+}
+
+\DeclareRobustCommand{\jewelmusiclempty}[4]{%
+\sc@jewelemptyl{\framebox(\value{sc@tempa},\value{sc@tempb})[c]{%
+\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}}%
+}
+
+\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%
+\end{picture}%
+}
+
+\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}}}%
+}
+
+\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}}}%
+{\value{sc@cdLXjccoverwidthdraw}}%
+{\value{sc@cdLXjccoverheightdraw}}}%
+}
+
+\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}}}%
+{\value{sc@cdLXXXjccoverwidthdraw}}%
+{\value{sc@cdLXXXjccoverheightdraw}}}%
+}
+
+\DeclareRobustCommand{\LXdriverlempty}[7]{%
+\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}%
+\setcounter{sc@tempc}{\value{sc@cdLXjccoverheightdraw} - 10}%
+\resizebox{\value{sc@tempc}\sc@unittype}{!}{%
+\jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}%
+}
+
+\DeclareRobustCommand{\LXXXdriverlempty}[7]{%
+\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}%
+\setcounter{sc@tempc}{\value{sc@cdLXXXjccoverheightdraw} - 10}%
+\resizebox{\value{sc@tempc}\sc@unittype}{!}{%
+\jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}%
+}
+
+\DeclareRobustCommand{\LXdriverl}[7]{%
+\LXdriverlempty{#1}{#2}{Acquisition date: #3}{Serial: #4}%
+{Disk version/ID: #5}{#6}{#7}%
+}
+
+\DeclareRobustCommand{\LXXXdriverl}[7]{%
+\LXXXdriverlempty{#1}{#2}{Acquisition date: #3}{Serial: #4}%
+{Disk version/ID: #5}{#6}{#7}%
+}
+
+\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})%
+\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,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}}}%
+\put(0,40){\framebox(59,30)[c]{\parbox[c]{50mm}{#6}}}%
+\put(59,40){\framebox(59,80)[c]{\parbox[c]{50mm}{#7}}}%
+\put(0,0){\framebox(118,40)[t]{\parbox[c]{108mm}{\vspace{0.5cm} #8}}}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\dvdmoviel}[8]{%
+\dvdmovielempty{#1}{#2}{Released: #3}{Directed by: #4}%
+{\underline{Spoken languages:} \\ #5}%
+{\underline{Subtitles:} \\ #6}{\underline{Starring:} \\ #7}{#8}%
+}
+
+\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})%
+\put(0,0){%
+\framebox(\value{sc@tempa}, \value{sc@tempb})[c]{%
+\parbox[c]{\value{sc@tempa}\sc@unittype}{\centering #1}}}%
+\end{picture}%
+}
+
+\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})%
+\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,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}}}%
+\put(0,25){\framebox(59,30)[c]{\parbox[c]{50mm}{#6}}}%
+\put(59,25){\framebox(59,80)[c]{\parbox[c]{50mm}{#7}}}%
+\put(0,0){\framebox(118,25)[t]{\parbox[c]{108mm}{\vspace{0.5cm} #8}}}%
+\end{picture}%
+}
+
+\DeclareRobustCommand{\bluraymoviel}[8]{%
+\bluraymovielempty{#1}{#2}{Released: #3}{Directed by: #4}%
+{\underline{Spoken languages:} \\ #5}%
+{\underline{Subtitles:} \\ #6}{\underline{Starring:} \\ #7}{#8}%
+}
+
+\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})%
+\put(0,0){%
+\framebox(\value{sc@tempa}, \value{sc@tempb})[c]{%
+\parbox[c]{\value{sc@tempa}\sc@unittype}{\centering #1}}}%
+\end{picture}%
}
\endinput
%%