summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/breakcites
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/breakcites')
-rw-r--r--Master/texmf-dist/tex/latex/breakcites/breakcites.sty17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/breakcites/breakcites.sty b/Master/texmf-dist/tex/latex/breakcites/breakcites.sty
new file mode 100644
index 00000000000..f1e8b9bd268
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/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}}
+