source: palm/trunk/DOC/tec/methods/upstream_spline/chimuk.sty @ 862

Last change on this file since 862 was 481, checked in by raasch, 15 years ago

file structure of technical documentation revised; documents concerning numerical methods added

  • Property svn:executable set to *
File size: 11.5 KB
Line 
1% -*- LaTeX -*-
2%%% ====================================================================
3%%%  @LaTeX-style-file{
4%%%     author          = "Glenn Paulley",
5%%%     version         = "4",
6%%%     date            = "31 August 1992",
7%%%     time            = "09:42:44 199",
8%%%     filename        = "chicago.sty",
9%%%     address         = "Data Structuring Group
10%%%                        Department of Computer Science
11%%%                        University of Waterloo
12%%%                        Waterloo, Ontario, Canada
13%%%                        N2L 3G1",
14%%%     telephone       = "(519) 885-1211",
15%%%     FAX             = "(519) 885-1208",
16%%%     checksum        = "44674 264 1050 10394",
17%%%     email           = "gnpaulle@bluebox.uwaterloo.ca",
18%%%     codetable       = "ISO/ASCII",
19%%%     keywords        = "",
20%%%     supported       = "yes",
21%%%     abstract        = "Contains the LaTeX style command definitions
22%%%                        for the Chicago BibTeX styles chicago.bst and
23%%%                        chicagoa.bst. For details, see below.",
24%%%     docstring       = "The checksum field above contains a CRC-16
25%%%                        checksum as the first value, followed by the
26%%%                        equivalent of the standard UNIX wc (word
27%%%                        count) utility output of lines, words, and
28%%%                        characters.  This is produced by Robert
29%%%                        Solovay's checksum utility.",
30%%%  }
31%%% ====================================================================
32%
33% chicago.sty: Style file for use with bibtex style chicago.bst, for
34% bibliographies formatted according to the 13th Edition of the Chicago
35% Manual of Style.
36%
37% 'newapa.bst' was made from 'plain.bst', 'named.bst', and 'apalike.bst',
38% with lots of tweaking to make it look like APA style, along with tips
39% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
40% newapa.sty formed the basis of this style, chicago.sty. Author-date
41% references in newapa.bst formed the basis for chicago.bst. Chicagoa.bst
42% supports annotations.
43%
44% Version 4 (August, 1992):
45% - fixed chicago.bst and chicagoa.bst to handle long author lists in
46%   sorting
47% - fixed chicago.bst and chicagoa.bst so that missing page numbers in
48%   ``article'' entries are handled correctly
49% - modified chicago.sty to format entries with 2nd and subsequent lines
50%   indented.
51%
52%   Citation format: (author-last-name year)
53%             (author-last-name and author-last-name year)
54%             (author-last-name et al. year)
55%             (author-last-name)
56%             author-last-name
57%             author-last-name (year)
58%             (author-last-name and author-last-name)
59%             (author-last-name et al.)
60%             (year) or (year,year)
61%             year or year,year
62%
63%   Reference list ordering: alphabetical by author or whatever passes
64%    for author in the absence of one.
65%
66% This BibTeX style has support for abbreviated author lists and for
67%    year-only citations.  This is done by having the citations
68%    actually look like
69%
70%    \citeauthoryear{full-author-info}{abbrev-author-info}{year}
71%
72% The LaTeX style has to have the following (or similar)
73%
74%     \let\@internalcite\cite
75%     \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
76%     \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
77%     \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
78%     \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
79%     \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
80%
81% -------------------------------------------------------------------------
82% This file implements citations for the ``chicago'' bibliography style.
83%  Place it in a file called chicago.sty in the TeX search path.
84%(Placing it in the same directory as the LaTeX document should also work.)
85%
86%    This file is a modification of the ``newapa'' LaTeX style,
87%    originally adapted by Steven Spencer from the ``apalike'' LaTeX style.
88%    It was originally modified by Stephen N. Spencer, with further
89%    modifications by Young U. Ryu.
90%
91% The ``chicago'' BibTeX bibliography style creates citations with labels:
92%       \citeauthoryear{author-info}{abbrev. author-info}{year}
93%
94% These labels are processed by the following LaTeX commands:
95%
96%  \cite{key}
97%    which produces citations with full author list and year.
98%    eg. (Brown 1978; Jarke, Turner, Stohl, et al. 1985)
99%  \citeNP{key}
100%    which produces citations with full author list and year, but without
101%    enclosing parentheses:
102%    eg. Brown 1978; Jarke, Turner and Stohl 1985
103%  \citeA{key}
104%    which produces citations with only the full author list.
105%    eg. (Brown; Jarke, Turner and Stohl)
106%  \citeANP{key}
107%    which produces citations with only the full author list, without
108%    parentheses eg. Brown; Jarke, Turner and Stohl
109%  \citeN{key}
110%    which produces citations with the full author list and year, but
111%    can be used as nouns in a sentence; no parentheses appear around
112%    the author names, but only around the year.
113%      eg. Shneiderman (1978) states that......
114%    \citeN should only be used for a single citation.
115%  \shortcite{key}
116%    which produces citations with abbreviated author list and year.
117%  \shortciteNP{key}
118%    which produces citations with abbreviated author list and year.
119%  \shortciteA{key}
120%    which produces only the abbreviated author list.
121%  \shortciteANP{key}
122%    which produces only the abbreviated author list.
123%  \shortciteN{key}
124%    which produces the abbreviated author list and year, with only the
125%    year in parentheses. Use with only one citation.
126%  \citeyear{key}
127%    which produces the year information only, within parentheses.
128%  \citeyearNP{key}
129%    which produces the year information only.
130%
131% Abbreviated author lists use the ``et al.'' construct.
132%
133% `NP' means `no parentheses'.
134%
135% This LaTeX style file must be used with the ``chicago'' or ``chicagoa''
136% (annotated chicago style) BibTeX styles.
137%
138\NeedsTeXFormat{LaTeX2e}[1996/06/01]
139\ProvidesClass{chimuk}
140              [1997/09/22 v1.0b LaTeX2e chimuk.sty
141               based on chicag.sty]
142\typeout{Bibstyle chimuk, based on chicago.sty (MSCH)} 
143%
144% --  Neue Dinge ---
145\newif\ifchangebib
146\DeclareOption{chgbib}{\changebibtrue}
147\DeclareOption{normal}{\changebibfalse}
148\ExecuteOptions{normal}
149\ProcessOptions
150%
151% -------------------------------------------------------------------------
152%
153% Citation macros.
154%
155\let\@internalcite\cite
156%
157\def\cite{\def\@citeseppen{-1000}%
158    \def\@cite##1##2{(##1\if@tempswa ##2\fi)}%
159    \def\citeauthoryear##1##2##3{##1{} ##3}\@internalcite}
160%  the same as \cite but with comma between author and year
161\def\commacite{\def\@citeseppen{-1000}%
162    \def\@cite##1##2{(##1\if@tempswa ##2\fi)}%
163    \def\citeauthoryear##1##2##3{##1{}, ##3}\@internalcite}
164\def\citeNP{\def\@citeseppen{-1000}%
165    \def\@cite##1##2{##1\if@tempswa ##2\fi}%
166    \def\citeauthoryear##1##2##3{##1 ##3}\@internalcite}
167\def\citeN{\def\@citeseppen{-1000}%
168    \def\@cite##1##2{##1\if@tempswa ##2)\else{)}\fi}%
169    \def\citeauthoryear##1##2##3{##1 (##3}\@citedata}
170\def\citeA{\def\@citeseppen{-1000}%
171    \def\@cite##1##2{(##1\if@tempswa ##2\fi)}%
172    \def\citeauthoryear##1##2##3{##1}\@internalcite}
173\def\citeANP{\def\@citeseppen{-1000}%
174    \def\@cite##1##2{##1\if@tempswa ##2\fi}%
175    \def\citeauthoryear##1##2##3{##1}\@internalcite}
176%
177\def\shortcite{\def\@citeseppen{-1000}%
178    \def\@cite##1##2{(##1\if@tempswa ##2\fi)}%
179    \def\citeauthoryear##1##2##3{##2{} ##3}\@internalcite}
180%  the same as \shortcite but with comma between author and year
181\def\comshortcite{\def\@citeseppen{-1000}%
182    \def\@cite##1##2{(##1\if@tempswa ##2\fi)}%
183    \def\citeauthoryear##1##2##3{##2{}, ##3}\@internalcite}
184\def\shortciteNP{\def\@citeseppen{-1000}%
185    \def\@cite##1##2{##1\if@tempswa ##2\fi}%
186    \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
187\def\shortciteN{\def\@citeseppen{-1000}%
188    \def\@cite##1##2{##1\if@tempswa ##2)\else{)}\fi}%
189    \def\citeauthoryear##1##2##3{##2 (##3}\@citedata}
190\def\shortciteA{\def\@citeseppen{-1000}%
191    \def\@cite##1##2{(##1\if@tempswa ##2\fi)}%
192    \def\citeauthoryear##1##2##3{##2}\@internalcite}
193\def\shortciteANP{\def\@citeseppen{-1000}%
194    \def\@cite##1##2{##1\if@tempswa ##2\fi}%
195    \def\citeauthoryear##1##2##3{##2}\@internalcite}
196%
197%  Eigene Ergaenzung (MSCH, 26.1.1997)
198%
199\def\shortciteMNP{\def\@citeseppen{-1000}%
200    \def\@cite##1##2{##1\if@tempswa ##2\fi}%
201    \def\citeauthoryear##1##2##3{##2{} ##3}\@internalcite}
202\newcommand{\addcite}[2]{(#2{} \shortciteMNP{#1})}
203\def\comshortciteMNP{\def\@citeseppen{-1000}%
204    \def\@cite##1##2{##1\if@tempswa ##2\fi}%
205    \def\citeauthoryear##1##2##3{##2{}, ##3}\@internalcite}
206\newcommand{\comaddcite}[2]{(#2{} \comshortciteMNP{#1})}
207\newcommand{\comaddciteN}[2]{#2{} \shortciteN{#1}}
208\newcommand{\comaddciteNP}[2]{#2{} \comshortciteMNP{#1}}
209%
210\def\citeyear{\def\@citeseppen{-1000}%
211    \def\@cite##1##2{(##1\if@tempswa ##2\fi)}%
212    \def\citeauthoryear##1##2##3{##3}\@citedata}
213\def\citeyearNP{\def\@citeseppen{-1000}%
214    \def\@cite##1##2{##1\if@tempswa ##2\fi}%
215    \def\citeauthoryear##1##2##3{##3}\@citedata}
216
217%
218% \@citedata and \@citedatax:
219%
220% Place commas in-between citations in the same \citeyear, \citeyearNP,
221% \citeN, or \shortciteN command.
222% Use something like \citeN{ref1,ref2,ref3} and \citeN{ref4} for a list.
223%
224\def\@citedata{%
225        \@ifnextchar [{\@tempswatrue\@citedatax}%
226                                  {\@tempswafalse\@citedatax[]}%
227}
228
229\def\@citedatax[#1]#2{%
230\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
231  \def\@citea{}\@cite{\@for\@citeb:=#2\do%
232    {\@citea\def\@citea{, }\@ifundefined% by Young
233        {b@\@citeb}{{\bf ?}%
234        \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
235{\csname b@\@citeb\endcsname}}}{#1}}%
236
237% don't box citations, separate with ; and a space
238% also, make the penalty between citations negative: a good place to break.
239%
240\def\@citex[#1]#2{%
241\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
242  \def\@citea{}\@cite{\@for\@citeb:=#2\do%
243    {\@citea\def\@citea{; }\@ifundefined% by Young
244        {b@\@citeb}{{\bf ?}%
245        \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
246{\csname b@\@citeb\endcsname}}}{#1}}%
247
248% (from apalike.sty)
249% No labels in the bibliography.
250%
251\def\@biblabel#1{}
252
253% (from apalike.sty)
254% Set length of hanging indentation for bibliography entries.
255%
256\newlength{\bibhang}
257\setlength{\bibhang}{2em}
258
259% Indent second and subsequent lines of bibliographic entries. Stolen
260% from openbib.sty: \newblock is set to {}.
261
262\ifchangebib%
263   \typeout{--> Aenderung der Literaturverzeichnises}
264   \newdimen\bibindent
265   \bibindent=1.5em
266   \@ifundefined{refname}%
267     {\@ifundefined{chapter}%
268     {\newcommand{\refname}{References}}%
269     {\newcommand{\refname}{Bibliography}}%
270     }%
271   {}%
272   \@ifundefined{chapter}%
273     {\def\thebibliography#1{\section*{\bibname\@mkboth
274     {\bibname}{\bibname}}\list
275     {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
276     \leftmargin\labelwidth
277     \advance\leftmargin\labelsep
278     \advance\leftmargin\bibindent
279     \itemindent -\bibindent
280     \listparindent \itemindent
281     \parsep \z@
282     \usecounter{enumi}}
283     \def\newblock{}
284     \sloppy
285     \sfcode`\.=1000\relax}}
286   {\def\thebibliography#1{\chapter*{\bibname\@mkboth
287     {\bibname}{\bibname}}\list
288     {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
289     \leftmargin\labelwidth
290     \advance\leftmargin\labelsep
291     \advance\leftmargin\bibindent
292     \itemindent -\bibindent
293     \listparindent \itemindent
294     \parsep \z@
295     \usecounter{enumi}}
296     \def\newblock{}
297     \sloppy
298     \sfcode`\.=1000\relax}}
299\else
300   \typeout{--> Literaturverzeichnis bleid bies ihs!}
301\fi
Note: See TracBrowser for help on using the repository browser.