summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-01-18 23:24:33 +0000
committerKarl Berry <karl@freefriends.org>2013-01-18 23:24:33 +0000
commit43fd03e6bf8a4c21b35c96f6a6a9c3112b7d7ebf (patch)
tree23c187e856d3c2860aceb75f2629596fa3052c26 /Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
parent9c6786b279d4901191cac178be6749bc39532fe1 (diff)
abntex2 1.3 (18jan13)
git-svn-id: svn://tug.org/texlive/trunk@28864 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty')
-rw-r--r--Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty23
1 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty b/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
index 2e11a2c0c1c..ecbdf3d5c31 100644
--- a/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
+++ b/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
@@ -1,4 +1,4 @@
-%% abntex2cite.sty, v 1.1 2013/01/05 laurocesar
+%% abntex2cite.sty, v-1.3 laurocesar
%% Copyright 2012-2013 by abnTeX2 group at http://code.google.com/p/abntex2/
%%
%% This work may be distributed and/or modified under the
@@ -21,6 +21,10 @@
%%
%% Revision history:
%%
+%% 2013/01/14 22h46 laurocesar
+%% Add \SingleSpacing before and \OnehalfSpacing after \bibliography command or
+%% \singlespacing and \onehalfspacing from setspace.sty if memoir is not loaded
+%%
%% 2012/12/13 22h31 laurocesar
%% Fork of the version v 1.26 2003/10/13 09:40:41 gweber created by gweber
%% Changed file name to from abntcite.sty to abntex2cite.sty
@@ -164,6 +168,7 @@
\RequirePackage{ifthen}
\RequirePackage{calc}
\RequirePackage{abntex2abrev}
+\RequirePackage{setspace} %*****
%%%%%% Options Declaration %%%%%%
@@ -402,7 +407,13 @@
% If NO
% no changes to \bibliography
-\def\bibliography#1{%
+\def\bibliography#1{% ****
+ \ifx \SingleSpacing\undefined
+ \singlespacing
+ \else
+ \SingleSpacing
+ \fi
+ %
\ifthenelse{\boolean{ABCIciteoptionwasused}
\and\boolean{ABCIauto-abntoptions}}
{
@@ -416,7 +427,13 @@
\immediate\write\@auxout{\string\bibdata{#1}}%
\fi
}
- \@input@{\jobname.bbl}}
+ \@input@{\jobname.bbl}
+ \ifx \OnehalfSpacing\undefined
+ \onehalfspacing
+ \else
+ \OnehalfSpacing
+ \fi
+ }
%