home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / tex / inputs.sit / TeX-inputs / openbib.doc < prev    next >
Encoding:
Text File  |  1989-09-19  |  1.3 KB  |  46 lines  |  [TEXT/????]

  1. % OPENBIB DOCUMENT-STYLE OPTION FOR ARTICLE STYLE 
  2. % RELEASED 12 October 1987 -- for LaTeX version 2.09
  3. % Copyright (C) 1987, all rights reserved
  4.  
  5. % Produces the "open" bibliography style, in which each block starts
  6. % on a new line, and succeeding lines in a block are indented by
  7. % \bibindent.
  8. %
  9. % It's rather hard to do line breaks in bibliographies,
  10. % so we allow "sloppy" setting.
  11. %    \sloppy
  12. %
  13. % The following \sfcode declaration causes a `.' (period) not to
  14. % produce an end-of-sentence space.
  15. %    \sfcode`\.=1000\relax
  16.  
  17. \newdimen\bibindent
  18. \bibindent=1.5em
  19.  
  20. \@ifundefined{chapter}{\def\thebibliography#1{\section*{References\@mkboth
  21.   {REFERENCES}{REFERENCES}}\list
  22.   {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
  23.     \leftmargin\labelwidth
  24.     \advance\leftmargin\labelsep
  25.     \advance\leftmargin\bibindent
  26.     \itemindent -\bibindent
  27.     \listparindent \itemindent
  28.     \parsep \z@
  29.     \usecounter{enumi}}
  30.     \def\newblock{\par}
  31.     \sloppy
  32.     \sfcode`\.=1000\relax}}%
  33. {\def\thebibliography#1{\chapter*{Bibliography\@mkboth
  34.   {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\list
  35.   {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
  36.     \leftmargin\labelwidth
  37.     \advance\leftmargin\labelsep
  38.     \advance\leftmargin\bibindent
  39.     \itemindent -\bibindent
  40.     \listparindent \itemindent
  41.     \parsep \z@
  42.     \usecounter{enumi}}
  43.     \def\newblock{\par}
  44.     \sloppy
  45.     \sfcode`\.=1000\relax}}
  46.