diff options
author | Karl Berry <karl@freefriends.org> | 2013-01-27 22:51:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-01-27 22:51:49 +0000 |
commit | 29e7a171c6dbf800f257daec2c09e91b4ca2eb72 (patch) | |
tree | e65481c420a79f17d155fa486ca98f0f346116e2 /Master/texmf-dist/tex/latex/simplecd | |
parent | 9e66e8787ed3df6a845b8372cfa5bb04e4166230 (diff) |
simplecd 1.3 (26jan13)
git-svn-id: svn://tug.org/texlive/trunk@28956 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/simplecd')
-rw-r--r-- | Master/texmf-dist/tex/latex/simplecd/simplecd.sty | 246 |
1 files changed, 150 insertions, 96 deletions
diff --git a/Master/texmf-dist/tex/latex/simplecd/simplecd.sty b/Master/texmf-dist/tex/latex/simplecd/simplecd.sty index a5c6e384ae9..eec388e9532 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-2012 by Daniel Majoros +%% Copyright (C) 2010-2013 by Daniel Majoros %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{simplecd} - [2012/12/21 v1.2 simple CD, DVD covers and many more] + [2013/01/26 v1.3 simple CD, DVD covers and many more] \RequirePackage{fix-cm} \RequirePackage{calc} \RequirePackage{ifthen} @@ -37,6 +37,12 @@ \setlength{\sc@inalign}{0cm} \setboolean{sc@align}{false} } + +%% Layouts should set this to true to indicate the containing cover +%% to not use align spaces even if noalign is not used +\newboolean{sc@layout} +\setboolean{sc@layout}{false} + %% The |nofold| option removes the folding lines on the cut-outs. \DeclareOption{nofold}{ \setboolean{sc@fold}{false} @@ -48,6 +54,11 @@ \renewcommand{\sc@spinerottwo}{90} } +%% Disables horizontal centering everywhere +\DeclareOption{nohcenter}{ + \renewcommand{\sc@centering}{} +} + \newcommand{\sc@spinerotone}{90} \newcommand{\sc@spinerottwo}{270} @@ -64,6 +75,8 @@ \newcommand{\sc@falsestr}{f} +\newcommand{\sc@centering}{\centering} + \newcommand{\sc@unittype}{mm} \setlength{\unitlength}{1\sc@unittype} @@ -151,6 +164,11 @@ \newcounter{sc@layouttempc} \newcounter{sc@resizertempa} +\newcommand{\sc@doalign}[1]{% +\ifthenelse{\equal{#1}{} \OR \boolean{sc@layout}}{}{\ \\ \vspace{#1}}% +\setboolean{sc@layout}{false}% +} + \DeclareRobustCommand{\covers}[3][\ ]{% \frontcover{#2} @@ -162,19 +180,19 @@ \DeclareRobustCommand{\frontcover}[1]{% \sc@cell{#1}{\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% -{\vspace{\sc@jewelalign}}% +{\sc@jewelalign}% } \DeclareRobustCommand{\LXfrontcover}[1]{% \sc@cell{#1}{\value{sc@cdLXjccoverwidthdraw}}% {\value{sc@cdLXjccoverheightdraw}}% -{\vspace{\sc@jewelalign}}% +{\sc@jewelalign}% } \DeclareRobustCommand{\LXXXfrontcover}[1]{% \sc@cell{#1}{\value{sc@cdLXXXjccoverwidthdraw}}% {\value{sc@cdLXXXjccoverheightdraw}}% -{\vspace{\sc@jewelalign}}% +{\sc@jewelalign}% } \newcounter{sc@backsheetspinerot} @@ -187,26 +205,17 @@ {\value{sc@cdjcbackheightdraw}}% {\rotatebox{\sc@spinerotone}% {\fontsize{\sc@cdjfontsize}{36}\selectfont #2}}% -{\sc@truestr}% -{\sc@truestr}% -{\sc@truestr}% -{\sc@falsestr}% +{\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@centering #1\sc@doalign{\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}% +{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% \end{picture}% } @@ -219,6 +228,33 @@ \end{picture}% } +\DeclareRobustCommand{\singlesheet}[4]{% +\begin{picture}(155,120)% +\put(0,2){% +\sc@choicebox{15}{116}% +{\rotatebox{90}{\parbox[c]{116\sc@unittype}{\sc@centering #4}}}% +{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}}% +\put(15,2){% +\sc@choicebox{3}{116}% +{\rotatebox{\value{sc@backsheetspinerot}}{\fontsize{9}{36}\selectfont #3}}% +{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}}% +\put(36,0){% +\makebox(120,120)[c]{% +\parbox[c]{120\sc@unittype}{% +\sc@centering #1\sc@doalign{\sc@jewelalign}}}}% +\put(18,2){% +\makebox(18,120)[c]{% +\rotatebox{270}{\parbox[c]{18\sc@unittype}{\sc@centering #2}}}}% +\put(18,2){\line(1,0){18}}% +\put(18,118){\line(1,0){18}}% +\put(36,0){\line(0,1){2}}% +\put(36,118){\line(0,1){2}}% +\put(36,0){\line(1,0){119}}% +\put(36,120){\line(1,0){119}}% +\put(155,0){\line(0,1){120}}% +\end{picture}% +} + \DeclareRobustCommand{\sc@sleeve}[6][]{% \setcounter{sc@tempc}{#5 + 2}% \setcounter{sc@tempd}{#4 + 2}% @@ -232,13 +268,13 @@ \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@centering #2\sc@doalign{\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@centering #1\sc@doalign{\sc@jewelalign}}}% }{\sc@truestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}% }% \end{picture}% @@ -301,12 +337,12 @@ \put(28,0){% \sc@choicebox{122}{122}{% \rotatebox{180}{% -\parbox[c]{122\sc@unittype}{\centering #1\ \\ \vspace{\sc@jewelalign}}% +\parbox[c]{122\sc@unittype}{\sc@centering #1\sc@doalign{\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}}% +\parbox[c]{122\sc@unittype}{\sc@centering #2\sc@doalign{\sc@jewelalign}}% }{\sc@falsestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \put(0,122){% @@ -323,15 +359,15 @@ \rotatebox{90}{% \sc@choicebox{#5}{#4}{% \parbox[c]{#5 \sc@unittype}{% -\centering #1\ \\ \vspace{\sc@keepcasealign}}% +\sc@centering #1\sc@doalign{\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@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@centering #2\sc@doalign{\sc@keepcasealign}}% }{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \end{picture}% @@ -388,14 +424,14 @@ \DeclareRobustCommand{\sc@cell}[4]{% \begin{picture}(#2,#3)% \framebox(#2,#3)[c]{% -\parbox[c]{#2 \sc@unittype}{\centering #1\ \\ #4}% +\parbox[c]{#2 \sc@unittype}{\sc@centering #1\sc@doalign{#4}}% }% \end{picture}% } \newcommand{\sc@choicebox}[7]{% \makebox(#1,#2)[c]{% -\parbox[c]{#1 \sc@unittype}{\centering #3}% +\parbox[c]{#1 \sc@unittype}{\sc@centering #3}% }% \ifthenelse{\boolean{sc@fold} \OR \equal{#4}{\sc@truestr}}% {\put(-#1,0){\line(1,0){#1}}}{}% @@ -408,7 +444,7 @@ } \DeclareRobustCommand{\inlay}[3]{% -\sc@cell{#1}{#2}{#3}{\vspace{\sc@inalign}}% +\sc@cell{#1}{#2}{#3}{\sc@inalign}% } \DeclareRobustCommand{\dvdinlay}[1]{% @@ -428,12 +464,12 @@ \sc@choicebox{\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}{% \parbox[c]{\value{sc@cdjccoverwidthdraw} \sc@unittype}{% -\centering #2\ \\ \vspace{\sc@jewelalign}}% +\sc@centering #2\sc@doalign{\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@centering #1\sc@doalign{\sc@jewelalign}}% }{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \end{picture}% @@ -445,10 +481,10 @@ \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}}}}% +\makebox(70,13)[c]{\rotatebox{180}{\parbox[c]{70mm}{\sc@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,0){\makebox(70,54)[c]{\parbox[c]{70mm}{\sc@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}}% @@ -459,10 +495,12 @@ \DeclareRobustCommand{\zipdisk}[2]{% \begin{picture}(98,120)% -\put(0,20){\makebox(98,100)[c]{\parbox[c]{98\sc@unittype}{\centering #1}}}% +\put(0,20){\makebox(98,100)[c]{\parbox[c]{98\sc@unittype}{\sc@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){% +\makebox(98,13)[c]{% +\rotatebox{180}{\parbox[c]{98\sc@unittype}{\sc@centering #2}}}}% \put(0,0){\framebox(98,120){}}% \end{picture}% } @@ -515,7 +553,7 @@ \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}% +\parbox[c]{120\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -540,7 +578,7 @@ \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}% +\parbox[c]{120\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -565,7 +603,7 @@ \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}% +\parbox[c]{116\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -590,7 +628,7 @@ \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}% +\parbox[c]{117\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -615,7 +653,7 @@ \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}% +\parbox[c]{76\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -648,20 +686,20 @@ \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}}% +\framebox(88,39)[c]{\parbox[c]{88\sc@unittype}{\sc@centering #1}}% \end{picture}% } \DeclareRobustCommand{\cassetteinlay}[3]{% \begin{picture}(102,104)% \put(0,38){% -\sc@choicebox{102}{66}{\parbox[c]{102\sc@unittype}{\centering #1}}% +\sc@choicebox{102}{66}{\parbox[c]{102\sc@unittype}{\sc@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@choicebox{102}{13}{\parbox[c]{102\sc@unittype}{\sc@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@choicebox{102}{25}{\parbox[c]{102\sc@unittype}{\sc@centering #3}}% {\sc@truestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% \end{picture}% } @@ -685,7 +723,7 @@ \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}}}% +\makebox(65,65)[c]{\parbox[c]{65\sc@unittype}{\sc@centering #1}}}% \end{picture}% } @@ -708,12 +746,12 @@ \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}}}% +\makebox(99,99)[c]{\parbox[c]{99\sc@unittype}{\sc@centering #1}}}% \end{picture}% } \DeclareRobustCommand{\sc@jewelemptyl}[3]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{#2 - 10}% \setcounter{sc@layouttempb}{#3 - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% @@ -725,8 +763,8 @@ \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}}}% +\makebox(\value{sc@layouttempa},\value{sc@layouttempb})[c]{% +\parbox[c]{\value{sc@layouttempa} \sc@unittype}{\sc@centering #1}}}% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } @@ -734,11 +772,11 @@ \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}}}% +\framebox(110,30){\parbox[c]{110mm}{\sc@centering\scalebox{4.5}{#1}}}}% +\put(0,60){\framebox(110,20){\parbox[c]{110mm}{\sc@centering\huge #2}}}% +\put(0,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #3}}}% +\put(0,40){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #4}}}% +\put(0,30){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #5}}}% \put(55,30){\framebox(55,30)[t]{% \parbox[c]{4cm}{% \vspace{0.5cm}% @@ -760,21 +798,21 @@ \DeclareRobustCommand{\jewelmusiclempty}[4]{% \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}}}% +\makebox(110,40)[c]{\parbox[c]{110mm}{\sc@centering\scalebox{4}{#1}}}}% +\put(0,60){\makebox(110,10)[c]{\parbox[c]{110mm}{\sc@centering\Large #2}}}% +\put(0,15){\makebox(110,20)[c]{\parbox[c]{110mm}{\sc@centering\Large #4}}}% +\put(0,10){\makebox(110,10)[c]{\parbox[c]{110mm}{\sc@centering\Large #3}}}% }% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } -\DeclareRobustCommand{\sc@jewelbackemptyl}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\DeclareRobustCommand{\sc@jewelbackemptyl}[2]{% +\setboolean{sc@layout}{true}% \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}% +\csname#2\endcsname(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{#1}% \end{picture}% } @@ -782,38 +820,45 @@ \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}}% +\parbox[c]{\value{sc@layouttempa} \sc@unittype}{\sc@centering #1}}{framebox}% +} + +\DeclareRobustCommand{\jewelbackIIlempty}[1]{% +\setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% +\setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% +\sc@jewelbackemptyl{% +\parbox[c]{\value{sc@layouttempa} \sc@unittype}{#1}}{makebox}% } \DeclareRobustCommand{\LXlempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXjccoverwidthdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \sc@jewelemptyl{% -\parbox[c]{\value{sc@resizertempa} \sc@unittype}{\centering #1}}% +\parbox[c]{\value{sc@resizertempa} \sc@unittype}{\sc@centering #1}}% {\value{sc@cdLXjccoverwidthdraw}}% {\value{sc@cdLXjccoverheightdraw}}}% } \DeclareRobustCommand{\LXXXlempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXXXjccoverwidthdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \sc@jewelemptyl{% -\parbox[c]{\value{sc@resizertempa} \sc@unittype}{\centering #1}}% +\parbox[c]{\value{sc@resizertempa} \sc@unittype}{\sc@centering #1}}% {\value{sc@cdLXXXjccoverwidthdraw}}% {\value{sc@cdLXXXjccoverheightdraw}}}% } \DeclareRobustCommand{\LXdriverlempty}[7]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXjccoverheightdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}% } \DeclareRobustCommand{\LXXXdriverlempty}[7]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXXXjccoverheightdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}% @@ -830,35 +875,35 @@ } \DeclareRobustCommand{\jewelstripeslempty}[3]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \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}}}% +{\parbox[c]{\value{sc@cdjccoverwidthdraw}\sc@unittype}{\sc@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}}}}}}% +\put(5,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\sc@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}}}}}}% +\put(0,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\sc@centering #3}}}}}}% \end{picture}% } \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}}}%% +\framebox(110,40){\parbox[c]{110mm}{\sc@centering\scalebox{3}{#1}}}}% +\put(0,60){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #2}}}% +\put(55,60){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #3}}}% +\put(0,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #4}}}% +\put(55,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #5}}}% +\put(0,40){\framebox(110,10){\parbox[c]{110mm}{\sc@centering #6}}}%% \put(0,0){\framebox(110,40)[t]{% \parbox[c]{105mm}{\vspace{5mm} #7}% }}}% @@ -874,16 +919,16 @@ \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}}}% +\framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #1}}}% +\put(0,36.66){\framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #2}}}% +\put(0,0){\framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #3}}}% }% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } \DeclareRobustCommand{\jewellineslempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \begin{picture}% (\value{sc@cdjccoverwidthdraw},\value{sc@cdjccoverheightdraw})% \put(5,110){\line(1,0){110}}% @@ -897,22 +942,31 @@ \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}}}% +\put(5,10){% +\makebox(110,110){% +\parbox[c]{110mm}{\sc@centering \setlength\baselineskip{1cm} #1}}}% +\end{picture}% +} + +\DeclareRobustCommand{\jeweltitledlempty}[2]{% +\setboolean{sc@layout}{true}% +\begin{picture}(\value{sc@cdjccoverwidthdraw}, \value{sc@cdjccoverheightdraw}) +\put(5,100){% +\makebox(110,20){\parbox[c]{110mm}{\sc@centering\huge #1}}}% +\put(5,0){\makebox(110,100){\parbox[c]{110mm}{#2}}}% \end{picture}% } \DeclareRobustCommand{\dvdmovielempty}[8]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% +\setboolean{sc@layout}{true}% \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}}}}% +\framebox(118,33)[c]{\parbox[c]{110mm}{\sc@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}}}% +\framebox(118,20)[c]{\parbox[c]{110mm}{\sc@centering\huge #2}}}% +\put(0,110){\framebox(59,10)[c]{\parbox[c]{50mm}{\sc@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}}}% @@ -928,26 +982,26 @@ } \DeclareRobustCommand{\dvdlempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% +\setboolean{sc@layout}{true}% \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@layouttempa}, \value{sc@layouttempb})[c]{% -\parbox[c]{\value{sc@layouttempa}\sc@unittype}{\centering #1}}}% +\parbox[c]{\value{sc@layouttempa}\sc@unittype}{\sc@centering #1}}}% \end{picture}% } \DeclareRobustCommand{\bluraymovielempty}[8]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% +\setboolean{sc@layout}{true}% \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}}}}% +\framebox(118,20)[c]{\parbox[c]{110mm}{\sc@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}}}% +\framebox(118,15)[c]{\parbox[c]{110mm}{\sc@centering\huge #2}}}% +\put(0,95){\framebox(59,10)[c]{\parbox[c]{50mm}{\sc@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}}}% @@ -963,13 +1017,13 @@ } \DeclareRobustCommand{\bluraylempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% +\setboolean{sc@layout}{true}% \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@layouttempa}, \value{sc@layouttempb})[c]{% -\parbox[c]{\value{sc@layouttempa}\sc@unittype}{\centering #1}}}% +\parbox[c]{\value{sc@layouttempa}\sc@unittype}{\sc@centering #1}}}% \end{picture}% } \endinput |