summaryrefslogtreecommitdiff
path: root/macros/plain/contrib/cascover/manual.tex
blob: f4fe65d11ddec7a8386c54e0c4ec55e5451fea6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
%----------------------------------------------------------------------------%
% Cassette-cover macros for TeX: MANUAL.TEX (manual)                         %
% Files supplied: CASCOVER.TEX, CASCFONT.TEX, NORMAL.CAS, SMALL.CAS,         %
%                 CCMANMAC.TEX, MANUAL.TEX, MANUAL.DVI, MANUAL.DOC,          %
%                 EXAMPLES.TEX, EXAMPLES.DVI                                 %
% Author: Stijn Raaijmakers                                                  %
% Date: 10/2/94                                                              %
% Package is freeware.                                                       %
%----------------------------------------------------------------------------%

\input ccmanmac

                       \section Introduction

This is the manual of a macropackage I wrote for printing the covers for
cassettes.  It's quite flexible and quite easy to learn.  I tried to keep
this manual short, so it won't cost you that much to print it. -- Stijn
Raaijmakers.


                \section General form of a tape-file

\hrule \smallskip %----------------------------------------------------

{\obeylines %
|\input |\<size-file>|.cas|
|\input cascover|
|\language|\<language>*
|\begintape|
|  \begincontents|
|    \beginside |\<Side>|: |\<Title>| - |\<Author>| (|\<Dolby>|)|
|      \\|\<Title>| - |\<Author>|, |\<Time>*
|      |$\vdots$
|    \title |\<Title>| - |\<Author>*
|      \\|\<Title>| - |\<Author>|, |\<Time>*
|      |$\vdots$
|    \endside|
|    \beginside |\<Side>|: |\<Title>| - |\<Author>| (|\<Dolby>|)|
|      |$\vdots$
|    \endside|
|  \endcontents|
|  \beginfront|
|    \fronttitle |\<Title>| - |\<Author>*
|    |$\vdots$
|  \endfront|
|  \beginflap|
|    |$\vdots$
|  \endflap|
|\endtape|
|\begintape|
|  |$\vdots$
|\endtape|
|\bye|}

\smallskip \hrule \smallskip %----------------------------------------
The lines marked * can be omitted.  All \<words> can be omitted, but sometimes
have to be replaced by |{}|, see below.

\subsection Comment and empty frames

The frames are: |\beginside|\dots|\endside|, |\beginfront|\dots|\endfront| and
|\beginflap|\dots|\endflap|.  In each of these frames you can put normal
comment, because each frame is like a miniscule page.  If you put a |\title|
or |\\| after comment, you have to put a |\par| (empty line) between them.  If
you want a frame to be empty, you have to put |\empty| between |\begin| and
|\end|.

\subsection About formatted input macros

In the figure above you see a lot of things like
`|\title |\<Title>| - |\<Author>.'  This means you have to type `|\title|,'
\<space>, some words, `| - |,' another word (one) and a \<space> (which is
usually a {\sc return}).  You could type, for instance:
\begintt
\title Pork soda - Primus
\endtt
If the last part of a line like this contains a space (i.e., if |Primus| were
|Mucky Pup|), you'd have to put it between braces, so it would look like this:
\begintt
\title Pork soda - {Mucky Pup}
\endtt
If the first part (|Pork soda|) happens to contain the exact text it should
be followed by (`| - |' in this example), you have to put it between braces
too (so \TeX\ won't see the first `| - |'):
\begintt
\title {Pork - soda} - {Mucky Pup}
\endtt
If something goes wrong here, you'll get some error message like `missing
argument,' `use of \dots\ doesn't match it's definition' or `runaway
argument.'

If some part is enclosed by \<space>s, you have to replace it by an empty
group (|{}|), because two \<space>s in a row is just the same as one \<space>.
Have a look at page~202 of {\book the \TeX book\/} and the example files to
find out more about this.


                  \section Size and dimensions of a cover

You can't have any influence on the appearance of your covers, except for 
the margins and the size of it. You can create a library of |.cas| files, in 
which you define different sizes for tape covers. They define the heights of 
the contents, front and flap. You can also change the margins, but you need 
pretty small margins to fit everything on the cover. Have a look at
|normal.cas|, which produces \intextbox{\tapepicture{10.1pt}{6.5pt}{1.3pt}%
{1.7pt}} and |small.cas|, which produces \intextbox{\tapepicture{10.1pt}%
{4.5pt}{1pt}{1.5pt}}.


                      \section Changing the font

You can change the current fontsize with the commands |\small|, 
|\normalsize| and |\large|, which work as in \LaTeX. You can change the 
fontstyle with the commands |\rm|, |\it| and |\em|. You can switch to 
condensed form using |\cond|. This only works for the normal-sized roman 
font, as this is the only one which sometimes needs to be condensed. 
Condensed text looks ugly, but will make sure long titles and author-names 
can be used. The macros don't switch to condensed text automaticly, 
because some people might rather abbrieviate long titles and names.

If you want to change the definition of the fonts, you only need to change
the file |cascfont.tex|.  To get the font called |cmrcd7|, just copy the file
|cmr7.mf| to |cmrcd7.mf|, edit |cmrcd7.mf| and change the lines
\begintt
font_identifier:="CMR"; font_size 7pt#;
u#:=15.5/36pt#;      % unit width
\endtt
to
\begintt
font_identifier:="CMRCD"; font_size 7pt#;
u#:=.75 * 15.5/36pt#;      % unit width
\endtt


                  \section Suggestions and extensions

Use an |\empty| front so you can draw a logo.  Use the flap to enter
information like the type of tape used.  I made a macro, so I can type
|\SA90| to get |{\large TDK SA90\qquad}|.


                   \section More about the macro's

All the frames mentioned above create a |\parbox| as in \LaTeX.  You can type
normal text in them, as demonstrated in example~2.  The commands |\begintape|,
|\endcontents|, |\endfront| and |\endflap| create a horizontal line.  This
means you don't have to put them in the order used above.  You could make
a tapecover with a double frame to put the songs on, by simply repeating the
contents part: \intextbox{\testbtape{10.1pt}\testsides{6.5pt}{}{}%
\testsides{6.5pt}{}{}\testfront{1pt}{}\testfront{1.3pt}{}\testetape}.

\bye