summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/breakcites
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/breakcites
Initial commit
Diffstat (limited to 'macros/latex/contrib/breakcites')
-rw-r--r--macros/latex/contrib/breakcites/README8
-rw-r--r--macros/latex/contrib/breakcites/breakcites.pdfbin0 -> 151457 bytes
-rw-r--r--macros/latex/contrib/breakcites/breakcites.sty17
-rw-r--r--macros/latex/contrib/breakcites/breakcites.tex33
4 files changed, 58 insertions, 0 deletions
diff --git a/macros/latex/contrib/breakcites/README b/macros/latex/contrib/breakcites/README
new file mode 100644
index 0000000000..1a970b26c8
--- /dev/null
+++ b/macros/latex/contrib/breakcites/README
@@ -0,0 +1,8 @@
+This is the breakcites package, to allow citations to be broken across lines.
+
+Copyright 1989 Don Hosek
+Copyright 1997 Leo Broska
+
+You may freely use, modify, and/or distribute this package
+(consisting of breakcites.sty, breakcites.tex, breakcites.pdf),
+without limitation.
diff --git a/macros/latex/contrib/breakcites/breakcites.pdf b/macros/latex/contrib/breakcites/breakcites.pdf
new file mode 100644
index 0000000000..100e830fbb
--- /dev/null
+++ b/macros/latex/contrib/breakcites/breakcites.pdf
Binary files differ
diff --git a/macros/latex/contrib/breakcites/breakcites.sty b/macros/latex/contrib/breakcites/breakcites.sty
new file mode 100644
index 0000000000..f1e8b9bd26
--- /dev/null
+++ b/macros/latex/contrib/breakcites/breakcites.sty
@@ -0,0 +1,17 @@
+% breakcites
+% Style file to allow citations to be broken across lines.
+% - Don Hosek 3/14/89 (LaTeX209-Version)
+% - Leo Broska 02/20/97 (LaTeX-2e-Version)
+%
+\def\@citex[#1]#2{%
+ \let\@citea\@empty
+ \@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\csname b@\@citeb\endcsname}}}{#1}}
+
diff --git a/macros/latex/contrib/breakcites/breakcites.tex b/macros/latex/contrib/breakcites/breakcites.tex
new file mode 100644
index 0000000000..8400e5fa9a
--- /dev/null
+++ b/macros/latex/contrib/breakcites/breakcites.tex
@@ -0,0 +1,33 @@
+\documentclass[fontsize=12pt, DIV=7, parskip=half, pagesize=auto, version=last]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{array}
+\usepackage{microtype}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \textsf{breakcites} package}
+\author{Don Hosek, Leo Broska}
+\date{02/20/1997}
+
+
+\begin{document}
+
+\maketitle
+
+The \textsf{breakcites} package ensures that multiple citations may break at line end.
+It makes a very minor change to the operation of the \verb+\cite+ command.
+Note that the change is not necessary in unmodified \LaTeX; however, some package restore the undesirable behaviour of the command in \LaTeX\ 2.09.
+
+
+\minisec{List of changes:}
+
+\begin{tabular}{@{}lrl@{}}
+ \textbullet~~Don Hosek & 3/14/89 & (\LaTeX209-Version) \\
+ \textbullet~~Leo Broska & 02/20/97 & (\LaTeXe-Version)
+\end{tabular}
+
+\end{document}