Debian Codegraph @

docs/texfiles/fullname.sty

raw
1 %%% fullname.sty
2 %%%
3 %%% Stuart M. Shieber
4 %%% Mon Mar 30 17:23:36 EST 1992
5
6 %%% Modifications to the citation macros intended to be used with the
7 %%% fullname.bst style.
8
9 %%% Some material taken from Peter Patel-Schneider's AAAI style for
10 %%% use in conjunction with AAAI-named bibliography style.
11 %%%
12 %%% Citation forms:
13 %%%
14 %%% Macro Output format
15 %%% ----------- -----------------------------------------
16 %%% \cite: (Dewey, 1988)
17 %%% (Dewey, 1988, page 15)
18 %%% (Dewey, 1988; Cheatham, 1987; Howe, 1903)
19 %%% \shortcite: (1988)
20 %%% (1988, page 15)
21 %%% \namecite: Dewey (1988)
22 %%% Dewey (1988, page 15)
23
24 % don't box citations, add space between multiple citations, separate with ;
25 \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
26 \def\@citea{}\@cite{\@for\@citeb:=#2\do
27 {\@citea\def\@citea{; }\@ifundefined
28 {b@\@citeb}{{\bf ?}\@warning
29 {Citation `\@citeb' on page \thepage \space undefined}}%
30 {\csname b@\@citeb\endcsname}}}{#1}}
31 % Allow short (name-less) citations, when used in
32 % conjunction with a bibliography style that creates labels like
33 % \citename{<names>, }<year>
34 \let\@internalcite\cite
35 \def\cite{\def\citename##1{##1, }(\@internalcite}
36 \def\shortcite{\def\citename##1{}(\@internalcite}
37 \def\namecite{\def\citename##1{##1 (}\@internalcite}
38 \def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
39
40 %%% More changes made by SMS (originals in latex.tex)
41 % Use parentheses instead of square brackets in the text.
42 \def\@cite#1#2{{#1\if@tempswa , #2\fi})}
43
44 % Don't put a label in the bibliography at all. Just use the unlabeled format
45 % instead.
46 \def\thebibliography#1{\section*{References\@mkboth
47 {References}{References}}\list
48 {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
49 \setlength{\itemindent}{-\parindent}}
50 \def\newblock{\hskip .11em plus .33em minus -.07em}
51 \sloppy\clubpenalty4000\widowpenalty4000
52 \sfcode`\.=1000\relax}
53 \let\endthebibliography=\endlist
54
55 \def\@lbibitem[#1]#2{\item[]\if@filesw
56 { \def\protect##1{\string ##1\space}\immediate
57 \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
58
59 \def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
60 {\string\bibcite{#1}{\the\c@enumi}}\fi\ignorespaces}