home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / tex / ozinp.sit / TeX-inputs / opbiba.sty < prev    next >
Encoding:
Text File  |  1988-10-11  |  1.2 KB  |  35 lines

  1. % OPBIBA DOCUMENT-STYLE OPTION FOR ARTICLE STYLE
  2. %    for LaTeX version 2.08
  3. % Copyright (C) 1985, all rights reserved
  4.  
  5. % The following commands make the bibliography have an "open" format,
  6. % where each new block (major unit of information) of an entry begins
  7. % on a new line, with successive lines of the block indented a bit.
  8. %    \def\newblock{\par}
  9. %
  10. % This is a slightly modified version of LaTeX's \raggedright:
  11. %    \let\\=\@centercr\@rightskip\@flushglue
  12. %           \rightskip\@rightskip\leftskip\z@
  13. %
  14. % It's rather hard to do line breaks in bibliographies,
  15. % so we allow "sloppy" setting.
  16. %    \sloppy
  17. %
  18. % The following \sfcode declaration causes a `.' (period) not to
  19. % produce an end-of-sentence space.
  20. %    \sfcode`\.=1000\relax
  21.  
  22. \def\thebibliography#1{\section*{References\markboth
  23.   {REFERENCES}{REFERENCES}}\list
  24.   {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
  25.     \leftmargin\labelwidth
  26.     \advance\leftmargin\labelsep
  27.     \listparindent -1.5em \advance\leftmargin-\listparindent
  28.     \itemindent\listparindent \parsep 0pt
  29.     \usecounter{enumi}}
  30.     \def\newblock{\par}
  31.     \let\\=\@centercr\@rightskip\@flushglue
  32.        \rightskip\@rightskip\leftskip\z@
  33.     \sloppy
  34.     \sfcode`\.=1000\relax}
  35.