summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cell
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-07-23 16:35:38 +0000
committerKarl Berry <karl@freefriends.org>2009-07-23 16:35:38 +0000
commit39fde484e96c53dff4060d4cb533e1c29a3c7332 (patch)
tree1eb2e5a0b505c9a2f8f50132e1c7b113707d7da0 /Master/texmf-dist/tex/latex/cell
parentfffc2af7d99c16a5c0d09b13d0c2fc7e0832a9a1 (diff)
cell 1.28/2.03 (22jul09)
git-svn-id: svn://tug.org/texlive/trunk@14400 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cell')
-rw-r--r--Master/texmf-dist/tex/latex/cell/cell.sty99
1 files changed, 99 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/cell/cell.sty b/Master/texmf-dist/tex/latex/cell/cell.sty
new file mode 100644
index 00000000000..b43a060f85c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/cell/cell.sty
@@ -0,0 +1,99 @@
+% version = 2.03 of cell.sty 2009 Jul 21
+% 2009 Jul 21, 2.03: upgrade documentation
+% 2009 Jul 15, 2.02: no bib indent
+% 2009 Jul 14, 2.01: simplify
+% 2009 Jul 13, 2.00: modernize to match current version of Cell
+% 1998 Mar 3, 1.00: original version of cell.sty
+
+% Dr. Thomas D. Schneider
+% National Institutes of Health
+% schneidt@mail.nih.gov
+% toms@alum.mit.edu (permanent)
+% http://alum.mit.edu/www/toms
+
+% This is a simple style file for the journal Cell.
+% http://www.cell.com/
+
+% change commas to semicolons between references in text:
+% \RequirePackageWithOptions[nosort,nocompress]{cite} % crashes
+\RequirePackage{cite}
+
+% \renewcommand\citepunct{;~}
+\renewcommand\citepunct{;\ } % to allow line breaks in the best place.
+
+% Use parens instead of brackets for \cite
+\renewcommand\citeleft{(}
+\renewcommand\citeright{)}
+
+% no label in the bibliography
+% \def\@biblabel#1{} % that would indent
+\def\@biblabel#1{\hspace{-\labelsep}} % avoid bib indent
+
+% Thanks for suggestions from Donald Arseneau:
+% http://tug.org/pipermail/texhax/2009-July/012892.html
+
+% ******************************************************************************
+
+% old history:
+% cell.sty is the same as jmb.sty,
+% which is identical to apalike.sty 1989 June 19
+%
+% apalike.sty style, used in conjunction with apalike.bst,
+% will produce an apa-like bibliography style:
+%
+% 1) Bibliography entries formatted alphabetically, last name
+% first, each entry having a hanging indentation and no label.
+% 2) References in the following formats:
+% (Author, 1986)
+% (Author and Author, 1986)
+% (Author et al., 1986).
+% 3) Multiple references in the form (Author1, 1986; Author2, 1987)
+%
+% To be used as an optional argument to the \documentstyle command; for example
+% \documentstyle[11pt,apalike]{book}
+%
+% 16-Sep-86, original version by Susan King and Oren Patashnik.
+% 13-Oct-87 changes:
+% Fixed bug in last line by adding the {} that disappeard when
+% the \hbox{} was removed from the pre-APALIKE definition;
+% added club and widow penalties;
+% patched the \newblock LaTeX bug from `-.07em' to simply `.07em';
+% and made this work for document styles that don't define `chapter'.
+
+% 2009 Jul 13
+% OLD CODE:
+
+% 2009 jul 13: bibliography does not hang in cell anymore!
+% Set length of hanging indentation for bibliography entries
+%
+%\newlength{\bibhang}
+%\setlength{\bibhang}{2em}
+%
+% \thebibliography environment depends on whether or not `chapter's can exist
+%
+%\@ifundefined{chapter}{\def\thebibliography#1{\section*{References\@mkboth
+% \@ifundefined{chapter}{\def\thebibliography#1{\section*{{\bf References}\@mkboth
+% {REFERENCES}{REFERENCES}}\list
+% {\relax}{\setlength{\labelsep}{0em}
+% \setlength{\itemindent}{-\bibhang}
+% \setlength{\leftmargin}{\bibhang}}
+% \def\newblock{\hskip .11em plus .33em minus .07em}
+% \sloppy\clubpenalty4000\widowpenalty4000
+% \sfcode`\.=1000\relax}}%
+% {\def\thebibliography#1{\chapter*{Bibliography\@mkboth
+% {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\list
+% {\relax}{\setlength{\labelsep}{0em}
+% \setlength{\itemindent}{-\bibhang}
+% \setlength{\leftmargin}{\bibhang}}
+% \def\newblock{\hskip .11em plus .33em minus .07em}
+% \sloppy\clubpenalty4000\widowpenalty4000
+% \sfcode`\.=1000\relax}}
+
+% `; ' goes between cites, and there's no \hbox around individual cites
+%
+% \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+% \def\@citea{}\@cite{\@for\@citeb:=#2\do
+% {\@citea\def\@citea{; }\@ifundefined
+% {b@\@citeb}{{\bf ?}\@warning
+% {Citation `\@citeb' on page \thepage \space undefined}}%
+% {\csname b@\@citeb\endcsname}}}{#1}}